C# Class Cream.IntVariable

Integer variables.
Inheritance: Variable
Show file Open project: kikoanis/CSharpCream Class Usage Examples

Public Methods

Method Description
Abs ( ) : IntVariable
Add ( IntVariable v ) : IntVariable
Add ( int value ) : IntVariable
Equals ( IntVariable v ) : void
Equals ( IntVariable v, ConstraintTypes cType ) : void
Equals ( IntVariable v, ConstraintTypes cType, int weight ) : void
Equals ( int value ) : void
Equals ( int value, ConstraintTypes cType ) : void
Equals ( int value, ConstraintTypes cType, int weight ) : void
Ge ( ConstraintTypes cType, int weight ) : void
Ge ( IntVariable v ) : void
Ge ( IntVariable v, ConstraintTypes cType ) : void
Ge ( IntVariable v, ConstraintTypes cType, int weight ) : void
Ge ( int value ) : void
Ge ( int value, ConstraintTypes cType ) : void
Ge ( int value, ConstraintTypes cType, int weight ) : void
Gt ( IntVariable v ) : void
Gt ( IntVariable v, ConstraintTypes cType ) : void
Gt ( IntVariable v, ConstraintTypes cType, int weight ) : void
Gt ( int value ) : void
Gt ( int value, ConstraintTypes cType ) : void
Gt ( int value, ConstraintTypes cType, int weight ) : void
IntVariable ( Cream.Network net ) : System
IntVariable ( Cream.Network net, Domain d ) : System

Initializes a new instance of the IntVariable class. Constructs an integer variable of the network with an initial integer domain d and a default name. This constructor is equivalent to IntVariable(network, d, null).

IntVariable ( Cream.Network net, Domain d, string name ) : System

Initializes a new instance of the IntVariable class. Constructs an integer variable of the network with an initial integer domain d and a name specified by the parameter name. When the parameter name is null, default names (v1, v2, and so on) are used.

IntVariable ( Cream.Network net, String name ) : System
IntVariable ( Cream.Network net, int value ) : System
IntVariable ( Cream.Network net, int value, String name ) : System
IntVariable ( Cream.Network net, int lo, int hi ) : System
IntVariable ( Cream.Network net, int lo, int hi, String name ) : System
Le ( IntVariable v ) : void
Le ( IntVariable v, ConstraintTypes cType ) : void
Le ( IntVariable v, ConstraintTypes cType, int weight ) : void
Le ( int value ) : void
Le ( int value, ConstraintTypes cType ) : void
Le ( int value, ConstraintTypes cType, int weight ) : void
Lt ( IntVariable v ) : void
Lt ( IntVariable v, ConstraintTypes cType ) : void
Lt ( IntVariable v, ConstraintTypes cType, int weight ) : void
Lt ( int value ) : void
Lt ( int value, ConstraintTypes cType ) : void
Lt ( int value, ConstraintTypes cType, int weight ) : void
Max ( IntVariable v ) : IntVariable
Max ( int value ) : IntVariable
Min ( IntVariable v ) : IntVariable
Min ( int value ) : IntVariable
Multiply ( IntVariable v ) : IntVariable
Multiply ( int value ) : IntVariable
Negate ( ) : IntVariable
NotEquals ( IntVariable v ) : void
NotEquals ( IntVariable v, ConstraintTypes cType ) : void
NotEquals ( IntVariable v, ConstraintTypes cType, int weight ) : void
NotEquals ( int value ) : void
NotEquals ( int value, ConstraintTypes cType ) : void
NotEquals ( int value, ConstraintTypes cType, int weight ) : void
Sign ( ) : IntVariable
Subtract ( IntVariable v ) : IntVariable
Subtract ( int value ) : IntVariable

Method Details

Abs() public method

public Abs ( ) : IntVariable
return IntVariable

Add() public method

public Add ( IntVariable v ) : IntVariable
v IntVariable
return IntVariable

Add() public method

public Add ( int value ) : IntVariable
value int
return IntVariable

Equals() public method

public Equals ( IntVariable v ) : void
v IntVariable
return void

Equals() public method

public Equals ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
return void

Equals() public method

public Equals ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
return void

Equals() public method

public Equals ( int value ) : void
value int
return void

Equals() public method

