Jadex 0.941

jadex.testcases.goals
Agent InitialGoalRef


agent InitialGoalRef

Test referencing an initial goal by name.

The suspension of the initial goal (named "yeah") triggers the hello plan.
The initial goal is an achieve goal associated with an increment plan that increments every second the belief count. The achieve goal succeeds when it has count till 10. It will be suspended when it is 5. todo: repair?! names of initial elements are currently created due to bindings.


Belief Summary
belief int count
          
 
Goal Summary
achievegoal cnt()
          
 
Plan Summary
standard plan hello()
          
standard plan increment()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

count

belief int count
Default fact:
0
Goal Detail

cnt

achievegoal cnt()
BDI flags:
retry: true
retry delay: 0
exclude: never
random selection: false
meta-level reasoning: true
post to all: false
Context Condition:
$beliefbase.count!=5
Target Condition:
$beliefbase.count==10
Plan Detail

increment

standard plan increment()
Plan body:
new BeliefIncrementPlan("count", 1, 1000)
Goal Trigger:
cnt

hello

standard plan hello()
Plan body:
new ResultPlan("hello")
Initial State Detail

default

default initial state default
Initial Goals:
cnt

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.