Свойство | Тип | Описание | |
---|---|---|---|
trail |
Метод | Описание | |
---|---|---|
DefaultSolver ( Cream.Network network ) : System |
Initializes a new instance of the DefaultSolver class. Constructs a branch-and-bound solver for the given network. This constructor is equivalent to DefaultSolver(network, Default, null).
|
|
DefaultSolver ( Cream.Network network, int options ) : System |
Initializes a new instance of the DefaultSolver class. Constructs a branch-and-bound solver for the given network and options. This constructor is equivalent to DefaultSolver(network, options, null).
|
|
DefaultSolver ( Cream.Network network, int options, string name ) : System |
Initializes a new instance of the DefaultSolver class. Constructs a branch-and-bound solver for the given network, options, and name.
|
|
DefaultSolver ( Cream.Network network, string name ) : System |
Initializes a new instance of the DefaultSolver class. Constructs a branch-and-bound solver for the given network and name. This constructor is equivalent to DefaultSolver(network, Default, name).
|
|
GetValueWithSoftConstraint ( |
gets value from soft constraints
|
|
Run ( ) : void |
Run method
|
|
SelectVariable ( ) : |
Selects a varaible for the current stage
|
|
Start ( long timeout ) : void |
Start method
|
Метод | Описание | |
---|---|---|
InfVariable ( ) : |
InfVariable Method
|
|
MinimumSizeVariable ( ) : |
MinimumSizeVariable method
|
|
ModifiedConstraints ( ) : IList |
Modified constraints
|
|
Satisfy ( ) : bool |
The Satisfy process will get rid of the domains items that are satisfied with the constraints
|
|
Solve ( int level ) : void |
Solves the specified level.
|
Метод | Описание | |
---|---|---|
DeleteDomainFromBestValueToMaxValue ( |
||
DeleteDomainFromMinValueToBestValue ( |
||
GetGeneratedSolution ( ) : void | ||
GetSolutionWeight ( ) : int |
gets solution weight
|
|
IsBetterSolution ( int totalWeight ) : bool |
a method to check if it's a better solution
|
|
IsSoftConstraintsUsed ( ) : bool |
public DefaultSolver ( Cream.Network network ) : System | ||
network | Cream.Network | /// the constraint network /// |
Результат | System |
public DefaultSolver ( Cream.Network network, int options ) : System | ||
network | Cream.Network | /// the constraint network /// |
options | int | /// the options for search strategy /// |
Результат | System |
public DefaultSolver ( Cream.Network network, int options, string name ) : System | ||
network | Cream.Network | /// the constraint network /// |
options | int | /// the options for search strategy, or Default for default search strategy /// |
name | string | /// the name of the solver, or null for a default name /// |
Результат | System |
public DefaultSolver ( Cream.Network network, string name ) : System | ||
network | Cream.Network | /// the constraint network /// |
name | string | /// the name of the solver /// |
Результат | System |
public GetValueWithSoftConstraint ( |
||
v0 | /// The v0 (which is a of type variable). /// | |
Результат | int |
protected MinimumSizeVariable ( ) : |
||
Результат |
protected Solve ( int level ) : void | ||
level | int | /// The level. /// |
Результат | void |
public Start ( long timeout ) : void | ||
timeout | long | /// The timeout. /// |
Результат | void |