Package xal.extension.solver
Interface AlgorithmPoolListener
- All Known Implementing Classes:
Solver
public interface AlgorithmPoolListener
AlgorithmPool keeps track of the available algorithms.
- Author:
- ky6
-
Method Summary
Modifier and TypeMethodDescriptionvoidalgorithmAdded(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm. was added to the pool.voidalgorithmAvailable(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm is available.voidalgorithmRemoved(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm was removed from the pool.voidalgorithmUnavailable(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm is unavailable.
-
Method Details
-
algorithmAdded
Send a message that an algorithm. was added to the pool.- Parameters:
source- The source of the added algorithm.algorithm- The added algorithm.
-
algorithmRemoved
Send a message that an algorithm was removed from the pool.- Parameters:
source- The source of the removed algorithm.algorithm- The removed algorithm.
-
algorithmAvailable
Send a message that an algorithm is available.- Parameters:
source- The source of the available algorithm.algorithm- The algorithm made available.
-