C# Class Cream.Constraint

An abstract class for constraints. A constraint is a component of a constraint network. See Network for example programs to construct constraints and Add them to a constraint network.
Afficher le fichier Open project: kikoanis/CSharpCream Class Usage Examples

Private Properties

Свойство Type Description

Méthodes protégées

Méthode Description
ClearCondition ( ) : void
Constraint ( Cream.Network net ) : System

Constructor. (for invocation by subclass constructors, typically implicit)

Constraint ( Cream.Network net, ConstraintTypes cType ) : System

Constructor. (for invocation by subclass constructors, typically implicit)

Constraint ( Cream.Network net, ConstraintTypes cType, int weight ) : System

Constructor. (for invocation by subclass constructors, typically implicit)

Copy ( Cream.Network net ) : Constraint

Creates a Copy of this constraint for a new network net.

Copy ( Variable v0, Cream.Network net ) : Variable
Copy ( Variable v0, Cream.Network net ) : Cream.Variable[]
ExtractCondition ( ) : Condition
IsModified ( ) : bool
IsModified ( Variable v ) : bool
IsSatisfied ( ) : bool
Satisfy ( Trail trail ) : bool
ToString ( Variable v ) : String
ToString ( int a ) : String

Method Details

ClearCondition() protected méthode

protected ClearCondition ( ) : void
Résultat void

Constraint() protected méthode

Constructor. (for invocation by subclass constructors, typically implicit)
protected Constraint ( Cream.Network net ) : System
net Cream.Network
Résultat System

Constraint() protected méthode

Constructor. (for invocation by subclass constructors, typically implicit)
protected Constraint ( Cream.Network net, ConstraintTypes cType ) : System
net Cream.Network
cType ConstraintTypes
Résultat System

Constraint() protected méthode

Constructor. (for invocation by subclass constructors, typically implicit)
protected Constraint ( Cream.Network net, ConstraintTypes cType, int weight ) : System
net Cream.Network
cType ConstraintTypes
weight int
Résultat System

Copy() protected abstract méthode

Creates a Copy of this constraint for a new network net.
protected abstract Copy ( Cream.Network net ) : Constraint
net Cream.Network
Résultat Constraint

Copy() protected static méthode

protected static Copy ( Variable v0, Cream.Network net ) : Variable
v0 Variable
net Cream.Network
Résultat Variable

Copy() protected static méthode

protected static Copy ( Variable v0, Cream.Network net ) : Cream.Variable[]
v0 Variable
net Cream.Network
Résultat Cream.Variable[]

ExtractCondition() protected méthode

protected ExtractCondition ( ) : Condition
Résultat Condition

IsModified() protected abstract méthode

protected abstract IsModified ( ) : bool
Résultat bool

IsModified() protected static méthode

protected static IsModified ( Variable v ) : bool
v Variable
Résultat bool

IsSatisfied() protected abstract méthode

protected abstract IsSatisfied ( ) : bool
Résultat bool

Satisfy() protected abstract méthode

protected abstract Satisfy ( Trail trail ) : bool
trail Trail
Résultat bool

ToString() protected static méthode

protected static ToString ( Variable v ) : String
v Variable
Résultat String

ToString() protected static méthode

protected static ToString ( int a ) : String
a int
Résultat String