C# Class natix.CompactDS.RRR

Inheritance: natix.CompactDS.RankSelectBase
Exibir arquivo Open project: sadit/natix Class Usage Examples

Protected Properties

Property Type Description
BlockSize short
Klasses ListIFS4

Public Methods

Method Description
Access ( int pos ) : bool
AssertEquality ( Bitmap _other ) : void
Build ( BitStream32 B, short blockSize ) : void
Load ( BinaryReader Input ) : void
Rank1 ( int pos ) : int
Save ( BinaryWriter Output ) : void
Select1 ( int rank ) : int

Protected Methods

Method Description
DecodeClass ( int i, CtxCache ctx ) : int
EncodeClass ( int klass ) : void
GetOffset ( short b, byte klass ) : int
InitClasses ( ) : void
LoadClasses ( BinaryReader Input ) : void
ReadBlock ( int klass, int offset ) : short
SaveClasses ( BinaryWriter Output ) : void

Private Methods

Method Description
GetClass ( short b ) : byte
RRR ( ) : System
Rank1AccessBackend ( int pos, bool &last_bit ) : int

Method Details

Access() public method

public Access ( int pos ) : bool
pos int
return bool

AssertEquality() public method

public AssertEquality ( Bitmap _other ) : void
_other Bitmap
return void

Build() public method

public Build ( BitStream32 B, short blockSize ) : void
B BitStream32
blockSize short
return void

DecodeClass() protected method

protected DecodeClass ( int i, CtxCache ctx ) : int
i int
ctx CtxCache
return int

EncodeClass() protected method

protected EncodeClass ( int klass ) : void
klass int
return void

GetOffset() protected method

protected GetOffset ( short b, byte klass ) : int
b short
klass byte
return int

InitClasses() protected method

protected InitClasses ( ) : void
return void

Load() public method

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
return void

LoadClasses() protected method

protected LoadClasses ( BinaryReader Input ) : void
Input System.IO.BinaryReader
return void

Rank1() public method

public Rank1 ( int pos ) : int
pos int
return int

ReadBlock() protected method

protected ReadBlock ( int klass, int offset ) : short
klass int
offset int
return short

Save() public method

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void

SaveClasses() protected method

protected SaveClasses ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void

Select1() public method

public Select1 ( int rank ) : int
rank int
return int

Property Details

BlockSize protected_oe property

protected short BlockSize
return short

Klasses protected_oe property

protected ListIFS4 Klasses
return ListIFS4