routee-compass 0.19.5

The RouteE-Compass energy-aware routing engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use allocative::Allocative;

use chrono::{DateTime, Local, TimeDelta};
use routee_compass_core::algorithm::search::{EdgeTraversal, SearchTree};

#[derive(Allocative)]
pub struct SearchAppResult {
    pub routes: Vec<Vec<EdgeTraversal>>,
    pub trees: Vec<SearchTree>,
    #[allocative(skip)]
    pub search_executed_time: DateTime<Local>,
    #[allocative(skip)]
    pub search_runtime: TimeDelta,
    pub iterations: u64,
    pub terminated: Option<String>,
}