SolutionIdentifiable

Trait SolutionIdentifiable 

Source
pub trait SolutionIdentifiable {
    // Required method
    fn is_solution(&self) -> bool;
}
Expand description

Trait that allows a state to be identified as a solution.

Implement this + Searchable for your state type to perform search-space exploration.

Required Methods§

Source

fn is_solution(&self) -> bool

Return true if this state is a solution state.

Implementors§