public interface ISolutionFoundHandler
ISolutionStore
if a solution is found and its implementation
supports registering ISolutionFoundHandler
s.
Depending on the implementation of the ISolutionStore
implementation of this interface should be thread safe.Modifier and Type | Method and Description |
---|---|
void |
solutionFound(SolutionTrajectory trajectory,
Solution solution,
ThreadContext context) |
void solutionFound(SolutionTrajectory trajectory, Solution solution, ThreadContext context)
trajectory
- The specific trajectory that has just been found.solution
- The solution wrapping solution trajectories which lead to the same model state.context
- The ThreadContext
which contains necessary information.