Class IgnoreStreets

  • All Implemented Interfaces:
    it.unibo.alchemist.model.movestrategies.RoutingStrategy , java.io.Serializable

    
    public final class IgnoreStreets<T, P extends Position<P>>
     implements RoutingStrategy<T, P>
                        

    This strategy ignores any information about the map, and connects the starting and ending point with a straight line using PolygonalChain.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      IgnoreStreets()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Route<P> computeRoute(P currentPos, P finalPos)
      • Methods inherited from class it.unibo.alchemist.model.movestrategies.RoutingStrategy

        cloneIfNeeded
      • Methods inherited from class java.lang.Object

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

      • IgnoreStreets

        IgnoreStreets()