toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.compression.lzma
/
SevenZip
/
RangeEncoder
/
Companion
Companion
object
Companion
Members
Properties
k
Num
Bit
Price
Shift
Bits
Link copied to clipboard
const
val
kNumBitPriceShiftBits
:
Int
=
6
Functions
get
Price
Link copied to clipboard
fun
getPrice
(
Prob
:
Int
,
symbol
:
Int
)
:
Int
get
Price0
Link copied to clipboard
fun
getPrice0
(
Prob
:
Int
)
:
Int
get
Price1
Link copied to clipboard
fun
getPrice1
(
Prob
:
Int
)
:
Int
init
Bit
Models
Link copied to clipboard
fun
initBitModels
(
probs
:
ShortArray
)