public class LogSolutionHandler extends java.lang.Object implements ISolutionFoundHandler
| Constructor and Description |
|---|
LogSolutionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
solutionFound(ThreadContext context,
SolutionTrajectory trajectory)
Called when a solution is saved by the
SolutionStore.ISolutionSaver. |
void |
solutionTriedToSave(ThreadContext context,
SolutionTrajectory trajectory)
Called when the exploration found a solution but it was not saved because of certain conditions.
|
public void solutionFound(ThreadContext context, SolutionTrajectory trajectory)
ISolutionFoundHandlerSolutionStore.ISolutionSaver. Later, this solution can be omitted from the final
set of solutions.solutionFound in interface ISolutionFoundHandlerpublic void solutionTriedToSave(ThreadContext context, SolutionTrajectory trajectory)
ISolutionFoundHandlersolutionTriedToSave in interface ISolutionFoundHandler