Interface AlgorithmManager
-
- All Known Implementing Classes:
AlgorithmManagerImpl
public interface AlgorithmManagerThis is the interface of a class that keeps track of all available Algorithm factories. It creates algorithms for solvers if necessary or returns already created instances..
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAlgorithmFactory(AlgorithmFactory factory)registers an algorithm-factory, that can be used to create an algorithm for a solver.AlgorithmgetAlgorithm(Solver solver)must return an instance of an algorithm that uses the given solver.
-
-
-
Method Detail
-
addAlgorithmFactory
void addAlgorithmFactory(AlgorithmFactory factory)
registers an algorithm-factory, that can be used to create an algorithm for a solver.- Parameters:
factory-
-
-