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.
 
 
| Initial State Summary | 
| default initial state  | default
 | 
 
some_number
belief int some_number
- 
- Default fact:
- 0
 
starter
standard plan starter()
- 
- Plan body:
- new WaitForBeliefPlan()
 
incrementer
standard plan incrementer()
- 
- Plan body:
- new BeliefIncrementPlan("some_number", new int[]{0,1}, 2000)
 
default
default initial state default
- 
- Initial Plans:
- starter- incrementer
 
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.