Struct palarust::util::Converger [] [src]

pub struct Converger { /* fields omitted */ }

A structure that helps determine if a value has converged statistically or not.

Methods

impl Converger
[src]

Store a value into a vector and increment the number of values stored by 1. If the number of values stored is larger that the characteristic number of values we want to perform statistics on, then we remove the extra value stored.

Checks if the value has converged.