|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRouteClass
A route class encodes parameters for weighting route costs. It is appropriate for modelling different classes of roads or walkways, in order to bias any routing towards major routes.
| Field Summary | |
|---|---|
static Speed |
STD_SPEED_P
The standard travel speed (for pedestrians) on walkways |
static Speed |
STD_SPEED_T
The standard travel speed (for trains) on railways |
static Speed |
STD_SPEED_V
The standard travel speed (for vehicles) on roads |
| Fields inherited from interface com.azalient.api.ui.clipboard.IAssociate |
|---|
scratch, ZERO |
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
NamedColour |
color()
A colour assigned to this route class, for display purposes |
IMotorCalibration.FollowingModel |
followingModel()
The following model for this class of route. |
Price |
pricePerLongDistanceUnit()
The (monetary) price of travelling one long-distance unit on this class of route. |
double |
routeDistanceFactor(IBehaviour behaviour)
A multiplicative scaling factor, default value 1.0, for route distances on this class of route. |
double |
routePriceFactor(IBehaviour behaviour)
A multiplicative scaling factor, default value 1.0, for route prices on this class of route. |
double |
routeTimeFactor(IBehaviour behaviour)
A multiplicative scaling factor, default value 1.0, for route times on this class of route. |
Speed |
speed()
The speed of travel on this route class |
SurfaceMode |
surfaceMode()
The surface mode - footpath, road or railway |
| Methods inherited from interface com.azalient.api.ui.clipboard.IPastable |
|---|
finish, pickables |
| Methods inherited from interface com.azalient.api.ui.clipboard.IAssociate |
|---|
clip, name, proxy, selected |
| Methods inherited from interface com.azalient.api.ui.clipboard.IDraggable |
|---|
selected, selectedForDraggingDraw |
| Methods inherited from interface com.azalient.api.ui.clipboard.IActionable |
|---|
action |
| 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 |
| Methods inherited from interface com.azalient.api.a.tables.IDescribed |
|---|
description |
| Field Detail |
|---|
static final Speed STD_SPEED_P
static final Speed STD_SPEED_V
static final Speed STD_SPEED_T
| Method Detail |
|---|
NamedColour color()
Speed speed()
SurfaceMode surfaceMode()
Price pricePerLongDistanceUnit()
double routeDistanceFactor(IBehaviour behaviour)
behaviour - The behaviour to which this scale factor applies, which can be null. If no behaviour is specified
the factor will be taken from the default "all-behaviours" specification.double routeTimeFactor(IBehaviour behaviour)
behaviour - The behaviour to which this scale factor applies, which can be null. If no behaviour is specified
the factor will be taken from the default "all-behaviours" specification.double routePriceFactor(IBehaviour behaviour)
behaviour - The behaviour to which this scale factor applies, which can be null. If no behaviour is specified
the factor will be taken from the default "all-behaviours" specification.IMotorCalibration.FollowingModel followingModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||