Jadex 0.941

jadex.testcases.plans
Agent AtomicException


agent AtomicException

Testing the atomic operation for plans.

Testing atomic operation in conjunction with exceptions. First it is checked, if an exception is generated, when a plan wants to wait while in atomic mode. Second it is checked, if the atomic mode is correctly reset, when a plan fails (= throws an exception) while in atomic mode.


Belief Summary
belief boolean a
          
 
Plan Summary
standard plan tester()
          
standard plan triggered_a()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

a

belief boolean a
Default fact:
false
Plan Detail

tester

standard plan tester()
Plan body:
new AtomicExceptionPlan()

triggered_a

standard plan triggered_a()
Plan body:
new ResultPlan("triggered a")
Condition
$beliefbase.a
Initial State Detail

default

default initial state default
Initial Plans:
tester

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.