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)
ISolutionFoundHandler
SolutionStore.ISolutionSaver
. Later, this solution can be omitted from the final
set of solutions.solutionFound
in interface ISolutionFoundHandler
public void solutionTriedToSave(ThreadContext context, SolutionTrajectory trajectory)
ISolutionFoundHandler
solutionTriedToSave
in interface ISolutionFoundHandler