Describes an heuristic responsible with selecting the variable to which the
systematic search algorithm will return in case of failure.
public class SimpleBackward extends AbstractStrategy
implements BackwardStrategy {
public Var back() {
return solver.path().peek();
}
}
- Author:
- Cristian Frasinaru
|
Method Summary |
Var |
back()
Determines the variable to which the systematic search algorithm will
return in case of failure. |
back
Var back()
- Determines the variable to which the systematic search algorithm will
return in case of failure.
- Returns:
- the variable to return to in case of failure or
null if no return is possible