Uint * count
List with the number of occurrences of each character in this state.
struct statistics * statistics_t
Structure that saves statistics for each tree node in the encoder.
void freeBuffer()
Deletes all statistics stored in the buffer.
unsigned char Uchar
Unsigned char type.
double cost
Cost assigned to this subtree.
unsigned long Uint
Unsigned int type.
Uint symbolCount
Number of occuring symbols.
statistics_t getStatistics()
Returns a new statistics structure, can be created or obtained from the buffer.
statistics_t allocStatistics()
Creates and initializes a new statistics structure instance.
Structure that saves statistics for each tree node in the encoder.
void returnStatistics(statistics_t st)
Puts a statistics structure that is no longer used into the buffer.
void freeStatistics(statistics_t st)
Deletes a statistics structure instance.
Uchar * symbols
List of occuring symbols.