Interface AlgorithmPoolListener

All Known Implementing Classes:
Solver

public interface AlgorithmPoolListener
AlgorithmPool keeps track of the available algorithms.
Author:
ky6
  • Method Details

    • algorithmAdded

      void algorithmAdded(AlgorithmPool source, SearchAlgorithm algorithm)
      Send a message that an algorithm. was added to the pool.
      Parameters:
      source - The source of the added algorithm.
      algorithm - The added algorithm.
    • algorithmRemoved

      void algorithmRemoved(AlgorithmPool source, SearchAlgorithm algorithm)
      Send a message that an algorithm was removed from the pool.
      Parameters:
      source - The source of the removed algorithm.
      algorithm - The removed algorithm.
    • algorithmAvailable

      void algorithmAvailable(AlgorithmPool source, SearchAlgorithm algorithm)
      Send a message that an algorithm is available.
      Parameters:
      source - The source of the available algorithm.
      algorithm - The algorithm made available.
    • algorithmUnavailable

      void algorithmUnavailable(AlgorithmPool source, SearchAlgorithm algorithm)
      Send a message that an algorithm is unavailable.
      Parameters:
      source - The source of the unavailable algorithm.
      algorithm - which is unavailable.