|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectassignment1.CNode
public class CNode
Constructor Summary | |
---|---|
CNode(IState arg_state,
CNode arg_nodeParent,
IAction arg_action,
int arg_iDepth,
double arg_Cost)
|
Method Summary | |
---|---|
IAction |
GetAction()
Gets the value of m_action |
double |
GetCost()
|
int |
GetDepth()
Gets the value of m_iDepth |
CNode |
GetParent()
Gets the value of m_nodeParent |
IState |
GetState()
Gets the value of m_state |
void |
SetAction(IAction argM_action)
Sets the value of m_action |
void |
SetDepth(int argM_iDepth)
Sets the value of m_iDepth |
void |
SetParent(CNode argM_nodeParent)
Sets the value of m_nodeParent |
void |
SetState(IState argM_state)
Sets the value of m_state |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CNode(IState arg_state, CNode arg_nodeParent, IAction arg_action, int arg_iDepth, double arg_Cost)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public final IState GetState()
public final void SetState(IState argM_state)
argM_state
- Value to assign to this.m_statepublic final CNode GetParent()
public final void SetParent(CNode argM_nodeParent)
argM_nodeParent
- Value to assign to this.m_nodeParentpublic final IAction GetAction()
public final void SetAction(IAction argM_action)
argM_action
- Value to assign to this.m_actionpublic final int GetDepth()
public final void SetDepth(int argM_iDepth)
argM_iDepth
- Value to assign to this.m_iDepthpublic double GetCost()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |