|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectomnics.strategy.AbstractStrategy
omnics.strategy.ConsistentAssignment
public class ConsistentAssignment
A special implementation of AssignmentStrategy
that selects the values acording to the domain order,
assuming that the problem currently beeing solved is arc-consistent.
| Field Summary |
|---|
| Fields inherited from class omnics.strategy.AbstractStrategy |
|---|
solver |
| Constructor Summary | |
|---|---|
ConsistentAssignment()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
assign(Var var)
Returns the value that will be assigned to the specified variable. |
| Methods inherited from class omnics.strategy.AbstractStrategy |
|---|
getSolver, setSolver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface omnics.strategy.SolverStrategy |
|---|
getSolver, setSolver |
| Constructor Detail |
|---|
public ConsistentAssignment()
| Method Detail |
|---|
public java.lang.Object assign(Var var)
AssignmentStrategy
assign in interface AssignmentStrategyvar - a variable from the candidates set
var or
null if no assignment is possible.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||