Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
__init__ (self, val) | |
Add (self, s, to_add) | |
Incr (self, s) | |
Decr (self, s) | |
Public Member Functions inherited from ortools.constraint_solver.pywrapcp.RevInteger | |
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") | |
Properties inherited from ortools.constraint_solver.pywrapcp.RevInteger | |
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
Subclass of Rev<T> which adds numerical operations.
Definition at line 3800 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.NumericalRevInteger.__init__ | ( | self, | |
val ) |
Reimplemented from ortools.constraint_solver.pywrapcp.RevInteger.
Definition at line 3806 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.NumericalRevInteger.Add | ( | self, | |
s, | |||
to_add ) |
Definition at line 3809 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.NumericalRevInteger.Decr | ( | self, | |
s ) |
Definition at line 3815 of file pywrapcp.py.
ortools.constraint_solver.pywrapcp.NumericalRevInteger.Incr | ( | self, | |
s ) |
Definition at line 3812 of file pywrapcp.py.
|
static |
Definition at line 3803 of file pywrapcp.py.