public class GSAAnnealingFunction extends Object implements AnnealingFunction
| Constructor and Description |
|---|
GSAAnnealingFunction(double qv,
RandomLongGenerator rlg,
RandomStandardNormalGenerator rnorm)
Constructs a GSA annealing function.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
GSAMarkovLength(int dim)
The Markov length for GSA, i.e.
|
Vector |
nextProposal(Vector currentState,
double temperature)
Gets the next proposal, given the current state and the temperature.
|
public GSAAnnealingFunction(double qv,
RandomLongGenerator rlg,
RandomStandardNormalGenerator rnorm)
qv - the visiting parameterrlg - a uniform random number generatorrnorm - a standard random Normal number generatorpublic static int GSAMarkovLength(int dim)
dim - the problem dimensionpublic Vector nextProposal(Vector currentState, double temperature)
AnnealingFunctionnextProposal in interface AnnealingFunctioncurrentState - the current state of the systemtemperature - the current temperature of the systemCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.