Jadex 0.941

jadex.testcases.goals
Agent MaintainGoalContext


agent MaintainGoalContext

Test maintain goal suspension.

The test plan creates a maintain goal and suspends it while it is in process. Then the goal is reactivated to see if it will continue to work.


Belief Summary
belief boolean context
          
belief int count
          
 
Goal Summary
maintaingoal maintain()
          
 
Plan Summary
standard plan increment()
          
standard plan test()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

count

belief int count
Default fact:
0

context

belief boolean context
Default fact:
true
Goal Detail

maintain

maintaingoal maintain()
BDI flags:
retry: true
retry delay: 500
exclude: never
random selection: false
meta-level reasoning: true
post to all: false
recur: false
recur delay: 0
Context Condition:
$beliefbase.context
Maintain Condition:
$beliefbase.count==5
Target Condition:
$beliefbase.count==5
Plan Detail

test

standard plan test()
Plan body:
new MaintainTestPlan()

increment

standard plan increment()
Plan body:
new BeliefIncrementPlan("count", 1, 0)
Goal Trigger:
maintain
Initial State Detail

default

default initial state default
Initial Plans:
test

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.