C++ Reference: class SearchMonitor
Note: This documentation is automatically generated.
A search monitor is a simple set of callbacks to monitor all search eventsMethod | |
---|---|
Accept | Return type: Arguments: Accepts the given model visitor. |
AcceptDelta | Return type: Arguments: |
AcceptNeighbor | Return type: After accepting a neighbor during local search. |
AcceptSolution | Return type: This method is called when a solution is found. It asserts whether the solution is valid. A value of false indicates that the solution should be discarded. |
AcceptUncheckedNeighbor | Return type: After accepting an unchecked neighbor during local search. |
AfterDecision | Return type: Arguments: Just after refuting or applying the decision, apply is true after Apply. This is called only if the Apply() or Refute() methods have not failed. |
ApplyDecision | Return type: Arguments: Before applying the decision. |
AtSolution | Return type: This method is called when a valid solution is found. If the return value is true, then search will resume after. If the result is false, then search will stop there. |
BeginFail | Return type: Just when the failure occurs. |
BeginInitialPropagation | Return type: Before the initial propagation. |
BeginNextDecision | Return type: Arguments: Before calling DecisionBuilder::Next. |
EndFail | Return type: After completing the backtrack. |
EndInitialPropagation | Return type: After the initial propagation. |
EndNextDecision | Return type: Arguments: After calling DecisionBuilder::Next, along with the returned decision. |
EnterSearch | Return type: Beginning of the search. |
ExitSearch | Return type: End of the search. |
Install | Return type: Registers itself on the solver such that it gets notified of the search and propagation events. |
IsUncheckedSolutionLimitReached | Return type: Returns true if the limit of solutions has been reached including unchecked solutions. |
LocalOptimum | Return type: When a local optimum is reached. If 'true' is returned, the last solution is discarded and the search proceeds with the next one. |
NoMoreSolutions | Return type: When the search tree is finished. |
PeriodicCheck | Return type: Periodic call to check limits in long running methods. |
ProgressPercent | Return type: Returns a percentage representing the propress of the search before reaching limits. |
RefuteDecision | Return type: Arguments: Before refuting the decision. |
RestartSearch | Return type: Restart the search. |
SearchMonitor | Return type: Arguments: |
~SearchMonitor | |
solver | Return type: |