-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Environment,it.unibo.alchemist.model.interfaces.EnvironmentWithObstacles,it.unibo.alchemist.model.interfaces.EuclideanEnvironment,java.io.Serializable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public interface EnvironmentWithGraph<W extends Obstacle<P>, T extends Object, P extends Position<P>, Vector<P>, A extends GeometricTransformation<P>, N extends ConvexGeometricShape<P, A>, E extends Object> implements EnvironmentWithObstacles<W, T, P>
An EnvironmentWithObstacles providing a NavigationGraph. This is a graph whose nodes are ConvexGeometricShapes representing areas of the environment traversable by agents (namely, walkable areas), whereas edges represent connections between these areas. For instance, in an indoor environment, nodes should represent rooms and corridors, whereas edges should represent doors and passages. This data structure is also known as navigation mesh.
-
-
Method Summary
Modifier and Type Method Description abstract NavigationGraph<P, A, N, E>getGraph()The navigation graph. abstract List<W>getObstacles()PgetOrigin()-
Methods inherited from class it.unibo.alchemist.model.interfaces.EuclideanEnvironment
addLayer, addNode, addTerminator, getDimensions, getDistanceBetweenNodes, getIncarnation, getLayer, getLayers, getLinkingRule, getNeighborhood, getNodeByID, getNodeCount, getNodes, getNodesWithinRange, getNodesWithinRange, getOffset, getPosition, getSimulation, getSize, getSizeInDistanceUnits, isTerminated, makePosition, moveNodeToPosition, removeNode, setLinkingRule, setSimulation -
Methods inherited from class it.unibo.alchemist.model.interfaces.environments.EnvironmentWithGraph
addObstacle, intersectsObstacle, next, removeObstacle -
Methods inherited from class kotlin.collections.MutableIterable
forEach, spliterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.Environment
iterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.EnvironmentWithObstacles
makePosition, moveNode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-