jadex.testcases.plans
Agent PlanContext
- agent PlanContext
 
Tests a plan with a context condition.
 The context condition has to be valid during plan execution.
 Otherwise the plan is aborted.
 Has two initial plans.
 The activity plan is executed (the context is ok).
 It waits for some time.
 The remover plan waits for a shorter time
 and modifies the context, so that the
 first plans context condition is no longer
 satisfied.
 Therefore the activity plan should be removed
 by the next scheduler action.
 $Revision: 1.5 $
 $Date: 2005/06/23 11:28:25 $
 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
mycontext
belief boolean mycontext
- 
- Default fact:
- true
 
activity
standard plan activity()
- 
- Plan body:
- new ActivityPlan()
 
remover
standard plan remover()
- 
- Plan body:
- new RemoverPlan()
 
default
default initial state default
- 
- Initial Plans:
- activity- remover
 
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-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.