Package ec.eda.dovs

Class HyperboxSpecies

All Implemented Interfaces:
Prototype, Setup, Serializable, Cloneable

public class HyperboxSpecies extends DOVSSpecies
HyperboxSpecies is a DOVSSpecies which contains method for updating promising sample area and also sample from that area.
See Also:
  • Field Details

    • boxA

      public ArrayList<double[]> boxA
      boxA and boxB contain the current constraint hyperbox.
    • boxB

      public ArrayList<Double> boxB
      boxA and boxB contain the current constraint hyperbox.
    • UPPER_BOUND

      public static double UPPER_BOUND
    • EPSILON_STABILITY

      public static double EPSILON_STABILITY
    • LARGE_NUMBER

      public static double LARGE_NUMBER
  • Constructor Details

    • HyperboxSpecies

      public HyperboxSpecies()
  • Method Details

    • setup

      public void setup(EvolutionState state, Parameter base)
      Description copied from class: Species
      The default version of setup(...) loads requested pipelines and calls setup(...) on them and normalizes their probabilities. If your individual prototype might need to know special things about the species (like parameters stored in it), then when you override this setup method, you'll need to set those parameters BEFORE you call super.setup(...), because the setup(...) code in Species sets up the prototype.
      Specified by:
      setup in interface Prototype
      Specified by:
      setup in interface Setup
      Overrides:
      setup in class DOVSSpecies
      See Also:
    • updateMostPromisingArea

      public void updateMostPromisingArea(EvolutionState state)
      Constructing a hyperbox, which defines the next search area.
      Overrides:
      updateMostPromisingArea in class DOVSSpecies
    • mostPromisingAreaSamples

      public ArrayList<Individual> mostPromisingAreaSamples(EvolutionState state, int popSize)
      Sample from the hyperbox to get new samples for evaluation.
      Overrides:
      mostPromisingAreaSamples in class DOVSSpecies