best_length_diff_deprecated: Time difference between 3 consecutive travels - deprecated

Description Usage Arguments Value Examples

Description

This function calculates the difference between the current travel and the best travel.

Usage

1
best_length_diff_deprecated(prev_travel, curr_travel, later_travel)

Arguments

prev_travel

length of the previous travel in minutes

curr_travel

length of the current travel in minutes

later_travel

length of the next travel in minutes

Value

This function returns the difference between the current travel and the minimum of the specifieds travels.

Examples

1
2
3

analytics-ufcg/bestBus documentation built on May 12, 2019, 2:38 a.m.