modelers/symbolweightvector.cpp File Reference
Detailed Description
Helper classes for working with probability/weight vectors.
- Remarks:
- These classes are basically just wrappers around vectors of numbers which represent the probability or occurrence count of symbols.
- A typical use for one of these classes is as the vector of symbol probabilities which is updated by the modeller and given to the coder in order to perform arithmetic coding.
- Alternatively it could be used as a vector of frequencies to be given to a huffman coder.
- This class implements the standard octane API, so can save/load state and report on memory usage.
- Author:
- mouser
- Date:
- 2003.07.29
Definition in file symbolweightvector.cpp.
#include "symbolweightvector.hpp"
Go to the source code of this file.
Generated on 20 May 2004 by
doxygen 1.3.3