jadex.testcases.goals
Agent GoalInhibition
jadex.testcases.goals.GoalInhibition
jadex.planlib.Test
- agent GoalInhibition
- contains jadex.planlib.Test
Agent arguments: timeout- timeout long
, testcenter- testcenter AgentIdentifier
Test goal inhibition.
The "docnt" perform goal increments the "count" belief,
unless the "lowerbound" maintaingoal is active, which ensures that "count"
stays below 4.
Configuration Summary |
default configuration |
default
|
count
belief int count
- Default fact:
0
testcase_cnt
beliefref int testcase_cnt
- Default fact:
1
- Referenced from:
testcase_cnt
in capability jadex.planlib.Test
timeout
exported beliefref long timeout
- Default fact:
0
- Referenced from:
timeout
in capability jadex.planlib.Test
testcenter
exported beliefref AgentIdentifier testcenter
- Referenced from:
testcenter
in capability jadex.planlib.Test
reports
beliefsetref TestReport reports
- Referenced from:
reports
in capability jadex.planlib.Test
docnt
performgoal docnt()
- BDI flags:
- retry: true
- retry delay: 100
- exclude: never
- random selection: false
- post to all: false
lowerbounds
maintaingoal lowerbounds()
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- post to all: false
- recur: false
- recur delay: 0
- Maintain Condition:
$beliefbase.count<4
- Target Condition:
$beliefbase.count<4
- Deliberation:
- inhibits
docnt
increment
standard plan increment()
- Plan body:
new BeliefIncrementPlan("count", 3, 0)
- Plan trigger:
- Goals:
docnt
decrement
standard plan decrement()
- Plan body:
new BeliefIncrementPlan("count", -1, 100)
- Plan trigger:
- Goals:
lowerbounds
testplan
standard plan testplan()
- Plan body:
default
default configuration default
- Initial Beliefs:
- testcase_cnt Initial value:
3
- Initial Goals:
- docnt
- lowerbounds
- Initial Plans:
- testplan
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-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.