Jadex 0.941

jadex.testcases.plans
Agent WaitForBelief


agent WaitForBelief

Test waiting for belief changes.

The agent has a belief storing a number that is incremented in intervals of 3 seconds. Another plan waits for those belief changes and prints out some message whenever they occur.


Belief Summary
belief int some_number
          
 
Plan Summary
standard plan incrementer()
          
standard plan starter()
          
 
Initial State Summary
default initial state  default
          
 

Belief Detail

some_number

belief int some_number
Default fact:
0
Plan Detail

starter

standard plan starter()
Plan body:
new WaitForBeliefPlan()

incrementer

standard plan incrementer()
Plan body:
new BeliefIncrementPlan("some_number", new int[]{0,1}, 2000)
Initial State Detail

default

default initial state default
Initial Plans:
starter
incrementer

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.