Jadex 0.941

jadex.testcases.plans
Agent MultiplePlanTriggers


agent MultiplePlanTriggers

Test multiple plan triggers

In this test scenario a plan has more than one plan trigger, e.g. a beliefchange and a condition. todo: This testcases does not work in 0.94. Problem: condition, beliefchange, beliefsetchanges create their own conditions that are activated independently. Hence a plan is activated more than once for the same event.


Belief Summary
belief int bel_a
          
 
Plan Summary
standard plan a_changed()
          
standard plan belchanger()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

bel_a

belief int bel_a
Default fact:
0
Plan Detail

belchanger

standard plan belchanger()
Plan body:
new BeliefIncrementPlan("bel_a", 1, 0)

a_changed

standard plan a_changed()
Plan body:
new ResultPlan("bel_a changed")
Condition
$beliefbase.bel_a>0
Belief change trigger
bel_a
Initial State Detail

default

default initial state default
Initial Plans:
belchanger

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.