Package isula.aco

Class DaemonAction<C,E extends Environment>

java.lang.Object
isula.aco.DaemonAction<C,E>
Type Parameters:
C - Class for components of a solution.
E - Class representing the Environment.
Direct Known Subclasses:
OfflinePheromoneUpdate, PerformEvaporation, PheromoneDepositForAcs, StartPheromoneMatrix, UpdatePheromoneMatrixForMaxMin

public abstract class DaemonAction<C,E extends Environment> extends Object
Global actions that have impact in all the colony and its environment. As such, instances have access to the Ant Colony instance and also at the Environment.

The moment in the process where this actions take place is defined by the Daemon Action type.

Author:
Carlos G. Gavidia
  • Constructor Details

  • Method Details

    • getAcoPhase

      public DaemonActionType getAcoPhase()
    • getEnvironment

      public E getEnvironment()
    • setEnvironment

      public void setEnvironment(E environment)
    • getAntColony

      public AntColony<C,E> getAntColony()
    • setAntColony

      public void setAntColony(AntColony<C,E> antColony)
    • getProblemSolver

      public AcoProblemSolver<C,E> getProblemSolver()
    • setProblemSolver

      public void setProblemSolver(AcoProblemSolver<C,E> problemSolver)
    • applyDaemonAction

      public abstract void applyDaemonAction(ConfigurationProvider configurationProvider)