Interface SolverModelEnrichmentDirectorService
public interface SolverModelEnrichmentDirectorService
-
Method Summary
Modifier and TypeMethodDescription<T extends SolverModel<?>>
booleanaccepts(T solverModel) Returns true if there is any solver model enrichment director accepting the given solver model.<T extends SolverModel<?>>
Tenrich(T solverModel) Applies availableSolverModelEnricherimplementations to aSolverModelinstance.
-
Method Details
-
accepts
Returns true if there is any solver model enrichment director accepting the given solver model.Some models may choose not to provide a specific enrichment director.
- Type Parameters:
T- the specific class of the solver model- Parameters:
solverModel- the solver model, never null- Returns:
- true, if there is a solver model director capable of enriching the given solver model, false otherwise
-
enrich
Applies availableSolverModelEnricherimplementations to aSolverModelinstance.- Parameters:
solverModel- Input solver model.- Returns:
- Enriched solver model.
-