Skip to main content

Output

Struct Output 

Source
pub struct Output<S, W> {
    pub solutions: Vec<Solution<S, W>>,
    pub stats: Stats,
}
Expand description

The result of a multi-objective search.

Fields§

§solutions: Vec<Solution<S, W>>

One solution per Pareto-optimal cost vector, sorted by cost lexicographically ascending (for two objectives: first strictly ascending, second strictly descending). Empty when no goal is reachable. boa_star_approx and boa_star_eps return a covering subset of the Pareto-optimal solutions instead, and pp_a_star a covering set of mutually non-dominated solutions that need not be Pareto-optimal.

§stats: Stats

Search effort counters.

Trait Implementations§

Source§

impl<S: Clone, W: Clone> Clone for Output<S, W>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<S: Debug, W: Debug> Debug for Output<S, W>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: Eq, W: Eq> Eq for Output<S, W>

Source§

impl<S: PartialEq, W: PartialEq> PartialEq for Output<S, W>

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<S: PartialEq, W: PartialEq> StructuralPartialEq for Output<S, W>

Auto Trait Implementations§

§

impl<S, W> Forget for Output<S, W>

§

impl<S, W> Freeze for Output<S, W>
where Vec<Solution<S, W>>: Freeze,

§

impl<S, W> Move for Output<S, W>

§

impl<S, W> RefUnwindSafe for Output<S, W>
where Vec<Solution<S, W>>: RefUnwindSafe,

§

impl<S, W> Send for Output<S, W>
where Vec<Solution<S, W>>: Send,

§

impl<S, W> Sync for Output<S, W>
where Vec<Solution<S, W>>: Sync,

§

impl<S, W> Unpin for Output<S, W>
where Vec<Solution<S, W>>: Unpin,

§

impl<S, W> UnsafeUnpin for Output<S, W>
where Vec<Solution<S, W>>: UnsafeUnpin,

§

impl<S, W> UnwindSafe for Output<S, W>
where Vec<Solution<S, W>>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.