|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
jadex.examples.hunterprey.creature.hunters.ldahunter.LAHunter
jadex.examples.hunterprey.creature.actsense.Creature
jadex.planlib.DF
jadex.planlib.Protocols
Belief Summary | |
beliefsetref |
food
The known food. |
beliefsetref |
hunters
The known hunters. |
belief String |
last_direction
|
belief Creature |
my_self
The creature. |
belief Prey |
next_sheep
|
beliefsetref |
obstacles
The known obstacles. |
belief JointField |
potential_field
|
belief PotentialFrame |
potential_window
|
beliefsetref |
preys
The known preys. |
beliefref |
vision
The current vision. |
Goal Summary | |
achievegoalref |
eat
|
performgoal |
hunt()
|
achievegoalref |
move
|
Plan Summary | |
standard plan |
do_hunt()
|
Configuration Summary | |
default configuration |
default
|
Belief Detail |
belief Creature my_self
new Hunter($agent.getName(), (AgentIdentifier)$agent.getAgentIdentifier(), new Location(10,10))
my_self
in capability Creature
belief String last_direction
belief Prey next_sheep
select one Prey $prey
from $beliefbase.preys
where $beliefbase.my_self.isInVisionRange($prey.getLocation())
order by $prey.getDistance($beliefbase.my_self)
belief JointField potential_field
new JointField (30,30,3,new Evaluator(0.0, 1.0, 0.0, 0.001))
belief PotentialFrame potential_window
new PotentialFrame($agent.getExternalAccess(), "World of "+$beliefbase.my_self.getName())
beliefref vision
vision
in capability Creature
beliefsetref preys
preys
in capability Creature
beliefsetref hunters
hunters
in capability Creature
beliefsetref obstacles
obstacles
in capability Creature
beliefsetref food
food
in capability Creature
Goal Detail |
performgoal hunt()
achievegoalref move
direction
move
in capability Creature
achievegoalref eat
object
eat
in capability Creature
Plan Detail |
standard plan do_hunt()
hunt
Configuration Detail |
default configuration default
|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.