Trait State
vrp_core::algorithms::mdp
pub trait State: Clone + Hash + Eq + Send + Sync { type Action: Clone + Hash + Eq + Send + Sync; fn reward(&self) -> f64; }
Represents a state in MDP.
type Action: Clone + Hash + Eq + Send + Sync
Action type associated with the state.
fn reward(&self) -> f64
Returns reward to be in this state.