|
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.preys.basicbehaviour.BasicBehaviour
jadex.examples.hunterprey.creature.actsense.Creature
jadex.planlib.DF
jadex.planlib.Protocols
Belief Summary | |
belief boolean |
eating_allowed
Configuration belief stating if eating is allowed. |
exported beliefsetref |
food
The know food. |
beliefset Food |
forbidden_food
Forbidden food. |
exported beliefsetref |
hunters
The known hunters. |
belief boolean |
is_indanger
Is the prey in danger. |
exported abstract required beliefref Creature |
my_self
The creature |
exported beliefsetref |
obstacles
The know obstacles. |
exported beliefref |
vision
The current vision. |
Goal Summary | |
achievegoalref |
eat
|
achievegoal |
eat_food(Food $food)
|
achievegoal |
goto_location(Location location)
|
maintaingoal |
keep_alone()
|
achievegoalref |
move
|
performgoal |
wander_around()
|
Plan Summary | |
standard plan |
eatfood(Food food)
Dumb move plan. |
standard plan |
escape()
Dumb move plan. |
standard plan |
gotoloc(Location location)
Wander around plan. |
standard plan |
removeforbiddenfood()
|
standard plan |
wander()
Wander around plan. |
Configuration Summary | |
default configuration |
flee
|
configuration |
wander_flee_eat
|
Belief Detail |
belief boolean is_indanger
$beliefbase.vision!=null &&
(select $object
from $beliefbase.vision.getObjects()
where $object instanceof Hunter).size()>0
belief boolean eating_allowed
true
beliefset Food forbidden_food
exported abstract required beliefref Creature my_self
my_self
in capability Creature
exported beliefref vision
vision
in capability Creature
exported beliefsetref hunters
hunters
in capability Creature
exported beliefsetref obstacles
obstacles
in capability Creature
exported beliefsetref food
food
in capability Creature
Goal Detail |
performgoal wander_around()
achievegoal eat_food(Food $food)
$food
Binding options:
$beliefbase.food
$beliefbase.eating_allowed &&
!$beliefbase.getBeliefSet("forbidden_food").containsFact($food)
wander_around
eat_food
$beliefbase.my_self.getDistance($goal.$food)
< $beliefbase.my_self.getDistance($ref.$food)
achievegoal goto_location(Location location)
location
maintaingoal keep_alone()
!$beliefbase.is_indanger
!$beliefbase.is_indanger
eat_food
wander_around
achievegoalref move
direction
move
in capability Creature
achievegoalref eat
object
eat
in capability Creature
Plan Detail |
standard plan gotoloc(Location location)
location
(goal mappings: goto_location.location)
goto_location
standard plan wander()
wander_around
standard plan escape()
keep_alone
standard plan eatfood(Food food)
food
(goal mappings: eat_food.$food)
eat_food
standard plan removeforbiddenfood()
vision
Configuration Detail |
default configuration flee
false
configuration wander_flee_eat
|
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.