Trait vrp_core::algorithms::mdp::State[][src]

pub trait State: Clone + Hash + Eq + Send + Sync {
    type Action: Clone + Hash + Eq + Send + Sync;
    fn reward(&self) -> f64;
}

Represents a state in MDP.

Associated Types

type Action: Clone + Hash + Eq + Send + Sync[src]

Action type associated with the state.

Loading content...

Required methods

fn reward(&self) -> f64[src]

Returns reward to be in this state.

Loading content...

Implementors

Loading content...