Interface OrientingProperty

    • 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
      <M extends ConvexShape<P, A>> Unit registerVisit(M area) Registers a visit to the provided area in the agent's volatileMemory.
      abstract L createLandmarkIn(N area) Creates a landmark entirely contained in the given area.
      abstract Double getKnowledgeDegree() The knowledge degree of the agent concerning the environment.
      abstract EnvironmentWithGraph<?, T, P, A, N, E> getEnvironment() The environment in which the node moves.
      abstract NavigationGraph<P, A, L, E> getCognitiveMap() The cognitive map of the agent.
      abstract Map<ConvexShape<P, A>, Integer> getVolatileMemory() The volatile memory of the agent: it models the ability to remember areas of the environment already visited since the start of the simulation.
      • Methods inherited from class it.unibo.alchemist.model.NodeProperty

        cloneOnNewNode, getNode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createLandmarkIn

         abstract L createLandmarkIn(N area)

        Creates a landmark entirely contained in the given area. If such area contains one or more destinations, the returned landmark must contain at least one of them.

      • getKnowledgeDegree

         abstract Double getKnowledgeDegree()

        The knowledge degree of the agent concerning the environment. This is a Double value in 0, 1 describing the percentage of environment the agent is familiar with prior to the start of the simulation (thus it does not take into account the knowledge the pedestrian will gain during it, namely the volatileMemory).

      • getCognitiveMap

         abstract NavigationGraph<P, A, L, E> getCognitiveMap()

        The cognitive map of the agent. It's a graph composed of landmarks (elements of the environment easy to remember due to their uniqueness) and spatial relations between them. It's modeled as a NavigationGraph.

      • getVolatileMemory

         abstract Map<ConvexShape<P, A>, Integer> getVolatileMemory()

        The volatile memory of the agent: it models the ability to remember areas of the environment already visited since the start of the simulation. Each area is paired with the number of visits. Areas are assumed to be represented as ConvexShapes, as in NavigationGraphs.