Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.Constraint Class Reference
Inheritance diagram for Google.OrTools.ConstraintSolver.Constraint:
Google.OrTools.ConstraintSolver.PropagationBaseObject Google.OrTools.ConstraintSolver.IConstraintWithStatus Google.OrTools.ConstraintSolver.PropagationBaseObject Google.OrTools.ConstraintSolver.IConstraintWithStatus Google.OrTools.ConstraintSolver.BaseObject Google.OrTools.ConstraintSolver.BaseObject Google.OrTools.ConstraintSolver.CastConstraint Google.OrTools.ConstraintSolver.DisjunctiveConstraint Google.OrTools.ConstraintSolver.GlobalVehicleBreaksConstraint Google.OrTools.ConstraintSolver.NetConstraint Google.OrTools.ConstraintSolver.Pack Google.OrTools.ConstraintSolver.TypeRegulationsConstraint

Public Member Functions

IntExpr Abs ()
 
IntExpr Square ()
 
 Constraint (Solver solver)
 
virtual void Post ()
 
virtual void InitialPropagateWrapper ()
 
override string ToString ()
 
virtual void Accept (ModelVisitor visitor)
 
bool IsCastConstraint ()
 
virtual IntVar Var ()
 
delegate string SwigDelegateConstraint_0 ()
 
delegate string SwigDelegateConstraint_1 ()
 
delegate string SwigDelegateConstraint_2 ()
 
delegate void SwigDelegateConstraint_3 ()
 
delegate void SwigDelegateConstraint_4 ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.PropagationBaseObject
 PropagationBaseObject (Solver s)
 
override string ToString ()
 
Solver solver ()
 
void FreezeQueue ()
 
void UnfreezeQueue ()
 
void EnqueueDelayedDemon (Demon d)
 
void EnqueueVar (Demon d)
 
void ResetActionOnFail ()
 
void SetVariableToCleanOnFail (IntVar v)
 
virtual string Name ()
 
void SetName (string name)
 
bool HasName ()
 
virtual string BaseName ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
void Dispose ()
 
 BaseObject ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.IConstraintWithStatus
Solver solver ()
 

Static Public Member Functions

static implicit operator IntVar (Constraint eq)
 
static implicit operator IntExpr (Constraint eq)
 
static IntExpr operator+ (Constraint a, Constraint b)
 
static IntExpr operator+ (Constraint a, long v)
 
static IntExpr operator+ (long v, Constraint a)
 
static IntExpr operator- (Constraint a, Constraint b)
 
static IntExpr operator- (Constraint a, long v)
 
static IntExpr operator- (long v, Constraint a)
 
static IntExpr operator* (Constraint a, Constraint b)
 
static IntExpr operator* (Constraint a, long v)
 
static IntExpr operator* (long v, Constraint a)
 
static IntExpr operator/ (Constraint a, long v)
 
static IntExpr operator- (Constraint a)
 
static WrappedConstraint operator== (Constraint a, long v)
 
static WrappedConstraint operator== (long v, Constraint a)
 
static WrappedConstraint operator!= (Constraint a, long v)
 
static WrappedConstraint operator!= (long v, Constraint a)
 
static WrappedConstraint operator>= (Constraint a, long v)
 
static WrappedConstraint operator>= (long v, Constraint a)
 
static WrappedConstraint operator> (Constraint a, long v)
 
static WrappedConstraint operator> (long v, Constraint a)
 
static WrappedConstraint operator<= (Constraint a, long v)
 
static WrappedConstraint operator<= (long v, Constraint a)
 
static WrappedConstraint operator< (Constraint a, long v)
 
static WrappedConstraint operator< (long v, Constraint a)
 
static WrappedConstraint operator>= (Constraint a, Constraint b)
 
static WrappedConstraint operator> (Constraint a, Constraint b)
 
static WrappedConstraint operator<= (Constraint a, Constraint b)
 
static WrappedConstraint operator< (Constraint a, Constraint b)
 
