|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStand
A stand is the location at which public transport vehicles (buses, trains, trams, etc) stop to pick up and set down passengers.
| Nested Class Summary | |
|---|---|
static class |
IStand.Accessibility
The status of a stand for each service |
| Field Summary | |
|---|---|
static String |
ARRIVAL_SUFFIX
Suffix used for naming arrival route branches |
static String |
DEPARTURE_SUFFIX
Suffix used for naming boarding route branches |
static IStand[] |
ZERO
A static zero-length array, created for convenience, and to save memory |
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
void |
addUnreleased(ITransportTrip trip)
Add this trip to the list of those waiting for departure at this stand |
boolean |
anyTransportHere(boolean testArrived)
Returns true if there is currently a transport here. |
IArea |
areaOnArrival(IPerson person)
choose the arrival area based on route splits |
ITwig |
arrivalTwig()
THe routing branch connecting arriving services to this stand |
ITwig |
boardingTwig()
The routing branch connecting this stand to departing services |
ICourse |
courseOnArrival(IPerson person)
Return the course (to a walkway) that the given person shoudl take on arrival. |
ICourse[] |
courses()
Any courses connected to this stand |
IArea |
directArea()
Deprecated. A stand can now have more than one direct area |
IArea[] |
directArrivalAreas()
Return all arrival areas connected to this stand |
IArea[] |
directDepartureAreas()
Return all departure areas connected to this stand |
int |
doors()
The number of doors on any transport that stops here - this affect how channels will be attached, and how people will queue for the next transport to arrive. |
void |
draw(IDrawing drw,
double scale,
int rgb)
Draw this stand |
IDwell[] |
dwells()
All the dwells at this stand |
boolean |
inverted()
Returns true if this stand is on the "other" side of the lane from the normal side. |
boolean |
isLift()
Returns true if this stand is for a lift service |
boolean |
isTransition()
Returns true if this is a transition stand, which should be connected directly to an area, at the edge of the model. |
ILaneLocation |
location()
The lane-distance location of this stand |
double |
moveInDistance()
The distance before a stand (in m) that a transport will move in |
IDwell |
originBySplit(IPerson person)
Return the dwell that the given person would be assigned if using route splits |
void |
removeUnreleased(ITransportTrip trip)
Remove this trip from the list of those waiting for departure at this stand |
int |
slots()
The number of slots for vehicles at a stand. |
boolean |
spaceExists(IType type)
|
void |
timeSec()
Called every second of simulation |
| Methods inherited from interface com.azalient.api.a.tables.IDescribed |
|---|
description |
| Methods inherited from interface com.azalient.api.b.assignment.IDecisionOption |
|---|
openFrom |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Field Detail |
|---|
static final IStand[] ZERO
static final String DEPARTURE_SUFFIX
static final String ARRIVAL_SUFFIX
| Method Detail |
|---|
ILaneLocation location()
void timeSec()
IDwell[] dwells()
ICourse[] courses()
IDwell originBySplit(IPerson person)
ICourse courseOnArrival(IPerson person)
ITwig boardingTwig()
ITwig arrivalTwig()
void draw(IDrawing drw,
double scale,
int rgb)
double moveInDistance()
boolean anyTransportHere(boolean testArrived)
int doors()
boolean isTransition()
IArea directArea()
IArea[] directDepartureAreas()
IArea[] directArrivalAreas()
IArea areaOnArrival(IPerson person)
boolean inverted()
boolean isLift()
boolean spaceExists(IType type)
void addUnreleased(ITransportTrip trip)
void removeUnreleased(ITransportTrip trip)
int slots()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||