Package state

Class Idle

java.lang.Object
state.Idle
All Implemented Interfaces:
State

public class Idle extends Object implements State
Idle State (Waiting for start to Genetic Algorithm) implements State
  • Constructor Details

    • Idle

      public Idle(GeneticAlgorithm geneticAlgorithm)
      constructor
      Parameters:
      geneticAlgorithm - the instance of GeneticAlgorithm for calling set and get state methods
  • Method Details

    • nextStep

      public void nextStep()
      idle state to Complete state, run genetic algorithm
      Specified by:
      nextStep in interface State