public class BoxGSAAcceptanceProbabilityFunction extends Object implements TemperedAcceptanceProbabilityFunction
| Constructor and Description |
|---|
BoxGSAAcceptanceProbabilityFunction(Vector lower,
Vector upper,
double qa)
Constructs a boxed acceptance probability function.
|
| Modifier and Type | Method and Description |
|---|---|
double |
acceptanceProbability(Vector currentState,
double currentEnergy,
Vector proposedState,
double proposedEnergy,
double temperature)
Computes the probability that the next state transition will be accepted.
|
public double acceptanceProbability(Vector currentState, double currentEnergy, Vector proposedState, double proposedEnergy, double temperature)
TemperedAcceptanceProbabilityFunctionacceptanceProbability in interface TemperedAcceptanceProbabilityFunctioncurrentState - the current state of the systemcurrentEnergy - the energy in the current stateproposedState - the proposed next state of the systemproposedEnergy - the energy in the proposed statetemperature - the current temperatureCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.