|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||
childClone - returns a clone of this node that has
been made a child of this node and has a depth one greater than
this.
clone - return a copy of this node.
clone - see Main (pp.
depth - search depth; 0 at the root
search node; a child node has its parent node depth + 1.
equals method is especially useful for
repeated state detection.
equals - test for equality.
expand - return a (possibly empty) Vector of this
node's children
expand - return a (possibly empty) Vector of this
node's children.
getFront - Remove and return the front item of the
queue.
getGoalNode - Returns a goal node if the previous
search was successful, and null otherwise.
getNodeCount - Returns the number of nodes
expanded in the previous search.
insert - Insert the given item in the queue rear.
isEmpty - Return whether or not the Queue is empty
isGoal - test whether or not the current node is a
goal node.
isGoal - test whether or not the current node is a
goal node.
LightsOutNode - a puzzle where one seeks to get
all lights out in a grid of lights.parent - parent search node; null if and
only if node is the root of the search tree.
PegSolitaireNode instance and sets it
to an initial search state.
printSearchPath - Print the nodes on the path from
the initial search node to this node on separate lines.
search - Search for a goal node starting at the
given SearchNode, and return whether or not a goal node was
found.
SearchNode instance and sets it to an
initial search state.
toString - especially useful for debugging,
tracing search execution, reporting results, etc.
toString - Return a String representation of the
queue.
|
|||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||