public final class BoxGSAAnnealingFunction extends Object implements AnnealingFunction
Constructor and Description |
---|
BoxGSAAnnealingFunction(Vector lower,
Vector upper,
double qv,
RandomLongGenerator uniform)
Constructs a boxed annealing function.
|
Modifier and Type | Method and Description |
---|---|
Vector |
nextProposal(Vector currentState,
double temperature)
Gets the next proposal, given the current state and the temperature.
|
public BoxGSAAnnealingFunction(Vector lower, Vector upper, double qv, RandomLongGenerator uniform)
lower
- lower boundsupper
- upper boundsqv
- a visiting parameteruniform
- a random long generatorpublic Vector nextProposal(Vector currentState, double temperature)
AnnealingFunction
nextProposal
in interface AnnealingFunction
currentState
- the current state of the systemtemperature
- the current temperature of the systemCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.