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)


Field Summary
 
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
 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.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
 

Method Detail

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