Struct redux::model::AdaptiveTreeModel [] [src]

pub struct AdaptiveTreeModel { /* fields omitted */ }

Adaptive model that uses a Binary Indexed Tree for storing cumulative frequencies.

Methods

impl AdaptiveTreeModel
[src]

Initializes the model with the given parameters.

Trait Implementations

impl Model for AdaptiveTreeModel
[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.