|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Minimal contract for DFS/backtracking domains. More...
#include <state_search_common.H>
Minimal contract for DFS/backtracking domains.
The engine assumes a mutable search state and reversible moves:
for_each_successor(state, visitor) lazily emits candidate moves,apply(state, move) advances the state,undo(state, move) restores the previous state,is_goal(state) marks an accepted solution,is_terminal(state) marks dead-end terminal states,should_prune(state, depth) requests an early cutoff. Definition at line 665 of file state_search_common.H.