jadex.testcases.semiautomatic
Agent FullSecond
- agent FullSecond
Test for Timer Conditions
This agent uses the modulo operator
to trigger a condition.
Belief Summary |
belief long |
timer
|
Configuration Summary |
default configuration |
default
|
timer
belief long timer
- Update rate:
- 1000 ms
- Default fact: (dynamic)
System.currentTimeMillis()/1000*1000
condition_plan
standard plan condition_plan()
- Plan body:
five_seconds
condition five_seconds
- Expression:
$beliefbase.timer%5000==0
default
default configuration default
- Initial Plans:
- condition_plan
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-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.