|
MAM API (developer's version) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArithmeticModel
Common interface for different kinds of models that can be used together with the arithmetic coding.
Method Summary | |
---|---|
int |
countToSymbol(int cum)
Return the symbol with the cumulative count |
long |
highInterval(int symbol)
Returns the high interval cumulative count of a symbol |
long |
lowInterval(int symbol)
Returns the low interval cumulative count of a symbol |
void |
reset()
State reset to the initial values |
long |
totalCount()
Returns the total count. |
void |
updateModel(int symbol)
Informs the model with last seen symbol. |
Method Detail |
---|
void updateModel(int symbol)
long totalCount()
long lowInterval(int symbol)
long highInterval(int symbol)
int countToSymbol(int cum)
void reset()
|
MAM API (developer's version) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |