routee-compass-core 0.3.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
use crate::model::cost::cost::Cost;
use crate::model::traversal::state::traversal_state::TraversalState;

/// The state of a search after completing an edge traversal, along
/// with the cost of traversing that edge.
pub struct TraversalResult {
    pub total_cost: Cost,
    pub updated_state: TraversalState,
}