|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectomnics.strategy.AbstractStrategy
omnics.strategy.SimpleAssignment
public class SimpleAssignment
A simple implementation of the AssignmentStrategy
that selects the values acording to the domain order.
Domain,
Serialized Form| Field Summary |
|---|
| Fields inherited from class omnics.strategy.AbstractStrategy |
|---|
solver |
| Constructor Summary | |
|---|---|
SimpleAssignment()
|
|
| 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 SimpleAssignment()
| Method Detail |
|---|
public java.lang.Object assign(Var var)
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 | |||||||||