Class JoinedCostConvergerWithFinalAutoFilterStep

java.lang.Object
com.dna.jopt.util.costconverger.AbstractCostConverger
com.dna.jopt.util.costconverger.JoinedCostConvergerWithFinalAutoFilterStep
All Implemented Interfaces:
ICostConverger

public class JoinedCostConvergerWithFinalAutoFilterStep extends AbstractCostConverger
This class is an extension of AbstractCostConverger and defines convergence (unchanged joined cost over several iterations). After convergence has been achieved the optimization is stopped.
Since:
03/08/2019
Version:
03/08/2019
Author:
DNA
  • Constructor Details

    • JoinedCostConvergerWithFinalAutoFilterStep

      public JoinedCostConvergerWithFinalAutoFilterStep(IOptimization opti)
      The constructor in order to set convergence by joined cost. After convergence is achieved the optimization is stopped.

      Implementation example:

      
       ICostConverger myJoinedCostConverger = new JoinedCostConverger(this);
          myJoinedCostConverger.addExecutionAlgorithm(GeneticEvolutionAlgo.MY_TITLE);
          myJoinedCostConverger.setConvergenceThreshold(5);
       
      Parameters:
      opti - the iOptimization to check for convergence
  • Method Details