Jadex 0.941

jadex.testcases.plans
Agent PlanAbort


agent PlanAbort

Plan Abort Agent

Tests if abortion of plans is properly synchronized.
The testabort plan is aborted, when the increment plan increments the count belief leading to the testabort goal being achieved (abort on success).


Belief Summary
belief int count
           This belief is incremented, to let the goal be achieved.
 
Goal Summary
achievegoal testabort()
           The test abort goal.
 
Plan Summary
standard plan increment()
           This plan increments the count belief leading to the testabort goal being achieved.
standard plan testabort()
           The plan to handle test abort goal just waits until it is aborted.
 
Initial State Summary
default initial state  default
          
 

Belief Detail

count

belief int count
This belief is incremented, to let the goal be achieved.

Default fact:
0
Goal Detail

testabort

achievegoal testabort()
The test abort goal.

BDI flags:
retry: true
retry delay: 0
exclude: when_tried
random selection: false
meta-level reasoning: true
post to all: false
Target Condition:
$beliefbase.count>=5
Plan Detail

testabort

standard plan testabort()
The plan to handle test abort goal just waits until it is aborted.

Plan body:
new TestAbortPlan()
Goal Trigger:
testabort

increment

standard plan increment()
This plan increments the count belief leading to the testabort goal being achieved.

Plan body:
new BeliefIncrementPlan("count", 1, 1000)
Initial State Detail

default

default initial state default
Initial Goals:
testabort
Initial Plans:
increment

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.