jadex.testcases.goals
Agent Candy
- agent Candy
An agent that uses two subsequent plans for eating candy
Example clarifies problem from Brad Dixon's post on 07/27/05.
Initial State Summary |
default initial state |
default
|
jaropen
belief boolean jaropen
- Default fact:
false
candyeaten
belief boolean candyeaten
- Default fact:
false
eat_candy
achievegoal eat_candy()
- BDI flags:
- retry: true
- retry delay: 0
- exclude: when_tried
- random selection: false
- meta-level reasoning: true
- post to all: false
- Target Condition:
$beliefbase.candyeaten
get_candy
standard plan get_candy()
- Plan body:
new BeliefChangePlan("candyeaten", new Boolean(true))
- Goal Trigger:
eat_candy
open_jar
standard plan open_jar()
- Plan body:
new BeliefChangePlan("jaropen", new Boolean(true))
- Goal Trigger:
eat_candy
default
default initial state default
- Initial Goals:
- eat_candy
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.