Interface Walker

All Known Implementing Classes:
BusWalker, DynGraphWalker, GraphWalker, LevyWalker, LimitedAreaGraphWalker, RandomWaypointWalker, TractorWalker

public interface Walker
A Walker characterizes a mobile element that moves according to a certain kind of Walk.
  • Method Summary

    Modifier and Type
    Method
    Description
    casa.util.geom.CoordCar
    getPosition(long time)
    Returns a CoordCar object that defines the position of this Walker at the specified time.
    Returns a Step object that defines the current step of this Walker.
    Returns an Walk object that defines the mobility model of this Walker.
    Returns a Step object that defines the next step of this Walker.
  • Method Details

    • getWalk

      Walk getWalk()
      Returns an Walk object that defines the mobility model of this Walker.
      Returns:
      the kind of Walk of this Walker.
    • getPosition

      casa.util.geom.CoordCar getPosition(long time)
      Returns a CoordCar object that defines the position of this Walker at the specified time.
      Parameters:
      time - the time for which the position is requested
      Returns:
      the position of this Walker at the specified time
    • getStep

      Step getStep()
      Returns a Step object that defines the current step of this Walker.
      Returns:
      the current Step of this Walker.
    • nextStep

      Step nextStep()
      Returns a Step object that defines the next step of this Walker.
      Returns:
      the next Step of this Walker.