|
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.marsworld.sentry.Sentry
jadex.planlib.DF
jadex.examples.marsworld.movement.Movement
Belief Summary | |
beliefset Target |
analysed_targets
The seen targets. |
belief Environment |
environment
The environment as singleton object. |
beliefref |
missionend
Is the mission finished? |
belief Location |
my_home
The home location. |
belief Location |
my_location
The current location. |
belief double |
my_speed
The speed. |
beliefset Target |
my_targets
The seen targets. |
belief String |
my_type
The agent type (carry, producer or sentry) |
belief double |
my_vision
The sight radius. |
Goal Summary | |
achievegoal |
analyse_target(Target target)
Analyse a target. |
achievegoalref |
df_deregister
Deregister the agent description at the df. |
achievegoalref |
df_register
Register the agent description at the df. |
achievegoalref |
df_search
Usable for searching other agents. |
achievegoal |
find_targets()
Look for targets. |
achievegoalref |
move_dest
Move to some destination. |
performgoalref |
walk_around
Just walk around without a target. |
Plan Summary | |
standard plan |
add_target()
Add a new target when new info available. |
standard plan |
do_analyse(Target target)
Analyse a target. |
standard plan |
do_find()
Find targets and add them to the targets belief. |
Event Summary | |
messageevent |
request_producer(String language, String ontology, String performative)
|
messageevent |
target_inform(Class content-class, String ontology, String performative)
Other agents inform the sentries about discovered potential ore resources. |
Configuration Summary | |
default configuration |
default
|
Belief Detail |
belief Environment environment
Environment.getInstance()
environment
in capability Movement
belief Location my_home
$beliefbase.environment.getHomebase().getLocation()
my_home
in capability Movement
belief Location my_location
$beliefbase.my_home
my_location
in capability Movement
belief String my_type
Environment.SENTRY_AGENT
my_type
in capability Movement
belief double my_speed
5
my_speed
in capability Movement
belief double my_vision
0.1
my_vision
in capability Movement
beliefset Target my_targets
beliefset Target analysed_targets
beliefref missionend
$beliefbase.environment.getHomebase().getRemainingMissionTime()==0
missionend
in capability Movement
Goal Detail |
achievegoal find_targets()
$beliefbase.missionend
achievegoal analyse_target(Target target)
target
Binding options:
select $target from $beliefbase.my_targets
where !$beliefbase.getBeliefSet("analysed_targets").containsFact($target)
(select one Target $target from $beliefbase.my_targets
order by $beliefbase.my_location.getDistance($target.getLocation()))
== $goal.target
!$beliefbase.missionend
$beliefbase.missionend
$beliefbase.getBeliefSet("analysed_targets").containsFact($goal.target)
walk_around
performgoalref walk_around
walk_around
in capability Movement
achievegoalref move_dest
destination
move_dest
in capability Movement
achievegoalref df_register
description
df
leasetime
result
df_register
in capability jadex.planlib.DF
achievegoalref df_deregister
description
df
df_deregister
in capability jadex.planlib.DF
achievegoalref df_search
constraints
description
df
result
df_search
in capability jadex.planlib.DF
Plan Detail |
standard plan do_find()
find_targets
standard plan do_analyse(Target target)
target
(goal mappings: analyse_target.target)
analyse_target
standard plan add_target()
target_inform
Event Detail |
messageevent target_inform(Class content-class, String ontology, String performative)
content-class
Default value:
Target.class
ontology
Default value:
MarsOntology.ONTOLOGY_NAME
performative
Default value:
SFipa.INFORM
messageevent request_producer(String language, String ontology, String performative)
language
Default value:
SFipa.NUGGETS_XML
ontology
Default value:
MarsOntology.ONTOLOGY_NAME
performative
Default value:
SFipa.REQUEST
Configuration Detail |
default configuration default
$propertybase.getProperty("fipa.agentdescription.sentry")
|
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.