Uses of Class
eu.iv4xr.framework.mainConcepts.WorldModel
Package
Description
This package contains the implementation of iv4xr Env, State,
TacticLib, GoalLib etc, which are necessary to allow an aplib/iv4xr
test agent to control the game in the smart way.
-
Uses of WorldModel in eu.iv4xr.framework.environments
Modifier and TypeMethodDescriptionExecute an interaction of the specified type on the given target entity in the real environment.Execute an interaction of the specified type on the given target entity in the real environment.IW3DEnvironment.moveToward(String agentId, Vec3 agentLocation, Vec3 targetLocation)
A command to instruct an agent to move a small distance towards the given target location.W3DEnvironment.moveToward(String agentId, Vec3 agentLocation, Vec3 targetLocation)
A command to instruct an agent to move a small distance towards the given target location.Send a command to the real environment that will cause it to send back what the agent of the given id observes in the real environment. -
Uses of WorldModel in eu.iv4xr.framework.mainConcepts
Modifier and TypeFieldDescriptionIv4xrAgentState.worldmodel
Representing the current state of the target world.Modifier and TypeMethodDescriptionYou should implement this method.Iv4xrAgentState.worldmodel()
Return the value inIv4xrAgentState.worldmodel
.Modifier and TypeMethodDescriptionWorldModel.mergeNewObservation(WorldModel observation)
This will merge a sampled (and more recent) observation (represented as another WorldModel) made by the agent into WorldModel.void
WorldModel.mergeOldObservation(WorldModel observation)
This is used to merge an older observation into this one. -
Uses of WorldModel in nl.uu.cs.aplib.exampleUsages.miniDungeon.testAgent
Modifier and TypeMethodDescriptionMyAgentEnv.action(String agentId, MiniDungeon.Command cmd)
(package private) WorldModel
TacticLib.moveTo(MyAgentState state, Sparse2DTiledSurface_NavGraph.Tile targetTile)
Observing does not advance the game turn.