Skip to content
Permalink
Browse files

Clarification of formatting for travel_time variables

indicated general form of arithmetic function in a manner consistent
with the internal validation of the vtrans otp implementation.
  • Loading branch information...
thomastrillium committed May 11, 2018
1 parent 6560d07 commit 37163388afdab5a255a28d904f44cb835f92d0f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/reference.md
@@ -82,7 +82,7 @@ Demand-responsive transportation services have parameters for request requiremen

| Field Name | Required? | Details |
|-------------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| drt\_max\_travel\_time | Optional | Defines maximum travel time for a demand-responsive passenger travel leg on the trip. This time may be expressed as a value (minutes), or as an arithmetic function where t=[direct travel time]. For example, the formula t*2.5+5 indicates that the maximum travel time for the passenger's demand-responsive travel leg is 30 minutes if the direct travel time is 10 minutes. |
| drt\_max\_travel\_time | Optional | Defines maximum travel time for a demand-responsive passenger travel leg on the trip. This time as an arithmetic function in the form xt+c where t=[direct travel time], x and c are constants. For example, the formula 2.5t+5 indicates that the maximum travel time for the passenger's demand-responsive travel leg is 30 minutes if the direct travel time is 10 minutes. |
| drt\_avg\_travel\_time | Optional | Defines average or expected travel time demand-responsive passenger travel leg on the trip. Values or functions are expressed in the same way as drt\_max\_travel\_time. |
| drt\_advance\_book\_min | Optional | Minutes of advance time necessary before travel to make booking request. |
| drt\_pickup\_message | Optional | Message to be communicated to passengers if being picked up by a deviated service during this trip. The message is meant to provide the minimum information to be transmitted within a user interface. If extensive information is required, it should be provided through a phone number, url, or future communication with the end user. |

0 comments on commit 3716338

Please sign in to comment.
You can’t perform that action at this time.