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§
Sourcefn is_solution(&self) -> bool
fn is_solution(&self) -> bool
Return true if this state is a solution state.