-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update constants * Adjust tests to new constants --------- Co-authored-by: nils <[email protected]>
- Loading branch information
1 parent
417e004
commit f5e2aae
Showing
3 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import { HOUR, MINUTE } from '$lib/util/time'; | ||
|
||
export const TZ = 'Europe/Berlin'; | ||
export const MIN_PREP = 30 * MINUTE; | ||
export const MIN_PREP = 1 * HOUR; | ||
export const MAX_TRAVEL = 1 * HOUR; | ||
export const MAX_PASSENGER_WAITING_TIME_PICKUP = 10 * MINUTE; | ||
export const MAX_PASSENGER_WAITING_TIME_DROPOFF = 10 * MINUTE; | ||
export const WGS84 = 4326; | ||
export const MAX_MATCHING_DISTANCE = 200; | ||
export const COORDINATE_ROUNDING_ERROR_THRESHOLD = 0.00001; | ||
export const PASSENGER_CHANGE_DURATION = 2 * MINUTE; | ||
export const PASSENGER_CHANGE_DURATION = 1 * MINUTE; | ||
export const TAXI_DRIVING_TIME_COST_FACTOR = 1; | ||
export const TAXI_WAITING_TIME_COST_FACTOR = 0.5; | ||
export const PASSENGER_TIME_COST_FACTOR = 0; | ||
export const BUFFER_TIME = 4 * MINUTE; | ||
export const BUFFER_TIME = 0; | ||
export const EARLIEST_SHIFT_START = 6 * HOUR; | ||
export const LATEST_SHIFT_END = 21 * HOUR; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters