[−][src]Trait mop_blocks::Obj
Required methods
fn obj_direction(&self) -> ObjDirection
fn result(&self, solution: &S) -> OR
Trait Implementations
impl<'a, C, CI, OR, S> From<&'a MinCstrsRslts<CI>> for &'a dyn Obj<OR, S> where
C: Cstr<S>,
CI: Clone + Iterator<Item = C> + TraitCfg,
OR: Bounded + NumCast,
[src]
C: Cstr<S>,
CI: Clone + Iterator<Item = C> + TraitCfg,
OR: Bounded + NumCast,
fn from(f: &'a MinCstrsRslts<CI>) -> Self
[src]
impl<'a, O, OR, OI, S, WI> From<&'a MinWeightedSum<OI, WI>> for &'a dyn Obj<OR, S> where
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
[src]
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
fn from(f: &'a MinWeightedSum<OI, WI>) -> Self
[src]
Implementations on Foreign Types
impl<O, OR, S> Obj<OR, S> for Box<O> where
O: Obj<OR, S>,
[src]
O: Obj<OR, S>,
fn obj_direction(&self) -> ObjDirection
[src]
fn result(&self, solution: &S) -> OR
[src]
Implementors
impl<C, CI, OR, S> Obj<OR, S> for MinCstrsRslts<CI> where
C: Cstr<S>,
CI: Clone + Iterator<Item = C> + TraitCfg,
OR: Bounded + NumCast,
[src]
C: Cstr<S>,
CI: Clone + Iterator<Item = C> + TraitCfg,
OR: Bounded + NumCast,
fn obj_direction(&self) -> ObjDirection
[src]
fn result(&self, s: &S) -> OR
[src]
impl<O, OR, OI, S, WI> Obj<OR, S> for MinWeightedSum<OI, WI> where
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
[src]
O: Obj<OR, S>,
OR: Add<Output = OR> + Div<Output = OR> + One + Sum,
OI: Clone + Iterator<Item = O> + TraitCfg,
WI: Clone + Iterator<Item = OR> + TraitCfg,
fn obj_direction(&self) -> ObjDirection
[src]
fn result(&self, s: &S) -> OR
[src]
impl<O: ?Sized, OR, S, '_> Obj<OR, S> for &'_ O where
O: Obj<OR, S>,
[src]
O: Obj<OR, S>,