Struct redux::model::AdaptiveLinearModel [] [src]

pub struct AdaptiveLinearModel { /* fields omitted */ }

Adaptive model that uses a simple array for cumulative freq and simple, but slow linear algorithms for operations.

Methods

impl AdaptiveLinearModel
[src]

Initializes the model with the given parameters.

Trait Implementations

impl Model for AdaptiveLinearModel
[src]

Returns the arithmetic compression parameters.

Returns the maximum cumulative frequency.

Returns the cumulative frequency range for the given input symbol.

Returns the symbol that corresponds to the given cumulative frequency.

Returns the cumulative frequency table for debugging purposes.