public class PPMContext extends Pointer
| Constructor and Description |
|---|
PPMContext(byte[] mem) |
| Modifier and Type | Method and Description |
|---|---|
int |
createChild(ModelPPM model,
State pStats,
StateRef firstState) |
void |
decodeBinSymbol(ModelPPM model) |
boolean |
decodeSymbol1(ModelPPM model) |
boolean |
decodeSymbol2(ModelPPM model) |
FreqData |
getFreqData() |
int |
getMean(int summ,
int shift,
int round) |
int |
getNumStats() |
State |
getOneState() |
int |
getSuffix() |
PPMContext |
init(byte[] mem) |
void |
rescale(ModelPPM model) |
void |
setAddress(int pos)
needs to set the fields of this object to the values in the byte[]
at the given position.
|
void |
setFreqData(FreqData freqData) |
void |
setNumStats(int numStats) |
void |
setOneState(StateRef oneState) |
void |
setSuffix(int suffix) |
void |
setSuffix(PPMContext suffix) |
String |
toString() |
void |
update1(ModelPPM model,
int p) |
void |
update2(ModelPPM model,
int p) |
getAddresspublic PPMContext init(byte[] mem)
public FreqData getFreqData()
public void setFreqData(FreqData freqData)
public final int getNumStats()
public final void setNumStats(int numStats)
public State getOneState()
public void setOneState(StateRef oneState)
public int getSuffix()
public void setSuffix(PPMContext suffix)
public void setSuffix(int suffix)
public void setAddress(int pos)
PointersetAddress in class Pointerpos - the position this object should point topublic void rescale(ModelPPM model)
public int getMean(int summ,
int shift,
int round)
public void decodeBinSymbol(ModelPPM model)
public void update1(ModelPPM model, int p)
public boolean decodeSymbol2(ModelPPM model)
public void update2(ModelPPM model, int p)
public boolean decodeSymbol1(ModelPPM model)
Copyright © 2017. All rights reserved.