C++ Reference
C++ Reference: Routing
Detailed Description
Definition at line 1926 of file constraint_solveri.h.
Public Member Functions | |
| BooleanVar (Solver *const s, const std::string &name="") | |
| ~BooleanVar () override | |
| int64 | Min () const override |
| void | SetMin (int64 m) override |
| int64 | Max () const override |
| void | SetMax (int64 m) override |
| void | SetRange (int64 mi, int64 ma) override |
| bool | Bound () const override |
| int64 | Value () const override |
| void | RemoveValue (int64 v) override |
| void | RemoveInterval (int64 l, int64 u) override |
| void | WhenBound (Demon *d) override |
| void | WhenRange (Demon *d) override |
| void | WhenDomain (Demon *d) override |
| uint64 | Size () const override |
| bool | Contains (int64 v) const override |
| IntVarIterator * | MakeHoleIterator (bool reversible) const override |
| IntVarIterator * | MakeDomainIterator (bool reversible) const override |
| std::string | DebugString () const override |
| int | VarType () const override |
| IntVar * | IsEqual (int64 constant) override |
| IntVar * | IsDifferent (int64 constant) override |
| IntVar * | IsGreaterOrEqual (int64 constant) override |
| IntVar * | IsLessOrEqual (int64 constant) override |
| virtual void | RestoreValue ()=0 |
| std::string | BaseName () const override |
| int | RawValue () const |
Static Public Attributes | |
| static const int | kUnboundBooleanVarValue |
Protected Attributes | |
| int | value_ |
| SimpleRevFIFO< Demon * > | bound_demons_ |
| SimpleRevFIFO< Demon * > | delayed_bound_demons_ |
Constructor & Destructor Documentation
◆ BooleanVar()
|
inlineexplicit |
Definition at line 1930 of file constraint_solveri.h.
◆ ~BooleanVar()
|
inlineoverride |
Definition at line 1933 of file constraint_solveri.h.
Member Function Documentation
◆ BaseName()
|
inlineoverride |
Definition at line 1963 of file constraint_solveri.h.
◆ Bound()
|
inlineoverride |
Definition at line 1940 of file constraint_solveri.h.
◆ Contains()
|
override |
◆ DebugString()
|
override |
◆ IsDifferent()
|
override |
◆ IsEqual()
|
override |
◆ IsGreaterOrEqual()
|
override |
◆ IsLessOrEqual()
|
override |
◆ MakeDomainIterator()
|
override |
◆ MakeHoleIterator()
|
override |
◆ Max()
|
inlineoverride |
Definition at line 1937 of file constraint_solveri.h.
◆ Min()
|
inlineoverride |
Definition at line 1935 of file constraint_solveri.h.
◆ RawValue()
|
inline |
Definition at line 1965 of file constraint_solveri.h.
◆ RemoveInterval()
|
override |
◆ RemoveValue()
|
override |
◆ RestoreValue()
|
pure virtual |
◆ SetMax()
|
override |
◆ SetMin()
|
override |
◆ SetRange()
|
override |
◆ Size()
|
override |
◆ Value()
|
inlineoverride |
Definition at line 1941 of file constraint_solveri.h.
◆ VarType()
|
inlineoverride |
Definition at line 1955 of file constraint_solveri.h.
◆ WhenBound()
|
override |
◆ WhenDomain()
|
inlineoverride |
Definition at line 1949 of file constraint_solveri.h.
◆ WhenRange()
|
inlineoverride |
Definition at line 1948 of file constraint_solveri.h.
Member Data Documentation
◆ bound_demons_
|
protected |
Definition at line 1969 of file constraint_solveri.h.
◆ delayed_bound_demons_
|
protected |
Definition at line 1970 of file constraint_solveri.h.
◆ kUnboundBooleanVarValue
|
static |
Definition at line 1928 of file constraint_solveri.h.
◆ value_
|
protected |
Definition at line 1968 of file constraint_solveri.h.
The documentation for this class was generated from the following file: