IContextManager.GetCumulativeSymbolFrequency

IContextManager.GetCumulativeSymbolFrequency method

Get the total number of occurrences for all of the symbols that are less than the given symbol in the context.

public uint GetCumulativeSymbolFrequency(uint context, uint symbol)
ParameterTypeDescription
contextUInt32use this context’s histogram
symbolUInt32use this symbol

Return Value

sum of all symbol freqs for symbols less than the given symbol in the given context

See Also