Jadex 0.941

jadex.testcases.goals
Agent PerformGoalContext


agent PerformGoalContext

Test a perform goal with context condition for goal suspension.

This agent has a perform goal associated with an increment plan that increments every second the belief count. The perform goal has a context condition that directly maps to the state of the belief . Setting this belief to false (with the BDI-Viewer) results in the perform goal suspension.


Belief Summary
belief int count
          
belief boolean mycontext
          
 
Goal Summary
performgoal inc()
          
 
Plan Summary
standard plan increment()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

count

belief int count
Default fact:
0

mycontext

belief boolean mycontext
Default fact:
true
Goal Detail

inc

performgoal inc()
BDI flags:
retry: true
retry delay: 3000
exclude: never
random selection: false
meta-level reasoning: true
post to all: false
Context Condition:
$beliefbase.mycontext
Plan Detail

increment

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

default

default initial state default
Initial Goals:
inc

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.