Jadex 0.941

jadex.testcases.beliefs
Agent UpdatingBelief


agent UpdatingBelief

Test Auto Update Belief Agent.

This agent has three beliefs: The time belief represents the actual time and is evaluated every second. It uses the dateformat belief to determine its output format. The counter belief shows how a self- referencing belief can be used. Use BDIViewer to see how the belief changes.


Belief Summary
belief DateFormat dateformat
           Date format to show the time in hours:mins:secs.
belief String time
           The current time formatted as string.
 

Belief Detail

dateformat

belief DateFormat dateformat
Date format to show the time in hours:mins:secs.

Default fact:
new SimpleDateFormat("HH:mm:ss")

time

belief String time
The current time formatted as string.

Update rate:
5000 ms
Default fact: (dynamic)
$beliefbase.dateformat.format(new Date())

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.