jadex.testcases.goals
Agent UniqueGoal
- agent UniqueGoal
 
Testing uniqueness properties of goals.
 Per default all parameter values of goals are tested for
 equality. If some parameters need to be excluded use
 the exclude tag within the unique tag.
| Goal Summary | 
| performgoal  | testgoal(int p_exc, int p_inc)A goal with unique settings concerning only parameter p_inc.
 | 
 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
testgoal
performgoal testgoal(int p_exc, 
                     int p_inc)
-  A goal with unique settings concerning only parameter p_inc. 
 
- 
- Parameters:
- in parameter p_excDefault value:0
- in parameter p_incDefault value:0
- BDI flags:
- retry: true- retry delay: 0- exclude: when_tried- random selection: false- meta-level reasoning: true- post to all: false
- Uniqueness enabled:
- excluded parameter p_exc
 
testplan
standard plan testplan()
- 
- Plan body:
- new ResultPlan("Goal: "+$goal.getName())
- Goal Trigger:
- testgoal
 
default
default initial state default
- 
- Initial Goals:
- testgoal (p_inc=1, p_exc=1)
- testgoal (p_inc=1, p_exc=2)
- testgoal (p_inc=2, p_exc=1)
 
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.