Trait genetic_planner::genetic_planner::State [] [src]

pub trait State where
    Self: Sized + Clone + Send + Sync + 'static, 
{ fn get_initial_state() -> Self; fn get_random_action() -> Action<Self>; fn is_goal(&self) -> bool; fn get_heuristic(&self) -> i32; }

Required Methods

Get the initial state

Get a random action

Verify if the current state is the goal

Get an aproximated distance to the goal state

Implementors