jadex.examples.cleanerworld.multi.cleanermobile
Class RemoteActionPlan
java.lang.Object
jadex.runtime.AbstractPlan
jadex.runtime.MobilePlan
jadex.examples.cleanerworld.multi.cleanermobile.RemoteActionPlan
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RemoteDropWasteActionPlan, RemoteGetVisionActionPlan, RemotePickUpWasteActionPlan
public abstract class RemoteActionPlan
- extends MobilePlan
Offers a methods for interacting with the cleanerworld environment.
- See Also:
- Serialized Form
Method Summary |
void |
action(IEvent event)
Request an action from the environment. |
void |
failed(IEvent event)
When the plan has failed, assume that environment is down. |
Methods inherited from class jadex.runtime.MobilePlan |
aborted, aborted, dispatchSubgoalAndWait, dispatchSubgoalAndWait, exception, failed, passed, passed, sendMessageAndWait, sendMessageAndWait, waitFor, waitFor, waitFor, waitForBeliefChange, waitForBeliefChange, waitForBeliefSetChange, waitForBeliefSetChange, waitForCondition, waitForCondition, waitForCondition, waitForCondition, waitForFactAdded, waitForFactAdded, waitForFactAddedOrRemoved, waitForFactAddedOrRemoved, waitForFactRemoved, waitForFactRemoved, waitForGoal, waitForGoal, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForSubgoal, waitForSubgoal |
Methods inherited from class jadex.runtime.AbstractPlan |
addPlanListener, createCondition, createCondition, createExpression, createExpression, createGoal, createInternalEvent, createInternalEvent, createMessageEvent, createQuery, dispatchInternalEvent, dispatchSubgoal, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgentIdentifier, getAgentName, getBeliefbase, getCondition, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getName, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPropertybase, getQuery, getRootGoal, getRPlan, getScope, getWaitqueue, hasParameter, hasParameterSet, isAbortedOnSuccess, killAgent, removePlanListener, sendMessage, startAtomic, toString |
RemoteActionPlan
public RemoteActionPlan()
action
public void action(IEvent event)
- Request an action from the environment.
- Specified by:
action
in class MobilePlan
failed
public void failed(IEvent event)
- When the plan has failed, assume that environment is down.
Remove fact to enable new search for environment.
- Overrides:
failed
in class MobilePlan
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.