com.azalient.api.b.assignment
Interface IRouteClassBehaviour
- All Superinterfaces:
- IActionable, IAssociate, IDraggable, IPastable, IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW
public interface IRouteClassBehaviour
- extends StoreRecordRW, IPastable
A route class behaviour object allows the specification of behaviour-specific route cost factors on
a specific class of routes.
This object contains a set of three multiplicative cost factors, one each for time, distance and price.
These objects are not commonly used in the API, as it is possible to retrieve the values they encode directly by
passing a behaviour parameter to the time, distance and price methods in IRouteClass, for example in
IRouteClass.routeDistanceFactor(IBehaviour)
|
Method Summary |
IBehaviour |
behaviour()
The behaviour to which this set of cost factors applies, can be null, in which case this is the "all-behaviours" specification |
double |
distanceFactor()
A multiplicative scaling factor for route distances, default value 1.0, on this class of route, for this behaviour |
double |
priceFactor()
A multiplicative scaling factor for route prices, default value 1.0, on this class of route, for this behaviour |
IRouteClass |
routeClass()
The route class to which this set of cost factors applies. |
double |
timeFactor()
A multiplicative scaling factor for route times, default value 1.0, on this class of route, for this behaviour |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
name |
routeClass
IRouteClass routeClass()
- The route class to which this set of cost factors applies.
behaviour
IBehaviour behaviour()
- The behaviour to which this set of cost factors applies, can be null, in which case this is the "all-behaviours" specification
distanceFactor
double distanceFactor()
- A multiplicative scaling factor for route distances, default value 1.0, on this class of route, for this behaviour
timeFactor
double timeFactor()
- A multiplicative scaling factor for route times, default value 1.0, on this class of route, for this behaviour
priceFactor
double priceFactor()
- A multiplicative scaling factor for route prices, default value 1.0, on this class of route, for this behaviour