|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.traffic.station.Station
This class is the implementation of a station. A station is considered as
just one side of the track. Therefore, it might be that two stations have the
same name, but they will have different code/codecompany
(c) copyright * 2003-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
static java.lang.String |
PLATFORM_LEFT
Side of the station |
static java.lang.String |
PLATFORM_RIGHT
Side of the station |
java.lang.String |
platformSide
side where the station will be placed |
| Constructor Summary | |
Station(java.lang.String name,
java.lang.String stationCode,
java.lang.String stationCompanyCode,
TrackInterface startTrack,
double stationProgression,
double requestDistance,
double stationLength,
double stoppingPlaceLength,
double haltingTime,
java.lang.String platformSide,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator)
|
|
| Method Summary | |
StoppingPlace |
getAccessibleStoppingPlace(java.util.List stoppingPlacesList)
retrieve the accessible stopping place at the stationTrack |
javax.media.j3d.Bounds |
getBounds()
|
double |
getHaltingTime()
|
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation()
|
java.lang.String |
getName()
|
java.lang.String |
getPlatformSide()
|
double |
getProgression()
|
TrackInterface |
getStartTrack()
|
java.lang.String |
getStationCode()
|
java.lang.String |
getStationCompanyCode()
|
double |
getStationLength()
|
java.util.List |
getStoppingPlacesList()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PLATFORM_LEFT
public static final java.lang.String PLATFORM_RIGHT
public java.lang.String platformSide
| Constructor Detail |
public Station(java.lang.String name,
java.lang.String stationCode,
java.lang.String stationCompanyCode,
TrackInterface startTrack,
double stationProgression,
double requestDistance,
double stationLength,
double stoppingPlaceLength,
double haltingTime,
java.lang.String platformSide,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator)
name - of the stationstartTrack - the first track of the station (first position where
the vehicles will stop)stationCode - string or number that identifies the stationTrackstationCompanyCode - number that identifies the stationTrackplatformSide - side where the station will be placedstationProgression - position related to the startTrack where the
station startsrequestDistance - stationLength - stationLength of the stationTrackstoppingPlaceLength - stationLength of each stoppingPlacehaltingTime - simulator - | Method Detail |
public StoppingPlace getAccessibleStoppingPlace(java.util.List stoppingPlacesList)
stoppingPlacesList -
public java.lang.String getName()
public double getStationLength()
public double getProgression()
public TrackInterface getStartTrack()
public java.util.List getStoppingPlacesList()
public java.lang.String getStationCode()
public java.lang.String getStationCompanyCode()
public java.lang.String getPlatformSide()
public double getHaltingTime()
public nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
throws java.rmi.RemoteException
getLocation in interface nl.tudelft.simulation.dsol.animation.LocatableInterfacejava.rmi.RemoteExceptionLocatableInterface.getLocation()
public javax.media.j3d.Bounds getBounds()
throws java.rmi.RemoteException
getBounds in interface nl.tudelft.simulation.dsol.animation.LocatableInterfacejava.rmi.RemoteExceptionLocatableInterface.getBounds()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||