Interface Walk

All Known Implementing Classes:
BusWalk, DynGraphWalk, GraphWalk, LevyWalk, LimitedAreaGraphWalk, RandomWaypoint, TractorWalk

public interface Walk
An interface that defines a mobility model for nodes moving in some area, and provides general-purpose methods for handling Walker instances in MobSim.
  • Method Summary

    Modifier and Type
    Method
    Description
    casa.util.geom.AreaCar
    Returns the area in which this walk is defined.
    getWalker(long time, String nodeId)
    Returns a new Walker that will move according to the mobility model implemented in this instance of Walk.
  • Method Details

    • getArea

      casa.util.geom.AreaCar getArea()
      Returns the area in which this walk is defined.
      Returns:
      the AreaCar in which this walk is defined
    • getWalker

      Walker getWalker(long time, String nodeId)
      Returns a new Walker that will move according to the mobility model implemented in this instance of Walk.
      Parameters:
      time - the time of creation of this walker
      nodeId -
      Returns:
      a new Walker, whose mobility starts at the specified time