Jadex 0.941

jadex.testcases.plans
Agent PlanPassedFailed


agent PlanPassedFailed

Test the plans passed() and failed() methods.

Test, if the plan methods passed() and failed() are called properly, according to the plan behaviour.

The agent create 4 goal in sequence and always uses the PassedFailedPlan to execute a further testcase. The belief cnt captures the testcase no. todo: test aborted() method


Belief Summary
belief int cnt
          
 
Goal Summary
achievegoal init()
          
 
Plan Summary
standard plan passfail()
          
 

Belief Detail

cnt

belief int cnt
Default fact:
0
Goal Detail

init

achievegoal init()
BDI flags:
retry: false
retry delay: 0
exclude: when_tried
random selection: false
meta-level reasoning: true
post to all: false
Creation Condition:
$beliefbase.cnt<4
Plan Detail

passfail

standard plan passfail()
Plan body:
new PassedFailedPlan()
Goal Trigger:
init

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.