public Equals ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
return void

Equals() public method

public Equals ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
return void

Ge() public method

public Ge ( ConstraintTypes cType, int weight ) : void
cType ConstraintTypes
weight int
return void

Ge() public method

public Ge ( IntVariable v ) : void
v IntVariable
return void

Ge() public method

public Ge ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
return void

Ge() public method

public Ge ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
return void

Ge() public method

public Ge ( int value ) : void
value int
return void

Ge() public method

public Ge ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
return void

Ge() public method

public Ge ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
return void

Gt() public method

public Gt ( IntVariable v ) : void
v IntVariable
return void

Gt() public method

public Gt ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
return void

Gt() public method

public Gt ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
return void

Gt() public method

public Gt ( int value ) : void
value int
return void

Gt() public method

public Gt ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
return void

Gt() public method

public Gt ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
return void

IntVariable() public method

public IntVariable ( Cream.Network net ) : System
net Cream.Network
return System

IntVariable() public method

Initializes a new instance of the IntVariable class. Constructs an integer variable of the network with an initial integer domain d and a default name. This constructor is equivalent to IntVariable(network, d, null).
public IntVariable ( Cream.Network net, Domain d ) : System
net Cream.Network /// the network ///
d Domain /// the initial integer domain ///
return System

IntVariable() public method

Initializes a new instance of the IntVariable class. Constructs an integer variable of the network with an initial integer domain d and a name specified by the parameter name. When the parameter name is null, default names (v1, v2, and so on) are used.
public IntVariable ( Cream.Network net, Domain d, string name ) : System
net Cream.Network /// the network ///
d Domain /// the initial integer domain ///
name string /// the name of the variable, or null for a default name ///
return System

IntVariable() public method

public IntVariable ( Cream.Network net, String name ) : System
net Cream.Network
name String
return System

IntVariable() public method

public IntVariable ( Cream.Network net, int value ) : System
net Cream.Network
value int
return System

IntVariable() public method

public IntVariable ( Cream.Network net, int value, String name ) : System
net Cream.Network
value int
name String
return System

IntVariable() public method

public IntVariable ( Cream.Network net, int lo, int hi ) : System
net Cream.Network
lo int
hi int
return System

IntVariable() public method

public IntVariable ( Cream.Network net, int lo, int hi, String name ) : System
net Cream.Network
lo int
hi int
name String
return System

Le() public method

public Le ( IntVariable v ) : void
v IntVariable
return void

Le() public method

public Le ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
return void

Le() public method

public Le ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
return void

Le() public method

public Le ( int value ) : void
value int
return void

Le() public method

public Le ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
return void

Le() public method

public Le ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
return void

Lt() public method

public Lt ( IntVariable v ) : void
v IntVariable
return void

Lt() public method

public Lt ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
return void

Lt() public method

public Lt ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
return void

Lt() public method

public Lt ( int value ) : void
value int
return void

Lt() public method

public Lt ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
return void

Lt() public method

public Lt ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
return void

Max() public method

public Max ( IntVariable v ) : IntVariable
v IntVariable
return IntVariable

Max() public method

public Max ( int value ) : IntVariable
value int
return IntVariable

Min() public method

public Min ( IntVariable v ) : IntVariable
v IntVariable
return IntVariable

Min() public method

public Min ( int value ) : IntVariable
value int
return IntVariable

Multiply() public method

public Multiply ( IntVariable v ) : IntVariable
v IntVariable
return IntVariable

Multiply() public method

public Multiply ( int value ) : IntVariable
value int
return IntVariable

Negate() public method

public Negate ( ) : IntVariable
return IntVariable

NotEquals() public method

public NotEquals ( IntVariable v ) : void
v IntVariable
return void

NotEquals() public method

public NotEquals ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
return void

NotEquals() public method

public NotEquals ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
return void

NotEquals() public method

public NotEquals ( int value ) : void
value int
return void

NotEquals() public method

public NotEquals ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
return void

NotEquals() public method

public NotEquals ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
return void

Sign() public method

public Sign ( ) : IntVariable
return IntVariable

Subtract() public method

public Subtract ( IntVariable v ) : IntVariable
v IntVariable
return IntVariable

Subtract() public method

public Subtract ( int value ) : IntVariable
value int
return IntVariable