|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectomnics.strategy.AbstractStrategy
omnics.strategy.MinDomForward
public class MinDomForward
Represents the variable heuristic that chooses the variable with the smallest domain.
Note that this corresponds to the first-fail principle: reducing the domain of variable which is constrained a lot may lead to an early failure.
| Field Summary |
|---|
| Fields inherited from class omnics.strategy.AbstractStrategy |
|---|
solver |
| Constructor Summary | |
|---|---|
MinDomForward()
|
|
| Method Summary | |
|---|---|
Var |
next()
Determines the next variable to be instantiated by the solver. |
| 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 MinDomForward()
| Method Detail |
|---|
public Var next()
ForwardStrategynull.
next in interface ForwardStrategynull if there are no more candidates.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||