Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
ortools.constraint_solver.pywrapcp.NumericalRevInteger Class Reference
Inheritance diagram for ortools.constraint_solver.pywrapcp.NumericalRevInteger:
ortools.constraint_solver.pywrapcp.RevInteger

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")
 

Detailed Description

 Subclass of Rev<T> which adds numerical operations.

Definition at line 3800 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.NumericalRevInteger.__init__ ( self,
val )

Reimplemented from ortools.constraint_solver.pywrapcp.RevInteger.

Definition at line 3806 of file pywrapcp.py.

Member Function Documentation

◆ Add()

ortools.constraint_solver.pywrapcp.NumericalRevInteger.Add ( self,
s,
to_add )

Definition at line 3809 of file pywrapcp.py.

◆ Decr()

ortools.constraint_solver.pywrapcp.NumericalRevInteger.Decr ( self,
s )

Definition at line 3815 of file pywrapcp.py.

◆ Incr()

ortools.constraint_solver.pywrapcp.NumericalRevInteger.Incr ( self,
s )

Definition at line 3812 of file pywrapcp.py.

Property Documentation

◆ thisown

ortools.constraint_solver.pywrapcp.NumericalRevInteger.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 3803 of file pywrapcp.py.


The documentation for this class was generated from the following file: