[][src]Trait argmin::prelude::ArgminWrite

pub trait ArgminWrite: Send + Sync {
    type Param;
    fn write(&self, param: &Self::Param) -> Result<(), Error>;
}

Every writer (which is something that writes parameter vectors somewhere after each iteration) needs to implement this.

Associated Types

type Param

Loading content...

Required methods

fn write(&self, param: &Self::Param) -> Result<(), Error>

Writes the parameter vector somewhere

Loading content...

Implementors

impl<T> ArgminWrite for ArgminWriter<T> where
    T: Clone
[src]

type Param = T

impl<T> ArgminWrite for WriteToFile<T> where
    T: Send + Sync
[src]

type Param = T

Loading content...