Open opeltre opened 2 years ago
It might be better to represent E as subset or Dirac measures in Prod_i Ei or Prod_a E_a
Conditioning on energy can then be implemented as sparse matrices
See https://pytorch.org/docs/stable/distributions.html#categorical to implement local samplers
Add support for Gibbs sampling:
Given an initial condition x0, sweep on vertices
i <- I
ora <- K
to update local states xi or xa. This is done by local samplers of conditional likelihoodsp(xi | x~i)
orp(xa | x~a)
#23For large N, the temporal distribution of x converges exponentially quickly to the Gibbs distribution of x.
The initial state could be sampled accross local minima of energy, whenever values conflict at intersections.