pub trait CoreStateKeys {
    // Required methods
    fn get_schedule_keys(&self) -> Option<&ScheduleKeys>;
    fn get_capacity_keys(&self) -> Option<&CapacityKeys>;
    fn get_heuristic_keys(&self) -> Option<&HeuristicKeys>;
}
Expand description

Keeps track of state keys used in core which can be useful in other contexts too.

For example, transport keys provide information about total duration/distance traveled by vehicle which can be used in heuristic context to compare different routes.

Required Methods§

source

fn get_schedule_keys(&self) -> Option<&ScheduleKeys>

Get state keys for scheduling.

source

fn get_capacity_keys(&self) -> Option<&CapacityKeys>

Gets state keys for capacity feature.

source

fn get_heuristic_keys(&self) -> Option<&HeuristicKeys>

Gets state keys for heuristic.

Implementors§