public class DiffEvol extends VisualScalarOptimizer implements SimulatedAnnealing
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ConvergenceMsg |
protected int |
FunEvals |
protected int |
Iter |
protected int |
N |
protected DiffEvolConfiguration |
Options |
protected OrdSetSampler |
Population |
protected java.util.LinkedList |
Queue |
InitialGuess, Model, NumParams
Constructor and Description |
---|
DiffEvol(OptimizableScalar Model,
DblParamSet InitGuess)
Construct a new Differential Evolution Genetic Algorithm solver using
a model and an intial parameter guess.
|
Modifier and Type | Method and Description |
---|---|
DblMatrix |
evaluateTemperature() |
DblParamSet |
getBestEstimate()
Get the estimated parameter value at the estimated parameter value.
|
DblMatrix |
getBestValue()
Get the scalar value at the estimated parameter value.
|
DblParamSet[] |
getInitPop()
Output an array of DblParamSet having an initial guess in each element of the array.
|
DblMatrix |
getTemperature() |
boolean |
hasNotConverged()
Test convergence of method.
|
void |
setTemperature(DblMatrix temp) |
void |
solve()
Estimate the parameters.
|
void |
updatePopulation(OrdSetSampler Population)
Importantly updateFitness does not change the SortKey values of the OrdSetSampler.
|
void |
visualDiagnostics()
Typically this shows visually some convergence diagnostics.
|
void |
visuallyConfigure()
Typically this allows setting of optimization settings and preferences related to performance.
|
protected DiffEvolConfiguration Options
protected OrdSetSampler Population
protected java.util.LinkedList Queue
protected int Iter
protected int FunEvals
protected java.lang.String ConvergenceMsg
protected int N
public DiffEvol(OptimizableScalar Model, DblParamSet InitGuess)
public DblParamSet[] getInitPop()
public void updatePopulation(OrdSetSampler Population)
public void solve()
solve
in class VisualScalarOptimizer
public boolean hasNotConverged()
public DblParamSet getBestEstimate()
getBestEstimate
in class VisualScalarOptimizer
public DblMatrix getBestValue()
getBestValue
in class VisualScalarOptimizer
public void visualDiagnostics()
VisualScalarOptimizer
visualDiagnostics
in class VisualScalarOptimizer
public void visuallyConfigure()
VisualScalarOptimizer
visuallyConfigure
in class VisualScalarOptimizer
public DblMatrix getTemperature()
getTemperature
in interface SimulatedAnnealing
public void setTemperature(DblMatrix temp)
setTemperature
in interface SimulatedAnnealing
public DblMatrix evaluateTemperature()
evaluateTemperature
in interface SimulatedAnnealing
Copyright © 2011, 2013. Daniel P. Dougherty