pub enum GoalRadius {
Infinite,
Fixed(f64),
FromGoal,
}Expand description
Where the heuristic’s goal radius comes from; see Config::goal_radius.
Variants§
Infinite
An infinite radius: h = 0, a uniform-cost search. The default.
Fixed(f64)
This radius. Non-negative and not NaN.
FromGoal
Goal::radius of the problem’s goal, for example the half diagonal of a
PolytopeGoal box.
Admissible when each goal node’s nominal state lies in its set, so that a set inside the goal puts the nominal state inside it as well. That holds for models whose set contains the nominal trajectory, like the affine test model.
Trait Implementations§
Source§impl Clone for GoalRadius
impl Clone for GoalRadius
impl Copy for GoalRadius
Source§impl Debug for GoalRadius
impl Debug for GoalRadius
Source§impl Default for GoalRadius
impl Default for GoalRadius
Source§impl PartialEq for GoalRadius
impl PartialEq for GoalRadius
impl StructuralPartialEq for GoalRadius
Auto Trait Implementations§
impl Forget for GoalRadius
impl Freeze for GoalRadius
impl Move for GoalRadius
impl RefUnwindSafe for GoalRadius
impl Send for GoalRadius
impl Sync for GoalRadius
impl Unpin for GoalRadius
impl UnsafeUnpin for GoalRadius
impl UnwindSafe for GoalRadius
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.