jadex.examples.hunterprey.creature.preys.cleverprey
Agent CleverPrey
jadex.examples.hunterprey.creature.preys.cleverprey.CleverPrey
jadex.examples.hunterprey.creature.preys.basicbehaviour.BasicBehaviour
jadex.examples.hunterprey.creature.actsense.Creature
jadex.planlib.DF
jadex.planlib.Protocols
- agent CleverPrey
- contains BasicBehaviour
The clever prey coordinates eating and fleeing.
The clever prey uses three goal types:
- Running away from hunters (maintain keep alone).
- Eating food if discovered (achieve eat_food).
- Searching for food (perform wander around).
Configuration Summary |
default configuration |
default
|
my_self
belief Creature my_self
- The creature
- Default fact:
new Prey($agent.getName(), (AgentIdentifier)$agent.getAgentIdentifier(), new Location(10,10))
- Assign to:
my_self
in capability BasicBehaviour
default
default configuration default
- Initial Capabilities:
- BasicBehaviour Configuration
wander_flee_eat
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.