ai.search.informed
Class MAStarSearcherForIntCostFn.MbSearchNode
java.lang.Object
ai.search.SearchEngineForIntCostFn.SearchNodeForIntCostFn<S>
ai.search.informed.MAStarSearcherForIntCostFn.MbSearchNode
- Enclosing class:
- MAStarSearcherForIntCostFn<S extends SearchStateForIntCostFn>
protected class MAStarSearcherForIntCostFn.MbSearchNode
- extends SearchEngineForIntCostFn.SearchNodeForIntCostFn<S>
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MAStarSearcherForIntCostFn.MbSearchNode
public MAStarSearcherForIntCostFn.MbSearchNode(S state)
MAStarSearcherForIntCostFn.MbSearchNode
public MAStarSearcherForIntCostFn.MbSearchNode(S state,
MAStarSearcherForIntCostFn.MbSearchNode parent,
IntCostAction act)
getNextSuccessor
protected inf.util.Pair<IntCostAction,S> getNextSuccessor()
isGoal
protected boolean isGoal()
hasSuccessorInMem
protected boolean hasSuccessorInMem()
hasMoreSuccessors
protected boolean hasMoreSuccessors()
setDeadEnd
protected void setDeadEnd(IntCostAction act)
delete
protected void delete()
recalc_f
protected int recalc_f()
recalc_F
protected int recalc_F()
toString
public java.lang.String toString()
- Description copied from class:
SearchEngineForIntCostFn.SearchNodeForIntCostFn
This function returns a printable representation of this node which is
the sequence number followed by the string printed for the search state
contained in this node.
- Overrides:
toString
in class SearchEngineForIntCostFn.SearchNodeForIntCostFn<S extends SearchStateForIntCostFn>
- Returns:
- the id and String for the state contained in this node