[−][src]Struct mop_blocks::gp::GpOr
GP-OR (Generic Problem - Optimization Result)
This structure is generic over single or multi objective problems, constrained or not.
Types
CRS: Constraint Results StorageORS: Objective Results StorageS: Solution
Implementations
impl<HCRS, ORS, S, SCRS> GpOr<HCRS, ORS, S, SCRS>[src]
pub fn new(
hard_cstr_rslts: HCRS,
obj_rslts: ORS,
soft_cstr_rslts: SCRS,
solution: S
) -> Self[src]
hard_cstr_rslts: HCRS,
obj_rslts: ORS,
soft_cstr_rslts: SCRS,
solution: S
) -> Self
pub fn solution(&self) -> &S[src]
pub fn solution_mut(&mut self) -> &mut S[src]
impl<HCRS, ORS, S, SCRS> GpOr<HCRS, ORS, S, SCRS> where
HCRS: AsRef<[usize]>, [src]
HCRS: AsRef<[usize]>,
pub fn hard_cstr_rslts(&self) -> &[usize][src]
impl<HCRS, OR, S, SCRS> GpOr<HCRS, [OR; 1], S, SCRS>[src]
impl<HCRS, OR, ORS, S, SCRS> GpOr<HCRS, ORS, S, SCRS> where
ORS: AsRef<[OR]> + Storage<Item = OR>, [src]
ORS: AsRef<[OR]> + Storage<Item = OR>,
impl<HCRS, ORS, S, SCRS> GpOr<HCRS, ORS, S, SCRS> where
SCRS: AsRef<[usize]>, [src]
SCRS: AsRef<[usize]>,
pub fn soft_cstr_rslts(&self) -> &[usize][src]
impl<'_, OR, S, SCR> GpOr<&'a [HCR], &'a [OR], &'a S, &'a [SCR]> where
OR: Clone,
S: Clone, [src]
OR: Clone,
S: Clone,
pub fn to_mph_vec(&self) -> MphOrVec<OR, S>[src]
impl<'_, OR, S> GpOr<&'a [HCR], &'a [OR], &'a S, &'a [SCR]> where
OR: Clone,
S: Clone, [src]
OR: Clone,
S: Clone,
pub fn to_mphs_vec(&self) -> MphsOrVec<OR, S>[src]
Trait Implementations
impl<HCRS: Clone, ORS: Clone, S: Clone, SCRS: Clone> Clone for GpOr<HCRS, ORS, S, SCRS>[src]
fn clone(&self) -> GpOr<HCRS, ORS, S, SCRS>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<HCRS: Debug, ORS: Debug, S: Debug, SCRS: Debug> Debug for GpOr<HCRS, ORS, S, SCRS>[src]
impl<HCRS: PartialEq, ORS: PartialEq, S: PartialEq, SCRS: PartialEq> PartialEq<GpOr<HCRS, ORS, S, SCRS>> for GpOr<HCRS, ORS, S, SCRS>[src]
fn eq(&self, other: &GpOr<HCRS, ORS, S, SCRS>) -> bool[src]
fn ne(&self, other: &GpOr<HCRS, ORS, S, SCRS>) -> bool[src]
impl<'_, O, OR, S> QualityComparator<[O], GpOr<&'_ [()], &'_ [OR], &'_ S, &'_ [()]>> for ObjsAvg where
O: Obj<OR, S>,
OR: PartialOrd, [src]
O: Obj<OR, S>,
OR: PartialOrd,
impl<'_, O, OR, S> QualityComparator<[O], GpOr<&'_ [usize], &'_ [OR], &'_ S, &'_ [()]>> for Nsga2 where
O: Obj<OR, S>,
OR: PartialOrd, [src]
O: Obj<OR, S>,
OR: PartialOrd,
impl<HCRS, ORS, S, SCRS> StructuralPartialEq for GpOr<HCRS, ORS, S, SCRS>[src]
Auto Trait Implementations
impl<HCRS, ORS, S, SCRS> Send for GpOr<HCRS, ORS, S, SCRS> where
HCRS: Send,
ORS: Send,
S: Send,
SCRS: Send,
HCRS: Send,
ORS: Send,
S: Send,
SCRS: Send,
impl<HCRS, ORS, S, SCRS> Sync for GpOr<HCRS, ORS, S, SCRS> where
HCRS: Sync,
ORS: Sync,
S: Sync,
SCRS: Sync,
HCRS: Sync,
ORS: Sync,
S: Sync,
SCRS: Sync,
impl<HCRS, ORS, S, SCRS> Unpin for GpOr<HCRS, ORS, S, SCRS> where
HCRS: Unpin,
ORS: Unpin,
S: Unpin,
SCRS: Unpin,
HCRS: Unpin,
ORS: Unpin,
S: Unpin,
SCRS: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> TraitCfg for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,