pub struct MStarConfig {
pub objective: Objective,
pub recursive: bool,
pub operator_decomposition: bool,
}Expand description
What mstar_with optimizes and which form of M* it runs.
Every form returns a plan with the optimal value of the objective; they differ in speed.
Fields§
§objective: ObjectiveWhat the search minimizes.
recursive: boolRecursive M*: plan disjoint collision groups as separate subproblems. false runs
basic M*, with one collision set per state.
operator_decomposition: boolOperator decomposition (OD-M*, Ferner, Wagner and Choset 2013): where agents branch, move them one at a time through intermediate states with their own collision sets, instead of generating every combination of their moves at once.
Implementations§
Source§impl MStarConfig
impl MStarConfig
Sourcepub const fn od_recursive(objective: Objective) -> Self
pub const fn od_recursive(objective: Objective) -> Self
Recursive M* with operator decomposition (ODrM*); what mstar and
MStarConfig::default use. Often much faster than rM* on tightly coupled groups,
but not always: see docs/design.md.
Trait Implementations§
Source§impl Clone for MStarConfig
impl Clone for MStarConfig
impl Copy for MStarConfig
Source§impl Debug for MStarConfig
impl Debug for MStarConfig
impl Eq for MStarConfig
Source§impl Hash for MStarConfig
impl Hash for MStarConfig
Source§impl PartialEq for MStarConfig
impl PartialEq for MStarConfig
impl StructuralPartialEq for MStarConfig
Auto Trait Implementations§
impl Forget for MStarConfig
impl Freeze for MStarConfig
impl Move for MStarConfig
impl RefUnwindSafe for MStarConfig
impl Send for MStarConfig
impl Sync for MStarConfig
impl Unpin for MStarConfig
impl UnsafeUnpin for MStarConfig
impl UnwindSafe for MStarConfig
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