|Constructor and Description|
Constructs a GSA acceptance probability function.
|Modifier and Type||Method and Description|
Computes the probability that the next state transition will be accepted.
public GSAAcceptanceProbabilityFunction(double qa)
qa- the acceptance parameter
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.