Package casa.lepton.walk
Class BusWalk
java.lang.Object
casa.lepton.walk.BusWalk
- All Implemented Interfaces:
Walk
A
Walk
that provides BusWalker
instances for the journeys of
buses of a bus line. The journeys are loaded from a journeys file and the
paths files listed as the first line of this file in the same directory.
Moreover, this class has a main method used to generate a DGS file from the
journeys of a bus line-
Method Summary
Modifier and TypeMethodDescriptioncasa.util.geom.AreaCar
getArea()
Returns the area in which this walk is defined.static BusWalk
getDefault
(OppNodeProperties props) Method called to generate an instance of this class inOppNodeProperties.getWalk()
static void
-
Method Details
-
getDefault
Method called to generate an instance of this class inOppNodeProperties.getWalk()
- Parameters:
props
- the properties that contains the journeys directory and filename and the seed- Returns:
- instance of this class
-
getArea
public casa.util.geom.AreaCar getArea()Description copied from interface:Walk
Returns the area in which this walk is defined. -
getWalker
Description copied from interface:Walk
-
main
- Throws:
IOException
ParseException
-