LeapfrogState
public LeapfrogState(java.util.Map<VariableReference,DoubleTensor> position,
java.util.Map<VariableReference,DoubleTensor> momentum,
java.util.Map<? extends VariableReference,DoubleTensor> gradient,
double logProb,
Potential potential)
- Parameters:
position - the position of the variables
momentum - the velocity of the variables
gradient - the gradient of the variables
logProb - the log probability at the position
potential - the potential to use for calculating velocity and kinetic energy