|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.traffic.station.StoppingPlace
This class is the implementation of a stopping place. Each station is divided
into stopping places and the number varies accordingly to its length
(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
| Constructor Summary | |
StoppingPlace(Station station,
TrackInterface track,
double progression,
double requestDistance,
double length,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator)
|
|
| Method Summary | |
boolean |
claimStoppingPlace()
|
double |
getLength()
|
double |
getProgression()
|
TrackInterface |
getStartTrack()
|
Station |
getStation()
|
boolean |
isClaimed()
check if the place was already claimed |
void |
pass(VehiclePhysicalInterface vehicle)
(non-Javadoc) |
void |
releaseStoppingPlace()
make the stopping place available |
void |
setClaimed(boolean claimed)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StoppingPlace(Station station,
TrackInterface track,
double progression,
double requestDistance,
double length,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator)
station - station to where it belongstrack - starting track of the stopping placeprogression - position related to the track where the stoppingPlace
startsrequestDistance - length - length of the stopping placesimulator - | Method Detail |
public boolean claimStoppingPlace()
public void releaseStoppingPlace()
public void pass(VehiclePhysicalInterface vehicle)
vehicle - ControlPointInterface.pass(nl.tudelft.simulation.traffic.vehicle.VehiclePhysicalInterface)public Station getStation()
public boolean isClaimed()
public double getLength()
public double getProgression()
public void setClaimed(boolean claimed)
claimed - The claimed to set.public TrackInterface getStartTrack()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||