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 VisualScalarOptimizerpublic boolean hasNotConverged()
public DblParamSet getBestEstimate()
getBestEstimate in class VisualScalarOptimizerpublic DblMatrix getBestValue()
getBestValue in class VisualScalarOptimizerpublic void visualDiagnostics()
VisualScalarOptimizervisualDiagnostics in class VisualScalarOptimizerpublic void visuallyConfigure()
VisualScalarOptimizervisuallyConfigure in class VisualScalarOptimizerpublic DblMatrix getTemperature()
getTemperature in interface SimulatedAnnealingpublic void setTemperature(DblMatrix temp)
setTemperature in interface SimulatedAnnealingpublic DblMatrix evaluateTemperature()
evaluateTemperature in interface SimulatedAnnealingCopyright © 2011, 2013. Daniel P. Dougherty