Resource: LineRotation
A vehicle starts operating this line at a particular time.
JSON representation |
---|
{ "name": string, "arrivalTimes": { string: { object ( |
Fields | |
---|---|
name |
Identifier. Cannot be updated. |
arrival |
Optional. Range where departure is allowed without cost (i.e., if not pointwise, the actual arrival times are decided by the system). This map is supposed to have the same keys (minus the source hub, with no arrival time). An object containing a list of |
departure |
Optional. Range where arrival is allowed without cost (i.e., if not pointwise, the actual departure times are decided by the system). This map is supposed to have the same keys (minus the destination hub, with no departure time). An object containing a list of |
departure |
Optional. Earliness/tardiness costs and bounds for departure. This maps is supposed to have the same keys (minus the destination hub, with no departure time). An object containing a list of |
arrival |
Optional. Earliness/tardiness costs and bounds for arrival. This maps is supposed to have the same keys (minus the source hub, with no arrival time). An object containing a list of |
vehicles[] |
Optional. List of vehicles that could be doing this line rotation (i.e. allow list). If number_vehicles reduces to one value corresponding to the number of vehicles, all those vehicles will be assigned to the line rotation. If no vehicles, all are considered to be available. |
fixed |
Optional. Cost of having any vehicle doing this line, regardless of vehicle (driver, maintenance, etc.). |
maximum |
Optional. Maximum number of vehicles that can be assigned to this rotation. If unset: no limit in terms of vehicles for this rotation. Otherwise, upper bound on the number of vehicles that can be allocated to this rotation (among the allow list |
IntegerRange
Range of integers.
JSON representation |
---|
{ "startValue": integer, "endValue": integer } |
Fields | |
---|---|
start |
Interval open if unset. |
end |
Interval open if unset. |
Methods |
|
---|---|
|
Creates a LineRotation. |
|
Deletes a LineRotation. |
|
Gets the details of a LineRotation. |
|
Lists the LineRotations. |
|
Updates a LineRotation. |