Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
-------— Trace -------— More...
Public Member Functions | |
Trace (Solver *const s) | |
~Trace () override | |
void | BeginConstraintInitialPropagation (Constraint *const constraint) override |
Propagation events. | |
void | EndConstraintInitialPropagation (Constraint *const constraint) override |
void | BeginNestedConstraintInitialPropagation (Constraint *const parent, Constraint *const nested) override |
void | EndNestedConstraintInitialPropagation (Constraint *const parent, Constraint *const nested) override |
void | RegisterDemon (Demon *const demon) override |
void | BeginDemonRun (Demon *const demon) override |
void | EndDemonRun (Demon *const demon) override |
void | StartProcessingIntegerVariable (IntVar *const var) override |
void | EndProcessingIntegerVariable (IntVar *const var) override |
void | PushContext (const std::string &context) override |
void | PopContext () override |
void | SetMin (IntExpr *const expr, int64_t new_min) override |
IntExpr modifiers. | |
void | SetMax (IntExpr *const expr, int64_t new_max) override |
void | SetRange (IntExpr *const expr, int64_t new_min, int64_t new_max) override |
void | SetMin (IntVar *const var, int64_t new_min) override |
IntVar modifiers. | |
void | SetMax (IntVar *const var, int64_t new_max) override |
void | SetRange (IntVar *const var, int64_t new_min, int64_t new_max) override |
void | RemoveValue (IntVar *const var, int64_t value) override |
void | SetValue (IntVar *const var, int64_t value) override |
void | RemoveInterval (IntVar *const var, int64_t imin, int64_t imax) override |
void | SetValues (IntVar *const var, const std::vector< int64_t > &values) override |
void | RemoveValues (IntVar *const var, const std::vector< int64_t > &values) override |
void | SetStartMin (IntervalVar *const var, int64_t new_min) override |
IntervalVar modifiers. | |
void | SetStartMax (IntervalVar *const var, int64_t new_max) override |
void | SetStartRange (IntervalVar *const var, int64_t new_min, int64_t new_max) override |
void | SetEndMin (IntervalVar *const var, int64_t new_min) override |
void | SetEndMax (IntervalVar *const var, int64_t new_max) override |
void | SetEndRange (IntervalVar *const var, int64_t new_min, int64_t new_max) override |
void | SetDurationMin (IntervalVar *const var, int64_t new_min) override |
void | SetDurationMax (IntervalVar *const var, int64_t new_max) override |
void | SetDurationRange (IntervalVar *const var, int64_t new_min, int64_t new_max) override |
void | SetPerformed (IntervalVar *const var, bool value) override |
void | RankFirst (SequenceVar *const var, int index) override |
SequenceVar modifiers. | |
void | RankNotFirst (SequenceVar *const var, int index) override |
void | RankLast (SequenceVar *const var, int index) override |
void | RankNotLast (SequenceVar *const var, int index) override |
void | RankSequence (SequenceVar *const var, const std::vector< int > &rank_first, const std::vector< int > &rank_last, const std::vector< int > &unperformed) override |
void | Add (PropagationMonitor *const monitor) |
Does not take ownership of monitor. | |
void | Install () override |
std::string | DebugString () const override |
Public Member Functions inherited from operations_research::PropagationMonitor | |
PropagationMonitor (Solver *solver) | |
-------— Propagation Monitor --------— | |
~PropagationMonitor () override | |
Public Member Functions inherited from operations_research::SearchMonitor | |
SearchMonitor (Solver *const s) | |
SearchMonitor (const SearchMonitor &)=delete | |
This type is neither copyable nor movable. | |
SearchMonitor & | operator= (const SearchMonitor &)=delete |
~SearchMonitor () override | |
virtual void | EnterSearch () |
Beginning of the search. | |
virtual void | RestartSearch () |
Restart the search. | |
virtual void | ExitSearch () |
End of the search. | |
virtual void | BeginNextDecision (DecisionBuilder *b) |
Before calling DecisionBuilder::Next. | |
virtual void | EndNextDecision (DecisionBuilder *b, Decision *d) |
After calling DecisionBuilder::Next, along with the returned decision. | |
virtual void | ApplyDecision (Decision *d) |
Before applying the decision. | |
virtual void | RefuteDecision (Decision *d) |
Before refuting the decision. | |
virtual void | AfterDecision (Decision *d, bool apply) |
virtual void | BeginFail () |
Just when the failure occurs. | |
virtual void | EndFail () |
After completing the backtrack. | |
virtual void | BeginInitialPropagation () |
Before the initial propagation. | |
virtual void | EndInitialPropagation () |
After the initial propagation. | |
virtual bool | AcceptSolution () |
virtual bool | AtSolution () |
virtual void | NoMoreSolutions () |
When the search tree is finished. | |
virtual bool | LocalOptimum () |
virtual bool | AcceptDelta (Assignment *delta, Assignment *deltadelta) |
virtual void | AcceptNeighbor () |
After accepting a neighbor during local search. | |
virtual void | AcceptUncheckedNeighbor () |
After accepting an unchecked neighbor during local search. | |
virtual bool | IsUncheckedSolutionLimitReached () |
virtual void | PeriodicCheck () |
Periodic call to check limits in long running methods. | |
virtual int | ProgressPercent () |
virtual void | Accept (ModelVisitor *visitor) const |
Accepts the given model visitor. | |
Solver * | solver () const |
Public Member Functions inherited from operations_research::BaseObject | |
BaseObject () | |
BaseObject (const BaseObject &)=delete | |
This type is neither copyable nor movable. | |
BaseObject & | operator= (const BaseObject &)=delete |
virtual | ~BaseObject () |
Additional Inherited Members | |
Static Public Attributes inherited from operations_research::SearchMonitor | |
static constexpr int | kNoProgress = -1 |
Protected Member Functions inherited from operations_research::SearchMonitor | |
void | ListenToEvent (Solver::MonitorEvent event) |
-------— Trace -------—
Definition at line 2945 of file constraint_solver.cc.
|
inlineexplicit |
Definition at line 2947 of file constraint_solver.cc.
|
inlineoverride |
Definition at line 2949 of file constraint_solver.cc.
|
inline |
Does not take ownership of monitor.
Definition at line 3135 of file constraint_solver.cc.
|
inlineoverridevirtual |
Propagation events.
Implements operations_research::PropagationMonitor.
Definition at line 2951 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2980 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2962 of file constraint_solver.cc.
|
inlineoverridevirtual |
Reimplemented from operations_research::PropagationMonitor.
Definition at line 3145 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2957 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2984 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2969 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2992 of file constraint_solver.cc.
|
inlineoverridevirtual |
The trace will dispatch propagation events. It needs to listen to search events.
Reimplemented from operations_research::PropagationMonitor.
Definition at line 3143 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3000 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2996 of file constraint_solver.cc.
|
inlineoverridevirtual |
SequenceVar modifiers.
Implements operations_research::PropagationMonitor.
Definition at line 3111 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3119 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3115 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3123 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3127 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2976 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3051 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3043 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3060 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3097 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3093 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3101 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3084 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3080 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3088 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3011 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3031 of file constraint_solver.cc.
|
inlineoverridevirtual |
IntExpr modifiers.
Implements operations_research::PropagationMonitor.
Definition at line 3005 of file constraint_solver.cc.
|
inlineoverridevirtual |
IntVar modifiers.
Implements operations_research::PropagationMonitor.
Definition at line 3025 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3107 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3017 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3037 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3070 of file constraint_solver.cc.
|
inlineoverridevirtual |
IntervalVar modifiers.
Implements operations_research::PropagationMonitor.
Definition at line 3066 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3074 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3047 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 3055 of file constraint_solver.cc.
|
inlineoverridevirtual |
Implements operations_research::PropagationMonitor.
Definition at line 2988 of file constraint_solver.cc.