|
Jadex 0.941 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE |
jadex.examples.hunterprey.creature.actsense.Creature
jadex.adapter.standalone.planlib.DF_standalone
Creature capability. Provides basic creature behaviour (looking/moving).
Belief Summary | |
exported abstract beliefref AgentIdentifier |
df
The df to search for the environment. |
belief AgentIdentifier |
environmentagent
The environment. |
exported beliefset Food |
food
The known food. |
exported beliefset Hunter |
hunters
The known hunters. |
exported abstract required beliefref Creature |
my_self
The agents vision of itself. |
exported beliefset Obstacle |
obstacles
The known obstacles. |
exported beliefset Prey |
preys
The known preys. |
exported belief Vision |
vision
The current vision. |
Goal Summary | |
achievegoalref |
df_search
|
exported achievegoal |
eat(WorldObject object)
Eat goal. |
exported achievegoal |
get_vision(Vision vision)
Get vision goal. |
achievegoalref |
goal_request
|
maintaingoal |
maintain_lease(Object result)
Maintain leasetime goal. |
exported achievegoal |
move(String direction)
Move goal. |
Plan Summary | |
standard plan |
eat(WorldObject object)
Handle an eat goal. |
standard plan |
getvision(Vision vision)
Handle a move goal. |
standard plan |
move(String direction)
Handle a move goal. |
standard plan |
updatevision()
Handle a new vision request. |
Event Summary | |
messageevent |
failure(String performative)
|
messageevent |
inform_vision(CurrentVision content, Class content-class, String language, String ontology, String performative)
|
Expression Summary | |
expression |
query_in_vision_objects
Query all objects from the beliefs that are currently in sight. |
Initial State Summary | |
default initial state |
default
|
Belief Detail |
belief AgentIdentifier environmentagent
exported belief Vision vision
exported beliefset Prey preys
exported beliefset Hunter hunters
exported beliefset Obstacle obstacles
exported beliefset Food food
exported abstract beliefref AgentIdentifier df
exported abstract required beliefref Creature my_self
Goal Detail |
exported achievegoal get_vision(Vision vision)
vision
exported achievegoal move(String direction)
direction
exported achievegoal eat(WorldObject object)
object
maintaingoal maintain_lease(Object result)
result
- Hack!!! Result required for getvision plan. todo: refactor $beliefbase.my_self.getLeaseticks()>10
$beliefbase.my_self.getLeaseticks()>10
achievegoalref df_search
address
constraints
description
df
result
df_search
in capability jadex.adapter.standalone.planlib.DF_standalone
achievegoalref goal_request
content
language
ontology
receiver
result
timeout
goal_request
in capability jadex.adapter.standalone.planlib.DF_standalone
Plan Detail |
standard plan getvision(Vision vision)
vision
(goal mappings: get_vision.vision maintain_lease.result)new GetVisionPlan()
get_vision
maintain_lease
standard plan move(String direction)
direction
(goal mappings: move.direction)new MovePlan()
move
standard plan eat(WorldObject object)
object
(goal mappings: eat.object)new EatPlan()
eat
standard plan updatevision()
new UpdateVisionPlan()
inform_vision
Event Detail |
messageevent inform_vision(CurrentVision content, Class content-class, String language, String ontology, String performative)
content
content-class
Default value:
CurrentVision.class
language
Default value:
SFipa.JAVA_XML
ontology
Default value:
HunterPreyOntology.ONTOLOGY_NAME
performative
Default value:
SFipa.INFORM
messageevent failure(String performative)
performative
Default value:
SFipa.FAILURE
Expression Detail |
expression query_in_vision_objects
select WorldObject $object
from SUtil.joinArbitraryArrays(new Object[]
{
$beliefbase.preys,
$beliefbase.hunters,
$beliefbase.obstacles,
$beliefbase.food
})
where $beliefbase.my_self.isInVisionRange($object.getLocation())
Initial State Detail |
default initial state default
|
Jadex 0.941 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | INITIAL STATE |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.