![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
This class adds reversibility to a POD type. It contains the stamp optimization. i.e. the SaveValue call is done only once per node of the search tree. Please note that actual stamps always starts at 1, thus an initial value of 0 will always trigger the first SaveValue.
Definition at line 4079 of file pywrapcp.py.
Public Member Functions | |
| __init__ (self, val) | |
| Value (self) | |
| SetValue (self, s, val) | |
Properties | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
| ortools.constraint_solver.pywrapcp.RevBool.__init__ | ( | self, | |
| val ) |
Definition at line 4091 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.RevBool.SetValue | ( | self, | |
| s, | |||
| val ) |
Definition at line 4097 of file pywrapcp.py.
| ortools.constraint_solver.pywrapcp.RevBool.Value | ( | self | ) |
Definition at line 4094 of file pywrapcp.py.
|
static |
Definition at line 4088 of file pywrapcp.py.