search
Class Node
java.lang.Object
search.Node
public class Node
- extends java.lang.Object
Note: direct access to instance variables is deprecated. Use get/set methods.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
public State state
path
public Actions path
cost
public double cost
utility
public double utility
Node
public Node(State state)
Node
public Node(State state,
Actions path)
Node
public Node(State state,
Actions path,
double cost,
double utility)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
update
public void update(Action action)
getState
public State getState()
setState
public void setState(State state)
getPath
public Actions getPath()
setPath
public void setPath(Actions path)
getCost
public double getCost()
setCost
public void setCost(double cost)
getUtility
public double getUtility()
setUtility
public void setUtility(double utility)