| 
 | 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  | dfThe df to search for the environment. | 
| belief AgentIdentifier  | environmentagentThe environment. | 
| exported beliefset Food  | foodThe known food. | 
| exported beliefset Hunter  | huntersThe known hunters. | 
| exported abstract required beliefref Creature  | my_selfThe agents vision of itself. | 
| exported beliefset Obstacle  | obstaclesThe known obstacles. | 
| exported beliefset Prey  | preysThe known preys. | 
| exported belief Vision  | visionThe 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_objectsQuery 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)
visionexported achievegoal move(String direction)
directionexported achievegoal eat(WorldObject object)
objectmaintaingoal maintain_lease(Object result)
result -  Hack!!! Result required for getvision plan. todo: refactor $beliefbase.my_self.getLeaseticks()>10$beliefbase.my_self.getLeaseticks()>10achievegoalref df_search
addressconstraintsdescriptiondfresultdf_search in capability jadex.adapter.standalone.planlib.DF_standaloneachievegoalref goal_request
contentlanguageontologyreceiverresulttimeoutgoal_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_visionmaintain_leasestandard plan move(String direction)
direction (goal mappings: move.direction)new MovePlan()movestandard plan eat(WorldObject object)
object (goal mappings: eat.object)new EatPlan()eatstandard plan updatevision()
new UpdateVisionPlan()inform_vision| Event Detail | 
messageevent inform_vision(CurrentVision content, 
                           Class content-class, 
                           String language, 
                           String ontology, 
                           String performative)
contentcontent-class Default value:
 CurrentVision.classlanguage Default value:
 SFipa.JAVA_XMLontology Default value:
 HunterPreyOntology.ONTOLOGY_NAMEperformative Default value:
 SFipa.INFORMmessageevent 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.