C# Класс Cream.AllenTemporal.AllenSolver

Allen solver class
Наследование: Cream.DefaultSolver
Показать файл Открыть проект Примеры использования класса

Открытые свойства

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

Открытые методы

Метод Описание
AllenSolver ( Cream.Network network ) : System.Collections

Initializes a new instance of the AllenSolver class.

AllenSolver ( Cream.Network network, int options ) : System.Collections

Initializes a new instance of the AllenSolver class.

AllenSolver ( Cream.Network network, int options, string name ) : System.Collections

Initializes a new instance of the AllenSolver class.

Revise ( Variable x, Variable y, int relations ) : bool

Revise method

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

Метод Описание
Solve ( int level ) : void

This method is based on Dr Malek Mouhoub Tempor application http://www2.cs.uregina.ca/~mouhoubm/=postscript/=papers/32mouh.ps.gz

Приватные методы

Метод Описание
AllenSolver ( Cream.Network network, string name ) : System.Collections

Initializes a new instance of the AllenSolver class.

ArcConsistency ( ) : bool

Arc consistency method

Compatible ( int a, int b, int d1, int d2, IEnumerable relations ) : bool

checks for the compatibility of variables

ConvertNumericToSymbolic ( ) : void

converts numeric to symbolic

GetDisjunctiveConstraints ( ) : void

gets disjunctive constraints

GetEvents ( Variable v1, Variable v2 ) : int[]

gets all events

PathConsistency ( ) : void

Path consistency implementatiopn

QueueUpVarsForAC ( ) : void

quies varaibles for AC

QueueUpVarsForPC ( ) : void

queries variables for PC

SatisfyDisjCons ( ) : bool

Checks the consistency of the disjunctive constraints between every two varaibles in the network

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

AllenSolver() публичный Метод

Initializes a new instance of the AllenSolver class.
public AllenSolver ( Cream.Network network ) : System.Collections
network Cream.Network /// The network. ///
Результат System.Collections

AllenSolver() публичный Метод

Initializes a new instance of the AllenSolver class.
public AllenSolver ( Cream.Network network, int options ) : System.Collections
network Cream.Network /// The network. ///
options int /// The options. ///
Результат System.Collections

AllenSolver() публичный Метод

Initializes a new instance of the AllenSolver class.
public AllenSolver ( Cream.Network network, int options, string name ) : System.Collections
network Cream.Network /// The network. ///
options int /// The options. ///
name string /// The name of the problem ///
Результат System.Collections

Revise() публичный статический Метод

Revise method
public static Revise ( Variable x, Variable y, int relations ) : bool
x Cream.Variable /// The x.variable ///
y Cream.Variable /// The y.variable ///
relations int /// The relations. ///
Результат bool

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

This method is based on Dr Malek Mouhoub Tempor application http://www2.cs.uregina.ca/~mouhoubm/=postscript/=papers/32mouh.ps.gz
protected Solve ( int level ) : void
level int integer value for the level of the solver
Результат void

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

pc2Queue публичное свойство

list of pc2 queue
public IList pc2Queue
Результат IList