C# Class Cream.IntArith

Inheritance: Constraint
Show file Open project: kikoanis/CSharpCream

Public Methods

Method Description
IntArith ( Cream.Network net, int a, Variable v0, Variable v1, Variable v2 ) : System
IntArith ( Cream.Network net, int a, Variable v0, Variable v1, Variable v2, ConstraintTypes cType ) : System
IntArith ( Cream.Network net, int a, Variable v0, Variable v1, Variable v2, ConstraintTypes cType, int weight ) : System
IntArith ( Cream.Network net, int a, Variable v0, Variable v1, int x2 ) : System
IntArith ( Cream.Network net, int a, Variable v0, Variable v1, int x2, ConstraintTypes cType ) : System
IntArith ( Cream.Network net, int a, Variable v0, Variable v1, int x2, ConstraintTypes cType, int weight ) : System
IntArith ( Cream.Network net, int a, Variable v0, int x1, Variable v2 ) : System
IntArith ( Cream.Network net, int a, Variable v0, int x1, Variable v2, ConstraintTypes cType ) : System
IntArith ( Cream.Network net, int a, Variable v0, int x1, Variable v2, ConstraintTypes cType, int weight ) : System
IntArith ( Cream.Network net, int a, int x0, Variable v1, Variable v2 ) : System
IntArith ( Cream.Network net, int a, int x0, Variable v1, Variable v2, ConstraintTypes cType ) : System
IntArith ( Cream.Network net, int a, int x0, Variable v1, Variable v2, ConstraintTypes cType, int weight ) : System
ToString ( ) : String

Protected Methods

Method Description
Copy ( Cream.Network net ) : Constraint
IsModified ( ) : bool
IsSatisfied ( ) : bool
Satisfy ( Trail trail ) : bool

Private Methods

Method Description
Divide ( Cream.IntDomain d0, Cream.IntDomain d1, Cream.IntDomain d2 ) : Cream.IntDomain
IntArith ( Cream.Network net, int a, Variable v, ConstraintTypes cType = ConstraintTypes.Hard ) : System
IntArith ( Cream.Network net, int a, Variable v, ConstraintTypes cType, int weight ) : System
Max ( int x ) : int
Min ( int x ) : int
Multiply ( Cream.IntDomain d0, Cream.IntDomain d1, Cream.IntDomain d2 ) : Cream.IntDomain
SatisfyAdd ( Variable v0, Variable v1, Variable v2, Trail trail ) : bool
SatisfyMAX ( Variable v0, Variable v1, Variable v2, Trail trail ) : bool
SatisfyMIN ( Variable v0, Variable v1, Variable v2, Trail trail ) : bool
SatisfyMULTIPLY ( Variable v0, Variable v1, Variable v2, Trail trail ) : bool
ToInt ( long x ) : int

Method Details

Copy() protected method

protected Copy ( Cream.Network net ) : Constraint
net Cream.Network
return Constraint

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, Variable v1, Variable v2 ) : System
net Cream.Network
a int
v0 Variable
v1 Variable
v2 Variable
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, Variable v1, Variable v2, ConstraintTypes cType ) : System
net Cream.Network
a int
v0 Variable
v1 Variable
v2 Variable
cType ConstraintTypes
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, Variable v1, Variable v2, ConstraintTypes cType, int weight ) : System
net Cream.Network
a int
v0 Variable
v1 Variable
v2 Variable
cType ConstraintTypes
weight int
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, Variable v1, int x2 ) : System
net Cream.Network
a int
v0 Variable
v1 Variable
x2 int
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, Variable v1, int x2, ConstraintTypes cType ) : System
net Cream.Network
a int
v0 Variable
v1 Variable
x2 int
cType ConstraintTypes
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, Variable v1, int x2, ConstraintTypes cType, int weight ) : System
net Cream.Network
a int
v0 Variable
v1 Variable
x2 int
cType ConstraintTypes
weight int
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, int x1, Variable v2 ) : System
net Cream.Network
a int
v0 Variable
x1 int
v2 Variable
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, int x1, Variable v2, ConstraintTypes cType ) : System
net Cream.Network
a int
v0 Variable
x1 int
v2 Variable
cType ConstraintTypes
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, Variable v0, int x1, Variable v2, ConstraintTypes cType, int weight ) : System
net Cream.Network
a int
v0 Variable
x1 int
v2 Variable
cType ConstraintTypes
weight int
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, int x0, Variable v1, Variable v2 ) : System
net Cream.Network
a int
x0 int
v1 Variable
v2 Variable
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, int x0, Variable v1, Variable v2, ConstraintTypes cType ) : System
net Cream.Network
a int
x0 int
v1 Variable
v2 Variable
cType ConstraintTypes
return System

IntArith() public method

public IntArith ( Cream.Network net, int a, int x0, Variable v1, Variable v2, ConstraintTypes cType, int weight ) : System
net Cream.Network
a int
x0 int
v1 Variable
v2 Variable
cType ConstraintTypes
weight int
return System

IsModified() protected method

protected IsModified ( ) : bool
return bool

IsSatisfied() protected method

protected IsSatisfied ( ) : bool
return bool

Satisfy() protected method

protected Satisfy ( Trail trail ) : bool
trail Trail
return bool

ToString() public method

public ToString ( ) : String
return String