[][src]Struct mop_blocks::gp::GpOrsConstructor

pub struct GpOrsConstructor<'a, HCRS, ORS, SCRS, SS> { /* fields omitted */ }

Constructor for MPH-OR

Types

  • ORS: Objective Results Storage
  • S: Solution

Implementations

impl<'a, HCR, HCRS, OR, ORS, S, SCR, SCRS, SS> GpOrsConstructor<'a, HCRS, ORS, SCRS, SS> where
    HCR: Clone,
    HCRS: Extend<HCR> + Storage<Item = HCR>,
    OR: Clone,
    ORS: Extend<OR> + Storage<Item = OR>,
    SCR: Clone,
    SCRS: Extend<SCR> + Storage<Item = SCR>,
    SS: Storage<Item = S>, 
[src]

pub fn or_ref(self, from: GpOrRef<'_, HCR, OR, S, SCR>) -> Option<Self> where
    S: Clone,
    SS: Push<Input = S>, 
[src]

pub fn ors_ref(self, other: GpOrsRef<'_, HCR, OR, S, SCR>) -> Option<Self> where
    S: Clone,
    SS: Extend<S>, 
[src]

pub fn ors_s_iter<E, SI>(self, si: SI) -> Option<Self> where
    HCR: Default,
    OR: Default,
    SCR: Default,
    SI: Iterator<Item = Result<S, E>>,
    SS: Push<Input = S>, 
[src]

impl<'a, HCR, HCRS, OR, ORS, S, SCR, SCRS, SS> GpOrsConstructor<'a, HCRS, ORS, SCRS, SS> where
    OR: Default,
    ORS: Extend<OR> + Length<Output = usize> + Storage<Item = OR>,
    SS: Push<Input = S> + Storage<Item = S>,
    HCR: Default,
    HCRS: Extend<HCR> + Length<Output = usize> + Storage<Item = HCR>,
    SCR: Default,
    SCRS: Extend<SCR> + Length<Output = usize> + Storage<Item = SCR>, 
[src]

pub fn or_hcos_iter<HCRI, ORI>(self, hcri: HCRI, ori: ORI, solution: S) -> Self where
    HCRI: Iterator<Item = HCR>,
    ORI: Iterator<Item = OR>, 
[src]

pub fn or_hcossc_iter<HCRI, ORI, SCRI>(
    self,
    hcri: HCRI,
    ori: ORI,
    s: S,
    scri: SCRI
) -> Self where
    HCRI: Iterator<Item = HCR>,
    ORI: Iterator<Item = OR>,
    SCRI: Iterator<Item = SCR>, 
[src]

pub fn or_os_iter<ORI>(self, ori: ORI, solution: S) -> Self where
    ORI: Iterator<Item = OR>, 
[src]

Trait Implementations

impl<'a, HCRS: Debug, ORS: Debug, SCRS: Debug, SS: Debug> Debug for GpOrsConstructor<'a, HCRS, ORS, SCRS, SS>[src]

impl<'a, HCRS: PartialEq, ORS: PartialEq, SCRS: PartialEq, SS: PartialEq> PartialEq<GpOrsConstructor<'a, HCRS, ORS, SCRS, SS>> for GpOrsConstructor<'a, HCRS, ORS, SCRS, SS>[src]

impl<'a, HCRS, ORS, SCRS, SS> StructuralPartialEq for GpOrsConstructor<'a, HCRS, ORS, SCRS, SS>[src]

Auto Trait Implementations

impl<'a, HCRS, ORS, SCRS, SS> Send for GpOrsConstructor<'a, HCRS, ORS, SCRS, SS> where
    HCRS: Send,
    ORS: Send,
    SCRS: Send,
    SS: Send

impl<'a, HCRS, ORS, SCRS, SS> Sync for GpOrsConstructor<'a, HCRS, ORS, SCRS, SS> where
    HCRS: Sync,
    ORS: Sync,
    SCRS: Sync,
    SS: Sync

impl<'a, HCRS, ORS, SCRS, SS> Unpin for GpOrsConstructor<'a, HCRS, ORS, SCRS, SS>

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.