public class BoxGSAAcceptanceProbabilityFunction extends Object implements TemperedAcceptanceProbabilityFunction
|Constructor and Description|
Constructs a boxed acceptance probability function.
|Modifier and Type||Method and Description|
Computes the probability that the next state transition will be accepted.
public double acceptanceProbability(Vector currentState, double currentEnergy, Vector proposedState, double proposedEnergy, double temperature)
currentState- the current state of the system
currentEnergy- the energy in the current state
proposedState- the proposed next state of the system
proposedEnergy- the energy in the proposed state
temperature- the current temperature
Copyright © 2010-2017 Numerical Method Incorporation Limited. All Rights Reserved.