Jadex 0.96

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
          
 
Plan Summary
standard plan condition_plan()
          
 
Expression Summary
condition five_seconds
          
 
Configuration Summary
default configuration  default
          
 

Belief Detail

timer

belief long timer
Update rate:
1000 ms
Default fact: (dynamic)
System.currentTimeMillis()/1000*1000
Plan Detail

condition_plan

standard plan condition_plan()
Plan body:
Expression Detail

five_seconds

condition five_seconds
Expression:
$beliefbase.timer%5000==0
Configuration Detail

default

default configuration default
Initial Plans:
condition_plan

Jadex 0.96

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.