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.
파일 보기 프로젝트 열기: kikoanis/CSharpCream 1 사용 예제들

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