public class JoinedCostConverger extends AbstractCostConverger
AbstractCostConvergerand defines convergence (unchanged joined cost over several iterations). After convergence has been achieved the optimization is stopped.
|Constructor and Description|
The constructor in order to set convergence by joined cost.
|Modifier and Type||Method and Description|
addExecutionAlgorithm, onConverged, onDone, setConvergenceThreshold, setOnConvergedTimeOut
public JoinedCostConverger(IOptimization opti)
ICostConverger myJoinedCostConverger = new JoinedCostConverger(this); myJoinedCostConverger.addExecutionAlgorithm(GeneticEvolutionAlgo.MY_TITLE); myJoinedCostConverger.setConvergenceThreshold(5);
opti- the iOptimization to check for convergence
public double getConvergenceCost(IOptimizationProgress curP)
Copyright © 2017–2022 DNA Evolutions GmbH. All rights reserved.