Package 

Interface NavigationStrategy

    • 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 Unit inNewRoom(N newRoom) This is called whenever the pedestrian enters a new room.
      Unit inUnexpectedNewRoom(N previousRoom, N expectedNewRoom, N actualNewRoom) This is called in place of inNewRoom when the pedestrian ends up in an unexpected room while moving.
      abstract NavigationAction<T, P, A, L, R, N, E> getAction() The NavigationAction used to navigate the environment.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • inNewRoom

         abstract Unit inNewRoom(N newRoom)

        This is called whenever the pedestrian enters a new room.

      • inUnexpectedNewRoom

         Unit inUnexpectedNewRoom(N previousRoom, N expectedNewRoom, N actualNewRoom)

        This is called in place of inNewRoom when the pedestrian ends up in an unexpected room while moving. By default, unexpected rooms are treated just like expected ones.