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
12
13
14
use serde::{Deserialize, Serialize};

use crate::config::OneOrMany;

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct GraphConfig {
    pub vertex_list_input_file: String,
    pub edge_list: OneOrMany<EdgeListConfig>,
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct EdgeListConfig {
    pub input_file: String,
}