[][src]Struct mop_blocks::mph::Mph

pub struct Mph<C, O, OR, S, SD> { /* fields omitted */ }

MPH (Multi-objective Problem with Hard constraints)

Types

  • C: Constraint
  • O: Objective
  • OR: Objective Result
  • SD: Solution Domain

Methods

impl<C, O, OR, S, SD> Mph<C, O, OR, S, SD>[src]

pub fn new(definitions: MphDefinitions<C, O, SD>, ors: MphOrs<OR, S>) -> Self[src]

pub fn with_capacity(
    definitions: MphDefinitions<C, O, SD>,
    results_num: usize
) -> Self
[src]

pub fn definitions(&self) -> &MphDefinitions<C, O, SD>[src]

pub fn into_parts(self) -> (MphDefinitions<C, O, SD>, MphOrs<OR, S>)[src]

pub fn parts(&self) -> (&MphDefinitions<C, O, SD>, &MphOrs<OR, S>)[src]

pub fn parts_mut(
    &mut self
) -> (&mut MphDefinitions<C, O, SD>, &mut MphOrs<OR, S>)
[src]

pub fn results(&self) -> &MphOrs<OR, S>[src]

pub fn results_mut(&mut self) -> &mut MphOrs<OR, S>[src]

Trait Implementations

impl<C: Clone, O: Clone, OR: Clone, S: Clone, SD: Clone> Clone for Mph<C, O, OR, S, SD>[src]

impl<C: Debug, O: Debug, OR: Debug, S: Debug, SD: Debug> Debug for Mph<C, O, OR, S, SD>[src]

Auto Trait Implementations

impl<C, O, OR, S, SD> Send for Mph<C, O, OR, S, SD> where
    C: Send,
    O: Send,
    OR: Send,
    S: Send,
    SD: Send

impl<C, O, OR, S, SD> Sync for Mph<C, O, OR, S, SD> where
    C: Sync,
    O: Sync,
    OR: Sync,
    S: Sync,
    SD: Sync

impl<C, O, OR, S, SD> Unpin for Mph<C, O, OR, S, SD> where
    C: Unpin,
    O: Unpin,
    OR: Unpin,
    S: Unpin,
    SD: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.