Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.BooleanVar Class Reference
Inheritance diagram for Google.OrTools.ConstraintSolver.BooleanVar:
Google.OrTools.ConstraintSolver.IntVar Google.OrTools.ConstraintSolver.IntExpr Google.OrTools.ConstraintSolver.PropagationBaseObject Google.OrTools.ConstraintSolver.PropagationBaseObject Google.OrTools.ConstraintSolver.BaseObject Google.OrTools.ConstraintSolver.BaseObject

Public Member Functions

override long Min ()
 
override void SetMin (long m)
 
override long Max ()
 
override void SetMax (long m)
 
override void SetRange (long mi, long ma)
 
override bool Bound ()
 
override long Value ()
 
override void RemoveValue (long v)
 
override void RemoveInterval (long l, long u)
 
override void WhenBound (Demon d)
 
override void WhenRange (Demon d)
 
override void WhenDomain (Demon d)
 
override ulong Size ()
 
override bool Contains (long v)
 
override string ToString ()
 
override int VarType ()
 
override IntVar IsEqual (long constant)
 
override IntVar IsDifferent (long constant)
 
override IntVar IsGreaterOrEqual (long constant)
 
override IntVar IsLessOrEqual (long constant)
 
virtual void RestoreValue ()
 
override string BaseName ()
 
int RawValue ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.IntVar
override bool IsVar ()
 
override IntVar Var ()
 
virtual void RemoveValues (long[] values)
 
virtual void SetValues (long[] values)
 
void WhenBound (VoidToVoid closure)
 
void WhenDomain (VoidToVoid closure)
 
virtual long OldMin ()
 
virtual long OldMax ()
 
override void Accept (ModelVisitor visitor)
 
int Index ()
 
IntVarIterator GetDomain ()
 
IntVarIterator GetHoles ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.IntExpr
IntExpr Abs ()
 
IntExpr Square ()
 
virtual void Range (out int l, out int u)
 
virtual void SetValue (long v)
 
IntVar VarWithName (string name)
 
void WhenRange (VoidToVoid closure)
 
Constraint MapTo (IntVarVector vars)
 
IntExpr IndexOf (long[] vars)
 
IntExpr IndexOf (IntVarVector vars)
 
IntVar IsEqual (long value)
 
IntVar IsDifferent (long value)
 
IntVar IsGreater (long value)
 
IntVar IsGreaterOrEqual (long value)
 
IntVar IsLess (long value)
 
IntVar IsLessOrEqual (long value)
 
IntVar IsMember (long[] values)
 
IntVar IsMember (int[] values)
 
Constraint Member (long[] values)
 
Constraint Member (int[] values)
 
IntVar IsEqual (IntExpr other)
 
IntVar IsDifferent (IntExpr other)
 
IntVar IsGreater (IntExpr other)
 
IntVar IsGreaterOrEqual (IntExpr other)
 
IntVar IsLess (IntExpr other)
 
IntVar IsLessOrEqual (IntExpr other)
 
OptimizeVar Minimize (long step)
 
OptimizeVar Maximize (long step)
 
- 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 ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
void Dispose ()
 
 BaseObject ()
 

Protected Member Functions

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

Properties

