Jadex 0.941

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 $


Belief Summary
belief boolean mycontext
          
 
Plan Summary
standard plan activity()
          
standard plan remover()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

mycontext

belief boolean mycontext
Default fact:
true
Plan Detail

activity

standard plan activity()
Plan body:
new ActivityPlan()

remover

standard plan remover()
Plan body:
new RemoverPlan()
Initial State Detail

default

default initial state default
Initial Plans:
activity
remover

Jadex 0.941

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.