[][src]Struct optlib::tools::logging::ResultOnlyLogger

pub struct ResultOnlyLogger<'a> { /* fields omitted */ }

The logger print out to stdout best result and value of goal function after end of genetic algorithm running.

Methods

impl<'a> ResultOnlyLogger<'a>[src]

pub fn new(writer: &'a mut dyn Write, precision: usize) -> Self[src]

Constructor

Parameters

  • precision - count of the digits after comma for float numbers.

Trait Implementations

impl<'a, T: Display> Logger<Vec<T>> for ResultOnlyLogger<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ResultOnlyLogger<'a>

impl<'a> !Send for ResultOnlyLogger<'a>

impl<'a> !Sync for ResultOnlyLogger<'a>

impl<'a> Unpin for ResultOnlyLogger<'a>

impl<'a> !UnwindSafe for ResultOnlyLogger<'a>

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, 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.