What is a route?

A route is an optimized solution for efficiently navigating a vehicle to transport cargo or people. It is a collection of one or more segments that must be completed in sequence during transport by a vehicle.

When a route is suggested by Interplai, it as a suggested vehicle along with a series of segments. Each segment includes waypoints in a particular order. Each waypoint includes a location and an action.

Accept or reject the route

Routes can be accepted or rejected. Accepted routes are then ready to be executed. Rejected routes are put back into the optimization queue. Routes can be accepted as a whole or individual segments can be accepted/rejected.

Waypoints

A waypoint is a location and action associated with a route in sequence. Each waypoint uniquely specifies where a vehicle should go, and what action must be taken at that location, and is positioned in a sequence of other waypoints.

📘

Tip: Waypoints are not reused

A waypoint is specific to a route and has a waypoint sequence number relative to other waypoints. A waypoint also has an action that takes place at a location.

Update waypoint action

Additionally, in order to execute the mobility task at the waypoint, the user is allowed to update the action performed by the vehicle as arrive, depart, or cancel. For example, if a vehicle has reached the pickup waypoint, then the waypoint action should be updated with the arrive. Then, once the vehicle leaves the waypoint, the waypoint action should be updated with the depart.

Segments

A segment is a portion of a route that contains a sequence of two or more waypoints. Each segment is independent of other segments, and all cargo picked up in one segment will be dropped off in that same segment.

📘

Tip: Routes are accepted by segment

Interplai offers the flexibility to accept parts of a route instead of the entire route. This is done by accepting each segment in a route.