C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Защищенные методы

Метод Описание
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

Описание методов

ClearCondition() защищенный Метод

protected ClearCondition ( ) : void
Результат void

Constraint() защищенный Метод

Constructor. (for invocation by subclass constructors, typically implicit)
protected Constraint ( Cream.Network net ) : System
net Cream.Network
Результат System

Constraint() защищенный Метод

Constructor. (for invocation by subclass constructors, typically implicit)
protected Constraint ( Cream.Network net, ConstraintTypes cType ) : System
net Cream.Network
cType ConstraintTypes
Результат System

Constraint() защищенный Метод

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
Результат System

Copy() защищенный абстрактный Метод

Creates a Copy of this constraint for a new network net.
protected abstract Copy ( Cream.Network net ) : Constraint
net Cream.Network
Результат Constraint

Copy() защищенный статический Метод

protected static Copy ( Variable v0, Cream.Network net ) : Variable
v0 Variable
net Cream.Network
Результат Variable

Copy() защищенный статический Метод

protected static Copy ( Variable v0, Cream.Network net ) : Cream.Variable[]
v0 Variable
net Cream.Network
Результат Cream.Variable[]

ExtractCondition() защищенный Метод

protected ExtractCondition ( ) : Condition
Результат Condition

IsModified() защищенный абстрактный Метод

protected abstract IsModified ( ) : bool
Результат bool

IsModified() защищенный статический Метод

protected static IsModified ( Variable v ) : bool
v Variable
Результат bool

IsSatisfied() защищенный абстрактный Метод

protected abstract IsSatisfied ( ) : bool
Результат bool

Satisfy() защищенный абстрактный Метод

protected abstract Satisfy ( Trail trail ) : bool
trail Trail
Результат bool

ToString() защищенный статический Метод

protected static ToString ( Variable v ) : String
v Variable
Результат String

ToString() защищенный статический Метод

protected static ToString ( int a ) : String
a int
Результат String