[][src]Trait mop_blocks::Obj

pub trait Obj<OR, S> {
    fn obj_direction(&self) -> ObjDirection;
fn result(&self, solution: &S) -> OR; }

Objective

Types

  • OR: Objective Result
  • S: Solution

Required methods

fn obj_direction(&self) -> ObjDirection

fn result(&self, solution: &S) -> OR

Loading content...

Implementors

impl<OR, S> Obj<OR, S> for (ObjDirection, fn(_: &S) -> OR)[src]

Loading content...