|
Jadex 0.96 | ||||||||
PREV AGENT NEXT AGENT | FRAMES NO FRAMES | ||||||||
SUMMARY: | BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION | DETAIL: BELIEF | GOAL | PLAN | EVENT | EXPRESSION | CONFIGURATION |
The movement capability supplies the agents with basic goals, plans and beliefs for moving around.
Belief Summary | |
exported abstract required beliefref Environment |
environment
The environment as singleton object. |
exported belief boolean |
missionend
Is the mission finished? |
exported abstract required beliefref Location |
my_home
The home location. |
exported abstract required beliefref Location |
my_location
The current location. |
exported abstract required beliefref double |
my_speed
The speed. |
exported beliefset Target |
my_targets
The seen targets. |
exported abstract required beliefref String |
my_type
The agent type (carry, producer or sentry) |
exported abstract required beliefref double |
my_vision
The sight radius. |
Goal Summary | |
achievegoal |
missionend(Location destination)
Move home when missionend. |
exported achievegoal |
move_dest(Location destination)
Move to a cretain location. |
exported performgoal |
walk_around()
Walk around without target when nothing else to do. |
exported performgoal |
watch_targets()
Watch for targets and memorize them. |
Plan Summary | |
standard plan |
find_targets()
Find targets and save them. |
standard plan |
go_destination(Location destination)
Go to a destination. |
standard plan |
randomwalk()
Walk around randomly. |
Belief Detail |
exported belief boolean missionend
$beliefbase.environment.getHomebase().getRemainingMissionTime()==0
exported beliefset Target my_targets
exported abstract required beliefref Environment environment
exported abstract required beliefref Location my_location
exported abstract required beliefref Location my_home
exported abstract required beliefref String my_type
exported abstract required beliefref double my_speed
exported abstract required beliefref double my_vision
Goal Detail |
exported performgoal walk_around()
$beliefbase.missionend
exported performgoal watch_targets()
$beliefbase.missionend
exported achievegoal move_dest(Location destination)
destination
achievegoal missionend(Location destination)
destination
Default value:
$beliefbase.my_home
$beliefbase.missionend
&& !$beliefbase.my_location.isNear($beliefbase.my_home)
Plan Detail |
standard plan go_destination(Location destination)
destination
(goal mappings: move_dest.destination missionend.destination)
move_dest
missionend
standard plan randomwalk()
walk_around
standard plan find_targets()
watch_targets
|
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.