static int kUnboundBooleanVarValue [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Google.OrTools.ConstraintSolver.IntExpr
static IntExpr operator+ (IntExpr a, IntExpr b)
 
static IntExpr operator+ (IntExpr a, long v)
 
static IntExpr operator+ (long v, IntExpr a)
 
static IntExpr operator- (IntExpr a, IntExpr b)
 
static IntExpr operator- (IntExpr a, long v)
 
static IntExpr operator- (long v, IntExpr a)
 
static IntExpr operator* (IntExpr a, IntExpr b)
 
static IntExpr operator* (IntExpr a, long v)
 
static IntExpr operator* (long v, IntExpr a)
 
static IntExpr operator/ (IntExpr a, long v)
 
static IntExpr operator% (IntExpr a, long v)
 
static IntExpr operator- (IntExpr a)
 
static IntExprEquality operator== (IntExpr a, IntExpr b)
 
static IntExprEquality operator!= (IntExpr a, IntExpr b)
 
static WrappedConstraint operator== (IntExpr a, long v)
 
static WrappedConstraint operator!= (IntExpr a, long v)
 
static WrappedConstraint operator>= (IntExpr a, long v)
 
static WrappedConstraint operator> (IntExpr a, long v)
 
static WrappedConstraint operator<= (IntExpr a, long v)
 
static WrappedConstraint operator< (IntExpr a, long v)
 
static WrappedConstraint operator>= (IntExpr a, IntExpr b)
 
static WrappedConstraint operator> (IntExpr a, IntExpr b)
 
static WrappedConstraint operator<= (IntExpr a, IntExpr b)
 
static WrappedConstraint operator< (IntExpr a, IntExpr b)
 
- Protected Attributes inherited from Google.OrTools.ConstraintSolver.BaseObject
bool swigCMemOwn
 
- Package Functions inherited from Google.OrTools.ConstraintSolver.IntVar
- Package Functions inherited from Google.OrTools.ConstraintSolver.IntExpr
- Package Functions inherited from Google.OrTools.ConstraintSolver.PropagationBaseObject
- Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.IntVar
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.IntExpr
- 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 BooleanVar.cs.

Member Function Documentation

◆ BaseName()

override string Google.OrTools.ConstraintSolver.BooleanVar.BaseName ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.PropagationBaseObject.

Definition at line 168 of file BooleanVar.cs.

◆ Bound()

override bool Google.OrTools.ConstraintSolver.BooleanVar.Bound ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 89 of file BooleanVar.cs.

◆ Contains()

override bool Google.OrTools.ConstraintSolver.BooleanVar.Contains ( long v)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 125 of file BooleanVar.cs.

◆ Dispose()

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

Reimplemented from Google.OrTools.ConstraintSolver.BaseObject.

Definition at line 44 of file BooleanVar.cs.

◆ IsDifferent()

override IntVar Google.OrTools.ConstraintSolver.BooleanVar.IsDifferent ( long constant)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 146 of file BooleanVar.cs.

◆ IsEqual()

override IntVar Google.OrTools.ConstraintSolver.BooleanVar.IsEqual ( long constant)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 140 of file BooleanVar.cs.

◆ IsGreaterOrEqual()

override IntVar Google.OrTools.ConstraintSolver.BooleanVar.IsGreaterOrEqual ( long constant)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 152 of file BooleanVar.cs.

◆ IsLessOrEqual()

override IntVar Google.OrTools.ConstraintSolver.BooleanVar.IsLessOrEqual ( long constant)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 158 of file BooleanVar.cs.

◆ Max()

override long Google.OrTools.ConstraintSolver.BooleanVar.Max ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 74 of file BooleanVar.cs.

◆ Min()

override long Google.OrTools.ConstraintSolver.BooleanVar.Min ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 64 of file BooleanVar.cs.

◆ RawValue()

int Google.OrTools.ConstraintSolver.BooleanVar.RawValue ( )
inline

Definition at line 173 of file BooleanVar.cs.

◆ RemoveInterval()

override void Google.OrTools.ConstraintSolver.BooleanVar.RemoveInterval ( long l,
long u )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 104 of file BooleanVar.cs.

◆ RemoveValue()

override void Google.OrTools.ConstraintSolver.BooleanVar.RemoveValue ( long v)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 99 of file BooleanVar.cs.

◆ RestoreValue()

virtual void Google.OrTools.ConstraintSolver.BooleanVar.RestoreValue ( )
inlinevirtual

Definition at line 164 of file BooleanVar.cs.

◆ SetMax()

override void Google.OrTools.ConstraintSolver.BooleanVar.SetMax ( long m)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 79 of file BooleanVar.cs.

◆ SetMin()

override void Google.OrTools.ConstraintSolver.BooleanVar.SetMin ( long m)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 69 of file BooleanVar.cs.

◆ SetRange()

override void Google.OrTools.ConstraintSolver.BooleanVar.SetRange ( long mi,
long ma )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 84 of file BooleanVar.cs.

◆ Size()

override ulong Google.OrTools.ConstraintSolver.BooleanVar.Size ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 120 of file BooleanVar.cs.

◆ ToString()

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

Reimplemented from Google.OrTools.ConstraintSolver.BaseObject.

Definition at line 130 of file BooleanVar.cs.

◆ Value()

override long Google.OrTools.ConstraintSolver.BooleanVar.Value ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 94 of file BooleanVar.cs.

◆ VarType()

override int Google.OrTools.ConstraintSolver.BooleanVar.VarType ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 135 of file BooleanVar.cs.

◆ WhenBound()

override void Google.OrTools.ConstraintSolver.BooleanVar.WhenBound ( Demon d)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 108 of file BooleanVar.cs.

◆ WhenDomain()

override void Google.OrTools.ConstraintSolver.BooleanVar.WhenDomain ( Demon d)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntVar.

Definition at line 116 of file BooleanVar.cs.

◆ WhenRange()

override void Google.OrTools.ConstraintSolver.BooleanVar.WhenRange ( Demon d)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.IntExpr.

Definition at line 112 of file BooleanVar.cs.

Property Documentation

◆ kUnboundBooleanVarValue

int Google.OrTools.ConstraintSolver.BooleanVar.kUnboundBooleanVarValue
staticget

Definition at line 57 of file BooleanVar.cs.


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