![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
#include <integer.h>
Public Member Functions | |
| GenericLiteralWatcher (Model *model) | |
| GenericLiteralWatcher (const GenericLiteralWatcher &)=delete | |
| GenericLiteralWatcher & | operator= (const GenericLiteralWatcher &)=delete |
| ~GenericLiteralWatcher () final=default | |
| void | ReserveSpaceForNumVariables (int num_vars) |
| bool | Propagate (Trail *trail) final |
| void | Untrail (const Trail &trail, int literal_trail_index) final |
| int | Register (PropagatorInterface *propagator) |
| void | SetPropagatorPriority (int id, int priority) |
| void | NotifyThatPropagatorMayNotReachFixedPointInOnePass (int id) |
| void | AlwaysCallAtLevelZero (int id) |
| void | WatchLiteral (Literal l, int id, int watch_index=-1) |
| void | WatchLowerBound (IntegerVariable var, int id, int watch_index=-1) |
| void | WatchUpperBound (IntegerVariable var, int id, int watch_index=-1) |
| void | WatchIntegerVariable (IntegerVariable i, int id, int watch_index=-1) |
| void | WatchLowerBound (AffineExpression e, int id) |
| void | WatchUpperBound (AffineExpression e, int id) |
| void | WatchAffineExpression (AffineExpression e, int id) |
| void | WatchLowerBound (IntegerValue, int) |
| void | WatchUpperBound (IntegerValue, int) |
| void | WatchIntegerVariable (IntegerValue, int) |
| void | RegisterReversibleClass (int id, ReversibleInterface *rev) |
| void | RegisterReversibleInt (int id, int *rev) |
| void | SetUntilNextBacktrack (bool *is_in_dive) |
| int | NumPropagators () const |
| void | RegisterLevelZeroModifiedVariablesCallback (const std::function< void(const std::vector< IntegerVariable > &)> cb) |
| void | SetStopPropagationCallback (std::function< bool()> callback) |
| int | GetCurrentId () const |
| void | CallOnNextPropagate (int id) |
| void | CallAgainDuringThisPropagation () |
| Public Member Functions inherited from operations_research::sat::SatPropagator | |
| SatPropagator (const std::string &name) | |
| SatPropagator (const SatPropagator &)=delete | |
| SatPropagator & | operator= (const SatPropagator &)=delete |
| virtual | ~SatPropagator ()=default |
| void | SetPropagatorId (int id) |
| int | PropagatorId () const |
| virtual void | Reimply (Trail *, int) |
| virtual absl::Span< const Literal > | Reason (const Trail &, int, int64_t) const |
| bool | PropagatePreconditionsAreSatisfied (const Trail &trail) const |
| bool | PropagationIsDone (const Trail &trail) const |
| const std::string & | name () const |
| virtual bool | IsEmpty () const |
Additional Inherited Members | |
| Protected Attributes inherited from operations_research::sat::SatPropagator | |
| const std::string | name_ |
| int | propagator_id_ |
| int | propagation_trail_index_ |
|
explicit |
Definition at line 2428 of file integer.cc.
|
delete |
|
finaldefault |
| void operations_research::sat::GenericLiteralWatcher::AlwaysCallAtLevelZero | ( | int | id | ) |
Definition at line 2712 of file integer.cc.
|
inline |
| void operations_research::sat::GenericLiteralWatcher::CallOnNextPropagate | ( | int | id | ) |
Definition at line 2449 of file integer.cc.
|
inline |
| void operations_research::sat::GenericLiteralWatcher::NotifyThatPropagatorMayNotReachFixedPointInOnePass | ( | int | id | ) |
Definition at line 2707 of file integer.cc.
|
inline |
|
delete |
|
finalvirtual |
Implements operations_research::sat::SatPropagator.
Definition at line 2492 of file integer.cc.
| int operations_research::sat::GenericLiteralWatcher::Register | ( | PropagatorInterface * | propagator | ) |
Definition at line 2674 of file integer.cc.
|
inline |
| void operations_research::sat::GenericLiteralWatcher::RegisterReversibleClass | ( | int | id, |
| ReversibleInterface * | rev ) |
Definition at line 2716 of file integer.cc.
| void operations_research::sat::GenericLiteralWatcher::RegisterReversibleInt | ( | int | id, |
| int * | rev ) |
Definition at line 2722 of file integer.cc.
| void operations_research::sat::GenericLiteralWatcher::ReserveSpaceForNumVariables | ( | int | num_vars | ) |
Definition at line 2445 of file integer.cc.
| void operations_research::sat::GenericLiteralWatcher::SetPropagatorPriority | ( | int | id, |
| int | priority ) |
Definition at line 2700 of file integer.cc.
|
inline |
|
inline |
|
finalvirtual |
Reimplemented from operations_research::sat::SatPropagator.
Definition at line 2639 of file integer.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |