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 TypeMethodDescriptionvoid
algorithmAdded
(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm. was added to the pool.void
algorithmAvailable
(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm is available.void
algorithmRemoved
(AlgorithmPool source, SearchAlgorithm algorithm) Send a message that an algorithm was removed from the pool.void
algorithmUnavailable
(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.
-