Interface IInteractiveWorldGoalLib<Location>
- All Known Implementing Classes:
GoalLib
public interface IInteractiveWorldGoalLib<Location>
This interface lists/suggests some commonly useful goal-structures for an
agent to go about in an interactive world.
- Author:
- Wish
-
Method Summary
Modifier and TypeMethodDescriptionentityInCloseRange(String entityId)
The method constructs a goal structure G that will guide an agent towards a world entity with the given id.entityInteracted(String entityId)
The method constructs a goal structure G, to make an agent interacts with the given entity.entityStateRefreshed(String entityId)
The method constructs a goal structure G that will guide an agent towards a world entity with the given id, until the entity becomes visible to the agent so that its knowledge on the entity state is refreshed.Construct a goal structure G that will make the agent explore the world.The method constructs a goal structure G that will guide an agent towards a given location p.
-
Method Details
-
positionInCloseRange
The method constructs a goal structure G that will guide an agent towards a given location p. The goal is solved when the agent is in a position close enough to the given location p. What "close" means is left unspecified. The executing agent can fail/abort the goal if it no longer believe it is possible to reach p. -
entityInCloseRange
The method constructs a goal structure G that will guide an agent towards a world entity with the given id. The goal is solved when the agent is in a position close enough to the entity. What "close" means is left unspecified. The executing agent can fail/abort the goal if it no longer believe it is possible to reach the entity. -
entityStateRefreshed
The method constructs a goal structure G that will guide an agent towards a world entity with the given id, until the entity becomes visible to the agent so that its knowledge on the entity state is refreshed. The goal is solved when the agent can see the entity. The executing agent can fail/abort the goal if it no longer believe it is possible to achieve the goal. -
entityInteracted
The method constructs a goal structure G, to make an agent interacts with the given entity. It is solved when the interaction is done. The executing agent can fail/abort the goal if the interaction is not possible (e.g. if it is not close enough to the entity to be able to interact with it). -
exploring
Construct a goal structure G that will make the agent explore the world. The exploration stops when either no further progress can be made, or when the given budget is exhausted. "Exploring" can be seen as a persistent goal (something that the agent should always strives to do). So, when it is terminated, it always terminate in a fail (this is intentional).If a heuristic location is given, the agent will try to explore towards this location.
-