pub enum SearchStrategy {
DepthFirst,
BreadthFirst,
Iterative,
}Expand description
Strategy for searching the goal space
Variants§
DepthFirst
Depth-first search (Prolog-style) Goes deep into one branch before backtracking
BreadthFirst
Breadth-first search Explores all goals at one level before going deeper
Iterative
Iterative deepening Combines benefits of depth-first and breadth-first
Trait Implementations§
Source§impl Clone for SearchStrategy
impl Clone for SearchStrategy
Source§fn clone(&self) -> SearchStrategy
fn clone(&self) -> SearchStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchStrategy
impl Debug for SearchStrategy
Source§impl PartialEq for SearchStrategy
impl PartialEq for SearchStrategy
impl Copy for SearchStrategy
impl Eq for SearchStrategy
impl StructuralPartialEq for SearchStrategy
Auto Trait Implementations§
impl Freeze for SearchStrategy
impl RefUnwindSafe for SearchStrategy
impl Send for SearchStrategy
impl Sync for SearchStrategy
impl Unpin for SearchStrategy
impl UnwindSafe for SearchStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more