![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 3230 of file constraint_solveri.h.
#include <constraint_solveri.h>
Public Member Functions | |
| PropagationMonitor (Solver *solver) | |
| -------— Propagation Monitor --------— | |
| ~PropagationMonitor () override | |
| std::string | DebugString () const override |
| virtual void | BeginConstraintInitialPropagation (Constraint *constraint)=0 |
| Propagation events. | |
| virtual void | EndConstraintInitialPropagation (Constraint *constraint)=0 |
| virtual void | BeginNestedConstraintInitialPropagation (Constraint *parent, Constraint *nested)=0 |
| virtual void | EndNestedConstraintInitialPropagation (Constraint *parent, Constraint *nested)=0 |
| virtual void | RegisterDemon (Demon *demon)=0 |
| virtual void | BeginDemonRun (Demon *demon)=0 |
| virtual void | EndDemonRun (Demon *demon)=0 |
| virtual void | StartProcessingIntegerVariable (IntVar *var)=0 |
| virtual void | EndProcessingIntegerVariable (IntVar *var)=0 |
| virtual void | PushContext (const std::string &context)=0 |
| virtual void | PopContext ()=0 |
| virtual void | SetMin (IntExpr *expr, int64_t new_min)=0 |
| IntExpr modifiers. | |
| virtual void | SetMax (IntExpr *expr, int64_t new_max)=0 |
| virtual void | SetRange (IntExpr *expr, int64_t new_min, int64_t new_max)=0 |
| virtual void | SetMin (IntVar *var, int64_t new_min)=0 |
| IntVar modifiers. | |
| virtual void | SetMax (IntVar *var, int64_t new_max)=0 |
| virtual void | SetRange (IntVar *var, int64_t new_min, int64_t new_max)=0 |
| virtual void | RemoveValue (IntVar *var, int64_t value)=0 |
| virtual void | SetValue (IntVar *var, int64_t value)=0 |
| virtual void | RemoveInterval (IntVar *var, int64_t imin, int64_t imax)=0 |
| virtual void | SetValues (IntVar *var, const std::vector< int64_t > &values)=0 |
| virtual void | RemoveValues (IntVar *var, const std::vector< int64_t > &values)=0 |
| virtual void | SetStartMin (IntervalVar *var, int64_t new_min)=0 |
| IntervalVar modifiers. | |
| virtual void | SetStartMax (IntervalVar *var, int64_t new_max)=0 |
| virtual void | SetStartRange (IntervalVar *var, int64_t new_min, int64_t new_max)=0 |
| virtual void | SetEndMin (IntervalVar *var, int64_t new_min)=0 |
| virtual void | SetEndMax (IntervalVar *var, int64_t new_max)=0 |
| virtual void | SetEndRange (IntervalVar *var, int64_t new_min, int64_t new_max)=0 |
| virtual void | SetDurationMin (IntervalVar *var, int64_t new_min)=0 |
| virtual void | SetDurationMax (IntervalVar *var, int64_t new_max)=0 |
| virtual void | SetDurationRange (IntervalVar *var, int64_t new_min, int64_t new_max)=0 |
| virtual void | SetPerformed (IntervalVar *var, bool value)=0 |
| virtual void | RankFirst (SequenceVar *var, int index)=0 |
| SequenceVar modifiers. | |
| virtual void | RankNotFirst (SequenceVar *var, int index)=0 |
| virtual void | RankLast (SequenceVar *var, int index)=0 |
| virtual void | RankNotLast (SequenceVar *var, int index)=0 |
| virtual void | RankSequence (SequenceVar *var, const std::vector< int > &rank_first, const std::vector< int > &rank_last, const std::vector< int > &unperformed)=0 |
| void | Install () override |
| Install itself on the solver. | |
| 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 ()=default |
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) |
|
explicit |
-------— Propagation Monitor --------—
Definition at line 2920 of file constraint_solver.cc.
|
override |
Definition at line 2923 of file constraint_solver.cc.
|
pure virtual |
Propagation events.
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
inlineoverridevirtual |
Reimplemented from operations_research::BaseObject.
Reimplemented in operations_research::Trace.
Definition at line 3234 of file constraint_solveri.h.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
overridevirtual |
Install itself on the solver.
A propagation monitor listens to search events as well as propagation events.
Reimplemented from operations_research::SearchMonitor.
Reimplemented in operations_research::Trace.
Definition at line 2926 of file constraint_solver.cc.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
SequenceVar modifiers.
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
IntExpr modifiers.
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
IntVar modifiers.
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
IntervalVar modifiers.
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.
|
pure virtual |
Implemented in operations_research::DemonProfiler, and operations_research::Trace.