[][src]Struct mop_blocks::mph::MphOr

pub struct MphOr<CRS, OR, ORS, S> { /* fields omitted */ }

MPH-OR (Multi-objective Problem with Hard constraints - Optimization Result)

Types

  • CRS: Constraint Result Storage
  • OR: Objective Result
  • ORS: Objective Result Storage
  • S: Solution

Methods

impl<CRS, OR, ORS, S> MphOr<CRS, OR, ORS, S>[src]

pub fn objs_avg(&self) -> &OR[src]

pub fn solution(&self) -> &S[src]

pub fn solution_mut(&mut self) -> &mut S[src]

impl<CRS, OR, ORS, S> MphOr<CRS, OR, ORS, S> where
    CRS: AsRef<[usize]>, 
[src]

pub fn hard_cstrs(&self) -> &[usize][src]

impl<CRS, OR, ORS, S> MphOr<CRS, OR, ORS, S> where
    CRS: AsMut<[usize]>, 
[src]

pub fn hard_cstrs_mut(&mut self) -> &mut [usize][src]

impl<CRS, OR, ORS, S> MphOr<CRS, OR, ORS, S> where
    ORS: AsRef<[<ORS as Storage>::Item]> + Storage
[src]

pub fn objs(&self) -> &[ORS::Item][src]

impl<'_, OR, S> MphOr<&'a [usize], &'a OR, &'a [OR], &'a S>[src]

pub fn to_vec(&self) -> MphOrVec<OR, S> where
    OR: Clone,
    S: Clone
[src]

Trait Implementations

impl<CRS: Debug, OR: Debug, ORS: Debug, S: Debug> Debug for MphOr<CRS, OR, ORS, S>[src]

Auto Trait Implementations

impl<CRS, OR, ORS, S> Send for MphOr<CRS, OR, ORS, S> where
    CRS: Send,
    OR: Send,
    ORS: Send,
    S: Send

impl<CRS, OR, ORS, S> Sync for MphOr<CRS, OR, ORS, S> where
    CRS: Sync,
    OR: Sync,
    ORS: Sync,
    S: Sync

impl<CRS, OR, ORS, S> Unpin for MphOr<CRS, OR, ORS, S> where
    CRS: Unpin,
    OR: Unpin,
    ORS: Unpin,
    S: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> TraitCfg for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.