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

Public Member Functions

 __init__ (self, ct, method, delayed, *args)
 
 Run (self, solver)
 
 Priority (self)
 
 DebugString (self)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.PyDemon
 RunWrapper (self, solver)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.Demon
 Inhibit (self, s)
 
 Desinhibit (self, s)
 
 __disown__ (self)
 
- Public Member Functions inherited from ortools.constraint_solver.pywrapcp.BaseObject
 __str__ (self)
 
 __repr__ (self)
 

Additional Inherited Members

- Properties inherited from ortools.constraint_solver.pywrapcp.Demon
 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 4464 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.PyConstraintDemon.__init__ ( self,
ct,
method,
delayed,
* args )
    This indicates the priority of a demon. Immediate demons are treated
    separately and corresponds to variables.

Reimplemented from ortools.constraint_solver.pywrapcp.Demon.

Definition at line 4465 of file pywrapcp.py.

Member Function Documentation

◆ DebugString()

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

Reimplemented from ortools.constraint_solver.pywrapcp.PyDemon.

Definition at line 4478 of file pywrapcp.py.

◆ Priority()

ortools.constraint_solver.pywrapcp.PyConstraintDemon.Priority ( self)
    This method returns the priority of the demon. Usually a demon is
    fast, slow or normal. Immediate demons are reserved for internal
    use to maintain variables.

Reimplemented from ortools.constraint_solver.pywrapcp.Demon.

Definition at line 4475 of file pywrapcp.py.

◆ Run()

ortools.constraint_solver.pywrapcp.PyConstraintDemon.Run ( self,
solver )

Definition at line 4472 of file pywrapcp.py.


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