dirac::ArithCodec< T >::Triple Class Reference

A class for encapsulating interval fractions for use in arithmetic coding. More...

#include <arith_codec.h>

List of all members.

Public Member Functions

 Triple ()
 Constructor.
 Triple (code_t start, code_t stop, code_t weight)
 Triple (const Triple &rhs)
 copy constructor
Tripleoperator= (const Triple &rhs)
 assignment
code_t Start () const
code_t Stop () const
code_t Weight () const


Detailed Description

template<class T>
class dirac::ArithCodec< T >::Triple

A class for encapsulating interval fractions for use in arithmetic coding.

A class for encapsulating a subinterval of the unit interval [0,1) (0<=x<1) as a start value, a stop value (numerators) and a weight value (the denominator). The interval is the to be interpreted as [m_start/m_weight,m_stop/m_weight).

Definition at line 144 of file arith_codec.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 13 14:49:18 2005 for guliverkli by  doxygen 1.4.5