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

Public Member Functions

 __init__ (self, solver)
 
 Demon (self, method, *args)
 
 DelayedDemon (self, method, *args)
 
 InitialPropagateDemon (self)
 
 DelayedInitialPropagateDemon (self)
 
 InitialPropagateWrapper (self)
 
 DebugString (self)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.Constraint
 Post (self)
 
 Var (self)
 
 __repr__ (self)
 
 __str__ (self)
 
 __add__ (self, *args)
 
 __radd__ (self, v)
 
 __sub__ (self, *args)
 
 __rsub__ (self, v)
 
 __mul__ (self, *args)
 
 __rmul__ (self, v)
 
 __floordiv__ (self, v)
 
 __neg__ (self)
 
 __abs__ (self)
 
 Square (self)
 
 __eq__ (self, *args)
 
 __ne__ (self, *args)
 
 __ge__ (self, *args)
 
 __gt__ (self, *args)
 
 __le__ (self, *args)
 
 __lt__ (self, *args)
 
 MapTo (self, vars)
 
 IndexOf (self, *args)
 
 __disown__ (self)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.PropagationBaseObject
 solver (self)
 
 Name (self)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.BaseObject

Additional Inherited Members

- Properties inherited from ortools.constraint_solver.pywrapcp.Constraint
 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.PropagationBaseObject
 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.BaseObject
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Definition at line 4482 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.PyConstraint.__init__ ( self,
solver )

Reimplemented from ortools.constraint_solver.pywrapcp.Constraint.

Definition at line 4483 of file pywrapcp.py.

Member Function Documentation

◆ DebugString()

ortools.constraint_solver.pywrapcp.PyConstraint.DebugString ( self)

Reimplemented from ortools.constraint_solver.pywrapcp.Constraint.

Definition at line 4512 of file pywrapcp.py.

◆ DelayedDemon()

ortools.constraint_solver.pywrapcp.PyConstraint.DelayedDemon ( self,
method,
* args )

Definition at line 4492 of file pywrapcp.py.

◆ DelayedInitialPropagateDemon()

ortools.constraint_solver.pywrapcp.PyConstraint.DelayedInitialPropagateDemon ( self)

Definition at line 4500 of file pywrapcp.py.

◆ Demon()

ortools.constraint_solver.pywrapcp.PyConstraint.Demon ( self,
method,
* args )

Definition at line 4487 of file pywrapcp.py.

◆ InitialPropagateDemon()

ortools.constraint_solver.pywrapcp.PyConstraint.InitialPropagateDemon ( self)

Definition at line 4497 of file pywrapcp.py.

◆ InitialPropagateWrapper()

ortools.constraint_solver.pywrapcp.PyConstraint.InitialPropagateWrapper ( self)
    This method performs the initial propagation of the
    constraint. It is called just after the post.

Reimplemented from ortools.constraint_solver.pywrapcp.Constraint.

Definition at line 4503 of file pywrapcp.py.


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