Uses of Class
eu.iv4xr.framework.mainConcepts.Iv4xrAgentState
Package
Description
Contains examples of suggested goals and tactics that developers can
implement.
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 Iv4xrAgentState in eu.iv4xr.framework.environments
Modifier and TypeClassDescriptionclass
Provide a subclass ofIv4xrAgentState
that usesSurfaceNavGraph
as navigation graph. -
Uses of Iv4xrAgentState in eu.iv4xr.framework.goalsAndTactics
Modifier and TypeFieldDescriptionSa1Solver.distanceBetweenEntities
Sa1Solver.distanceToAgent
A function that returns the "distance" between an entity and the agent.Sa1Solver.explorationExhausted
Sa1Solver.reachabilityChecker
A function to check if an entity is reachable from the agent's position.Modifier and TypeMethodDescription(package private) WorldEntity
Sa1Solver.nextCandidate(Iv4xrAgentState<NavgraphNode> belief, List<String> visited, Predicate<WorldEntity> selector, String tId, Sa1Solver.Policy policy)
ModifierConstructorDescriptionSa1Solver(BiFunction<Iv4xrAgentState<NavgraphNode>,WorldEntity,Boolean> reachabilityChecker, BiFunction<Iv4xrAgentState<NavgraphNode>,WorldEntity,Float> distanceToAgent, Function<Iv4xrAgentState<NavgraphNode>,BiFunction<WorldEntity,WorldEntity,Float>> distanceFunction, Function<String,GoalStructure> gCandidateIsInteracted, Function<String,GoalStructure> gTargetIsRefreshed, Predicate<Iv4xrAgentState<NavgraphNode>> explorationExhausted, Function<Integer,GoalStructure> exploring)
Sa1Solver(BiFunction<Iv4xrAgentState<NavgraphNode>,WorldEntity,Boolean> reachabilityChecker, BiFunction<Iv4xrAgentState<NavgraphNode>,WorldEntity,Float> distanceToAgent, Function<Iv4xrAgentState<NavgraphNode>,BiFunction<WorldEntity,WorldEntity,Float>> distanceFunction, Function<String,GoalStructure> gCandidateIsInteracted, Function<String,GoalStructure> gTargetIsRefreshed, Predicate<Iv4xrAgentState<NavgraphNode>> explorationExhausted, Function<Integer,GoalStructure> exploring)
Sa1Solver(BiFunction<Iv4xrAgentState<NavgraphNode>,WorldEntity,Boolean> reachabilityChecker, BiFunction<Iv4xrAgentState<NavgraphNode>,WorldEntity,Float> distanceToAgent, Function<Iv4xrAgentState<NavgraphNode>,BiFunction<WorldEntity,WorldEntity,Float>> distanceFunction, Function<String,GoalStructure> gCandidateIsInteracted, Function<String,GoalStructure> gTargetIsRefreshed, Predicate<Iv4xrAgentState<NavgraphNode>> explorationExhausted, Function<Integer,GoalStructure> exploring)
-
Uses of Iv4xrAgentState in eu.iv4xr.framework.mainConcepts
Modifier and TypeMethodDescriptionIv4xrAgentState.setEnvironment(Environment env)
Link the given environment to this State.Iv4xrAgentState.setWorldNavigation(Navigatable<NavgraphNode> navgraph)
Modifier and TypeMethodDescriptionstatic void
Iv4xrAgentState.loadSimpleNavGraph(Iv4xrAgentState<Integer> state)
If the environment attached to the given state has a navigation/surface-mesh, this method converts the mesh into a navigation graph.static void
Iv4xrAgentState.loadSimpleNavGraph(Iv4xrAgentState<Integer> state, Mesh mesh)
Covert the given surface-mesh into a navigation graph.static void
Iv4xrAgentState.loadSurfaceNavGraph(Iv4xrAgentState<Integer> state, float faceAreaThresholdToAddCenterNode)
If the environment attached to the given state has a navigation/surface-mesh, this method converts the mesh into a navigation graph.static void
Iv4xrAgentState.loadSurfaceNavGraph(Iv4xrAgentState<Integer> state, Mesh mesh, float faceAreaThresholdToAddCenterNode)
Covert the given surface-mesh into a navigation graph. -
Uses of Iv4xrAgentState in nl.uu.cs.aplib.exampleUsages.miniDungeon.testAgent