Jadex 0.941

jadex.testcases.plans
Agent PlanConditionBinding


agent PlanConditionBinding

Test an activation condition of a plan with binding.

Creates as many plans as bindings are found. This agent has a "test" plan which reacts on a condition. This condition is triggered when the belief count is 0. Because it is initialized with 0 the plan is triggered at once. Because two bindings are possible, two instances of the plan are executed (one for each binding).


Belief Summary
belief int count
          
 
Plan Summary
standard plan test(String var)
          
 

Belief Detail

count

belief int count
Default fact:
0
Plan Detail

test

standard plan test(String var)
Parameters:
in parameter var Binding options:  new String[]{"var1", "var2"}
Plan body:
new TestActivationPlan()
Condition
$beliefbase.count==0

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.