static ConstraintEquality operator== (Constraint a, Constraint b)
 
static ConstraintEquality operator!= (Constraint a, Constraint b)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.PropagationBaseObject
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject

Additional Inherited Members

- Protected Attributes inherited from Google.OrTools.ConstraintSolver.BaseObject
bool swigCMemOwn
 
- Package Functions inherited from Google.OrTools.ConstraintSolver.PropagationBaseObject
- Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.PropagationBaseObject
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject

Detailed Description

Definition at line 20 of file Constraint.cs.

Constructor & Destructor Documentation

◆ Constraint()

Google.OrTools.ConstraintSolver.Constraint.Constraint ( Solver solver)
inline

Definition at line 57 of file Constraint.cs.

Member Function Documentation

◆ Abs()

IntExpr Google.OrTools.ConstraintSolver.Constraint.Abs ( )
inline

Definition at line 505 of file SolverHelper.cs.

◆ Accept()

virtual void Google.OrTools.ConstraintSolver.Constraint.Accept ( ModelVisitor visitor)
inlinevirtual

Reimplemented in Google.OrTools.ConstraintSolver.Pack.

Definition at line 74 of file Constraint.cs.

◆ Dispose()

override void Google.OrTools.ConstraintSolver.Constraint.Dispose ( bool disposing)
inlineprotectedvirtual

◆ InitialPropagateWrapper()

virtual void Google.OrTools.ConstraintSolver.Constraint.InitialPropagateWrapper ( )
inlinevirtual

◆ IsCastConstraint()

bool Google.OrTools.ConstraintSolver.Constraint.IsCastConstraint ( )
inline

Definition at line 78 of file Constraint.cs.

◆ operator IntExpr()

static implicit Google.OrTools.ConstraintSolver.Constraint.operator IntExpr ( Constraint eq)
inlinestatic

Definition at line 457 of file SolverHelper.cs.

◆ operator IntVar()

static implicit Google.OrTools.ConstraintSolver.Constraint.operator IntVar ( Constraint eq)
inlinestatic

Definition at line 452 of file SolverHelper.cs.

◆ operator!=() [1/3]

static ConstraintEquality Google.OrTools.ConstraintSolver.Constraint.operator!= ( Constraint a,
Constraint b )
inlinestatic

Definition at line 581 of file SolverHelper.cs.

