Class LimitedAreaGraphWalk

java.lang.Object
casa.lepton.walk.GraphWalk
casa.lepton.walk.LimitedAreaGraphWalk
All Implemented Interfaces:
Walk

public class LimitedAreaGraphWalk extends GraphWalk
A Walk that defines a mobility model where nodes move along an underlying graph (GraphWalk), but inside a given area inside this graph potentially smaller than the whole graph area.
  • Constructor Details

    • LimitedAreaGraphWalk

      public LimitedAreaGraphWalk(casa.util.geom.AreaCar area, long minWait, long maxWait, double minSpeed, double maxSpeed, org.graphstream.graph.Graph graph, String pauseType, Random random)
  • Method Details

    • getDefault

      public static GraphWalk getDefault(OppNodeProperties props)
    • getWalker

      public Walker getWalker(long time, String nodeId)
      Description copied from interface: Walk
      Returns a new Walker that will move according to the mobility model implemented in this instance of Walk.
      Specified by:
      getWalker in interface Walk
      Overrides:
      getWalker in class GraphWalk
      Parameters:
      time - the time of creation of this walker
      Returns:
      a new Walker, whose mobility starts at the specified time