Interface OrientingAgent

    • 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<V, A>> Unit registerVisit(M area) Registers a visit to the provided area in the agent's volatileMemory.
      abstract Double getKnowledgeDegree() The knowledge degree of the agent concerning the environment.
      abstract NavigationGraph<V, A, L, R> getCognitiveMap() The cognitive map of the agent.
      abstract Map<ConvexShape<V, 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 java.lang.Object

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

    • Method Detail

      • 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 node will gain during it, namely the volatileMemory).

      • getCognitiveMap

         abstract NavigationGraph<V, A, L, R> 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<V, 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.