Package isula.aco

Class PerformanceTracker<C,E extends Environment>

java.lang.Object
isula.aco.PerformanceTracker<C,E>

public class PerformanceTracker<C,E extends Environment> extends Object
  • Constructor Details

    • PerformanceTracker

      public PerformanceTracker()
  • Method Details

    • updateIterationPerformance

      public void updateIterationPerformance(AntColony<C,E> antColony, int iteration, long iterationTimeInSeconds, E environment)
      Updates the information of the best solution produced with the solutions produced by the Colony.
      Parameters:
      iterationTimeInSeconds - Time spent during the iteration.
      environment - Environment where the solutions where produced.
    • getBestSolution

      public List<C> getBestSolution()
    • getBestSolutionCost

      public double getBestSolutionCost()
    • getBestSolutionAsString

      public String getBestSolutionAsString()
    • getGeneratedSolutions

      public long getGeneratedSolutions()
    • setGeneratedSolutions

      public void setGeneratedSolutions(Long generatedSolutions)