C# 클래스 Cream.Solution

Solutions. Solutions are returned by {@linkplain Solver constraint solvers}. A solution consists of {@linkplain Domain domains} for variables and {@linkplain Code a code}.
파일 보기 프로젝트 열기: kikoanis/CSharpCream 1 사용 예제들

공개 메소드들

메소드 설명
GetDomain ( Variable v ) : Domain

Returns the domain of the given variable in the solution.

GetIntValue ( Variable v ) : int

Returns the integer value of the given variable in the solution.

Solution ( Cream.Network network ) : System

Constructs a solution from the given network.

ToString ( ) : String

Returns a readable string representation of this solution.

메소드 상세

GetDomain() 공개 메소드

Returns the domain of the given variable in the solution.
public GetDomain ( Variable v ) : Domain
v Variable the variable ///
리턴 Domain

GetIntValue() 공개 메소드

Returns the integer value of the given variable in the solution.
public GetIntValue ( Variable v ) : int
v Variable the variable ///
리턴 int

Solution() 공개 메소드

Constructs a solution from the given network.
public Solution ( Cream.Network network ) : System
network Cream.Network the constraint network ///
리턴 System

ToString() 공개 메소드

Returns a readable string representation of this solution.
public ToString ( ) : String
리턴 String