Interface EnvironmentWithGraph

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Environment , it.unibo.alchemist.model.EnvironmentWithObstacles , it.unibo.alchemist.model.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 Transformation<P>, N extends ConvexShape<P, A>, E extends Object>
     implements EnvironmentWithObstacles<W, T, P>
                        

    An EnvironmentWithObstacles providing a NavigationGraph. This is a graph whose nodes are ConvexShapes 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract NavigationGraph<P, A, N, E> getGraph() The navigation graph.
      • Methods inherited from class it.unibo.alchemist.model.Environment

        addGlobalReaction, addLayer, addNode, addTerminator, getDimensions, getDistanceBetweenNodes, getGlobalReactions, getIncarnation, getLayer, getLayers, getLinkingRule, getNeighborhood, getNodeByID, getNodeCount, getNodes, getNodesWithinRange, getNodesWithinRange, getOffset, getPosition, getSimulation, getSize, getSizeInDistanceUnits, isTerminated, makePosition, moveNodeToPosition, removeGlobalReaction, removeNode, setLinkingRule, setSimulation
      • Methods inherited from class it.unibo.alchemist.model.EnvironmentWithObstacles

        addObstacle, getObstacles, intersectsObstacle, next, removeObstacle
      • Methods inherited from class kotlin.collections.Iterable

        forEach, spliterator
      • Methods inherited from class kotlin.collections.MutableIterable

        iterator
      • Methods inherited from class it.unibo.alchemist.model.EuclideanEnvironment

        getOrigin, makePosition, moveNode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait