|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectOneShotBehaviour
CoPS.agents.FailureSpecificationBehaviour
This represents the failure-state of the FSM represented by PrepareResultBehaviour. The goal of the PrepareResultBehaviour is to place the result of the problem solving process in the datastore of the HandleProblemSovlingRequestBehaviour. If the one of the processes used for preparing this result fails, a FAILURE message should be placed in the HandleProblemSovlingRequestBehaviour datastore instead. In this way our agent will let the agent requesting the solution of a problem know that the problem solving process failed, and that an answer to the problem is not found.
Constructor Summary | |
FailureSpecificationBehaviour()
The constructor. |
|
FailureSpecificationBehaviour(Agent a,
DataStore datastore,
Behaviour topBehaviour)
The constructor. |
Method Summary | |
void |
action()
Action method. |
int |
onEnd()
This method is called when the behaviour has finished. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FailureSpecificationBehaviour()
public FailureSpecificationBehaviour(Agent a, DataStore datastore, Behaviour topBehaviour)
a
- The owner of this behaviour.topBehaviour
- The behaviour from where this behaviour is added to the agent a.Method Detail |
public void action()
public int onEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |