public class FastAnnealingFunction extends SimpleAnnealingFunction
Constructor and Description |
---|
FastAnnealingFunction(int dim,
RandomStandardNormalGenerator rnorm)
Constructs a new instance where the RVG is created from a given RLG.
|
FastAnnealingFunction(RandomVectorGenerator rvg)
Constructs a new instance that uses a given RVG.
|
Modifier and Type | Method and Description |
---|---|
double |
getStepLength(double temperature) |
nextProposal
public FastAnnealingFunction(int dim, RandomStandardNormalGenerator rnorm)
dim
- the number of dimensions of the annealing functionrnorm
- the standard Normal RNG to be usedpublic FastAnnealingFunction(RandomVectorGenerator rvg)
rvg
- an rvg that gives the random directionspublic double getStepLength(double temperature)
getStepLength
in class SimpleAnnealingFunction
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.