◆ operator!=() [2/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator!= ( Constraint a,
long v )
inlinestatic

Definition at line 521 of file SolverHelper.cs.

◆ operator!=() [3/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator!= ( long v,
Constraint a )
inlinestatic

Definition at line 525 of file SolverHelper.cs.

◆ operator*() [1/3]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator* ( Constraint a,
Constraint b )
inlinestatic

Definition at line 485 of file SolverHelper.cs.

◆ operator*() [2/3]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator* ( Constraint a,
long v )
inlinestatic

Definition at line 489 of file SolverHelper.cs.

◆ operator*() [3/3]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator* ( long v,
Constraint a )
inlinestatic

Definition at line 493 of file SolverHelper.cs.

◆ operator+() [1/3]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator+ ( Constraint a,
Constraint b )
inlinestatic

Definition at line 461 of file SolverHelper.cs.

◆ operator+() [2/3]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator+ ( Constraint a,
long v )
inlinestatic

Definition at line 465 of file SolverHelper.cs.

◆ operator+() [3/3]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator+ ( long v,
Constraint a )
inlinestatic

Definition at line 469 of file SolverHelper.cs.

◆ operator-() [1/4]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator- ( Constraint a)
inlinestatic

Definition at line 501 of file SolverHelper.cs.

◆ operator-() [2/4]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator- ( Constraint a,
Constraint b )
inlinestatic

Definition at line 473 of file SolverHelper.cs.

◆ operator-() [3/4]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator- ( Constraint a,
long v )
inlinestatic

Definition at line 477 of file SolverHelper.cs.

◆ operator-() [4/4]

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator- ( long v,
Constraint a )
inlinestatic

Definition at line 481 of file SolverHelper.cs.

◆ operator/()

static IntExpr Google.OrTools.ConstraintSolver.Constraint.operator/ ( Constraint a,
long v )
inlinestatic

Definition at line 497 of file SolverHelper.cs.

◆ operator<() [1/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator< ( Constraint a,
Constraint b )
inlinestatic

Definition at line 573 of file SolverHelper.cs.

◆ operator<() [2/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator< ( Constraint a,
long v )
inlinestatic

Definition at line 553 of file SolverHelper.cs.

◆ operator<() [3/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator< ( long v,
Constraint a )
inlinestatic

Definition at line 557 of file SolverHelper.cs.

◆ operator<=() [1/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator<= ( Constraint a,
Constraint b )
inlinestatic

Definition at line 569 of file SolverHelper.cs.

◆ operator<=() [2/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator<= ( Constraint a,
long v )
inlinestatic

Definition at line 545 of file SolverHelper.cs.

◆ operator<=() [3/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator<= ( long v,
Constraint a )
inlinestatic

Definition at line 549 of file SolverHelper.cs.

◆ operator==() [1/3]

static ConstraintEquality Google.OrTools.ConstraintSolver.Constraint.operator== ( Constraint a,
Constraint b )
inlinestatic

Definition at line 577 of file SolverHelper.cs.

◆ operator==() [2/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator== ( Constraint a,
long v )
inlinestatic

Definition at line 513 of file SolverHelper.cs.

◆ operator==() [3/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator== ( long v,
Constraint a )
inlinestatic

Definition at line 517 of file SolverHelper.cs.

◆ operator>() [1/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator> ( Constraint a,
Constraint b )
inlinestatic

Definition at line 565 of file SolverHelper.cs.

◆ operator>() [2/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator> ( Constraint a,
long v )
inlinestatic

Definition at line 537 of file SolverHelper.cs.

◆ operator>() [3/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator> ( long v,
Constraint a )
inlinestatic

Definition at line 541 of file SolverHelper.cs.

◆ operator>=() [1/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator>= ( Constraint a,
Constraint b )
inlinestatic

Definition at line 561 of file SolverHelper.cs.

◆ operator>=() [2/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator>= ( Constraint a,
long v )
inlinestatic

Definition at line 529 of file SolverHelper.cs.

◆ operator>=() [3/3]

static WrappedConstraint Google.OrTools.ConstraintSolver.Constraint.operator>= ( long v,
Constraint a )
inlinestatic

Definition at line 533 of file SolverHelper.cs.

◆ Post()

virtual void Google.OrTools.ConstraintSolver.Constraint.Post ( )
inlinevirtual

◆ Square()

IntExpr Google.OrTools.ConstraintSolver.Constraint.Square ( )
inline

Definition at line 509 of file SolverHelper.cs.

◆ SwigDelegateConstraint_0()

delegate string Google.OrTools.ConstraintSolver.Constraint.SwigDelegateConstraint_0 ( )

◆ SwigDelegateConstraint_1()

delegate string Google.OrTools.ConstraintSolver.Constraint.SwigDelegateConstraint_1 ( )

◆ SwigDelegateConstraint_2()

delegate string Google.OrTools.ConstraintSolver.Constraint.SwigDelegateConstraint_2 ( )

◆ SwigDelegateConstraint_3()

delegate void Google.OrTools.ConstraintSolver.Constraint.SwigDelegateConstraint_3 ( )

◆ SwigDelegateConstraint_4()

delegate void Google.OrTools.ConstraintSolver.Constraint.SwigDelegateConstraint_4 ( )

◆ ToString()

override string Google.OrTools.ConstraintSolver.Constraint.ToString ( )
inlinevirtual

◆ Var()

virtual IntVar Google.OrTools.ConstraintSolver.Constraint.Var ( )
inlinevirtual

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