C# Class Cream.IntVariable

Integer variables.
Inheritance: Variable
Afficher le fichier Open project: kikoanis/CSharpCream Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Abs ( ) : IntVariable
Résultat IntVariable

Add() public méthode

public Add ( IntVariable v ) : IntVariable
v IntVariable
Résultat IntVariable

Add() public méthode

public Add ( int value ) : IntVariable
value int
Résultat IntVariable

Equals() public méthode

public Equals ( IntVariable v ) : void
v IntVariable
Résultat void

Equals() public méthode

public Equals ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
Résultat void

Equals() public méthode

public Equals ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
Résultat void

Equals() public méthode

public Equals ( int value ) : void
value int
Résultat void

Equals() public méthode

public Equals ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
Résultat void

Equals() public méthode

public Equals ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
Résultat void

Ge() public méthode

public Ge ( ConstraintTypes cType, int weight ) : void
cType ConstraintTypes
weight int
Résultat void

Ge() public méthode

public Ge ( IntVariable v ) : void
v IntVariable
Résultat void

Ge() public méthode

public Ge ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
Résultat void

Ge() public méthode

public Ge ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
Résultat void

Ge() public méthode

public Ge ( int value ) : void
value int
Résultat void

Ge() public méthode

public Ge ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
Résultat void

Ge() public méthode

public Ge ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
Résultat void

Gt() public méthode

public Gt ( IntVariable v ) : void
v IntVariable
Résultat void

Gt() public méthode

public Gt ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
Résultat void

Gt() public méthode

public Gt ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
Résultat void

Gt() public méthode

public Gt ( int value ) : void
value int
Résultat void

Gt() public méthode

public Gt ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
Résultat void

Gt() public méthode

public Gt ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
Résultat void

IntVariable() public méthode

public IntVariable ( Cream.Network net ) : System
net Cream.Network
Résultat System

IntVariable() public méthode

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 ///
Résultat System

IntVariable() public méthode

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 ///
Résultat System

IntVariable() public méthode

public IntVariable ( Cream.Network net, String name ) : System
net Cream.Network
name String
Résultat System

IntVariable() public méthode

public IntVariable ( Cream.Network net, int value ) : System
net Cream.Network
value int
Résultat System

IntVariable() public méthode

public IntVariable ( Cream.Network net, int value, String name ) : System
net Cream.Network
value int
name String
Résultat System

IntVariable() public méthode

public IntVariable ( Cream.Network net, int lo, int hi ) : System
net Cream.Network
lo int
hi int
Résultat System

IntVariable() public méthode

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

Le() public méthode

public Le ( IntVariable v ) : void
v IntVariable
Résultat void

Le() public méthode

public Le ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
Résultat void

Le() public méthode

public Le ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
Résultat void

Le() public méthode

public Le ( int value ) : void
value int
Résultat void

Le() public méthode

public Le ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
Résultat void

Le() public méthode

public Le ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
Résultat void

Lt() public méthode

public Lt ( IntVariable v ) : void
v IntVariable
Résultat void

Lt() public méthode

public Lt ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
Résultat void

Lt() public méthode

public Lt ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
Résultat void

Lt() public méthode

public Lt ( int value ) : void
value int
Résultat void

Lt() public méthode

public Lt ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
Résultat void

Lt() public méthode

public Lt ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
Résultat void

Max() public méthode

public Max ( IntVariable v ) : IntVariable
v IntVariable
Résultat IntVariable

Max() public méthode

public Max ( int value ) : IntVariable
value int
Résultat IntVariable

Min() public méthode

public Min ( IntVariable v ) : IntVariable
v IntVariable
Résultat IntVariable

Min() public méthode

public Min ( int value ) : IntVariable
value int
Résultat IntVariable

Multiply() public méthode

public Multiply ( IntVariable v ) : IntVariable
v IntVariable
Résultat IntVariable

Multiply() public méthode

public Multiply ( int value ) : IntVariable
value int
Résultat IntVariable

Negate() public méthode

public Negate ( ) : IntVariable
Résultat IntVariable

NotEquals() public méthode

public NotEquals ( IntVariable v ) : void
v IntVariable
Résultat void

NotEquals() public méthode

public NotEquals ( IntVariable v, ConstraintTypes cType ) : void
v IntVariable
cType ConstraintTypes
Résultat void

NotEquals() public méthode

public NotEquals ( IntVariable v, ConstraintTypes cType, int weight ) : void
v IntVariable
cType ConstraintTypes
weight int
Résultat void

NotEquals() public méthode

public NotEquals ( int value ) : void
value int
Résultat void

NotEquals() public méthode

public NotEquals ( int value, ConstraintTypes cType ) : void
value int
cType ConstraintTypes
Résultat void

NotEquals() public méthode

public NotEquals ( int value, ConstraintTypes cType, int weight ) : void
value int
cType ConstraintTypes
weight int
Résultat void

Sign() public méthode

public Sign ( ) : IntVariable
Résultat IntVariable

Subtract() public méthode

public Subtract ( IntVariable v ) : IntVariable
v IntVariable
Résultat IntVariable

Subtract() public méthode

public Subtract ( int value ) : IntVariable
value int
Résultat IntVariable