next up previous
Next: Next Week Up: No Title Previous: Behaviour with Exclusion List

Putting More Detail into Nodes

Now we have the mechanism, we can let nodes carry further information, e.g.

% node data structure

node_state_of(  n(X,_,_,_),  X).
node_parent_of( n(_,X,_,_),  X).
node_depth_of(  n(_,_,X,_),  X).
node_gcost_of(  n(_,_,_,X),  X).

% make node

node_new(n(_,_,_,_)).



Mike Rosner
Fri Mar 5 16:50:53 MET 1999