routee-compass-core 0.19.0

The core routing algorithms and data structures of the RouteE-Compass energy-aware routing engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::model::unit::SpeedUnit;
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Clone, Debug)]
#[serde(deny_unknown_fields)]
pub struct SpeedConfiguration {
    /// file containing speed values for each edge id
    pub speed_table_input_file: String,
    /// unit the speeds were recorded in
    pub speed_unit: SpeedUnit,
}