jadex.examples.hunterprey.creature.hunters.dumbhunter
Agent DumbHunter
jadex.examples.hunterprey.creature.hunters.dumbhunter.DumbHunter
jadex.examples.hunterprey.creature.actsense.Creature
jadex.planlib.DF
jadex.planlib.Protocols
- agent DumbHunter
- contains Creature
The dumb hunter.
Exhibits very basic chasing behaviour.
Runs to the nearest prey in the current vision.
Goal Summary |
achievegoalref |
eat
|
achievegoalref |
move
|
Plan Summary |
standard plan |
dumbmove()
Dumb move plan. |
Configuration Summary |
default configuration |
default
|
my_self
belief Creature my_self
- The creature
- Default fact:
new Hunter($agent.getName(), (AgentIdentifier)$agent.getAgentIdentifier(), new Location(10,10))
- Assign to:
my_self
in capability Creature
vision
beliefref vision
- The current vision.
- Referenced from:
vision
in capability Creature
move
achievegoalref move
- Parameters:
- parameterref
direction
- Referenced from:
move
in capability Creature
eat
achievegoalref eat
- Parameters:
- parameterref
object
- Referenced from:
eat
in capability Creature
dumbmove
standard plan dumbmove()
- Dumb move plan.
- Plan body:
default
default configuration default
- Initial Plans:
- dumbmove
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.