|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class provides an interface of goal structure. It is the base class for goal structure and the concrete goal structure.
Method Summary | |
boolean |
actionNoGoal()
'no goal' action. |
boolean |
actionReset(int idx)
'reset' action. |
boolean |
actionSet(int idx)
'set' action. |
int |
getActiveGoal()
Returns the currently active goal in terms of index. |
GoalChunk |
getActiveItem()
Returns the currently active goal item in terms of a chunk. |
int |
getSize()
Returns the number of goal items. |
void |
goalFinished(boolean popFlag)
routine when the currently active goal is finished. |
boolean |
isEmpty()
Returns if the goal structure is empty or not. |
void |
updateState(double[] state)
Updates the goal structure with current state. |
Method Detail |
public boolean isEmpty()
public int getSize()
public int getActiveGoal()
public GoalChunk getActiveItem()
public boolean actionSet(int idx)
public boolean actionReset(int idx)
public boolean actionNoGoal()
public void goalFinished(boolean popFlag)
public void updateState(double[] state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |