C# Класс natix.CompactDS.DiffSetRL2_64

A DiffSetRL2 supporting items on [0,2^63]
Наследование: Bitmap64
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
B short
Coder IIEncoder64
M int
N long
Stream BitStream32

Открытые методы

Метод Описание
Access ( long pos ) : bool
AssertEquality ( Bitmap64 _other ) : void
Build ( IEnumerable orderedList, long n, short b, IIEncoder64 coder = null ) : void

build methods

Build ( IList orderedList, short b, IIEncoder64 coder = null ) : void
DiffSetRL2_64 ( ) : System
Load ( BinaryReader Input ) : void
Rank1 ( long pos ) : long
Save ( BinaryWriter Output ) : void
Select1 ( long rank ) : long

Returns the position of the rank-th enabled bit

Защищенные методы

Метод Описание
Commit ( natix.CompactDS.BitStreamCtxRL ctx ) : void

Приватные методы

Метод Описание
BackendAccessRank1 ( long pos, long &found_pos, natix.CompactDS.BitStreamCtxRL ctx ) : long
BackendSelect1 ( int rank, natix.CompactDS.BitStreamCtxRL ctx ) : long
IsFilled ( int block_id ) : bool
ReadNext ( natix.CompactDS.BitStreamCtxRL ctx ) : long
SeqAccessRank1 ( long curr_pos, long pos, long max, long &found_pos, natix.CompactDS.BitStreamCtxRL ctx ) : long

Описание методов

Access() публичный Метод

public Access ( long pos ) : bool
pos long
Результат bool

AssertEquality() публичный Метод

public AssertEquality ( Bitmap64 _other ) : void
_other Bitmap64
Результат void

Build() публичный Метод

build methods
public Build ( IEnumerable orderedList, long n, short b, IIEncoder64 coder = null ) : void
orderedList IEnumerable
n long
b short
coder IIEncoder64
Результат void

Build() публичный Метод

public Build ( IList orderedList, short b, IIEncoder64 coder = null ) : void
orderedList IList
b short
coder IIEncoder64
Результат void

Commit() защищенный Метод

protected Commit ( natix.CompactDS.BitStreamCtxRL ctx ) : void
ctx natix.CompactDS.BitStreamCtxRL
Результат void

DiffSetRL2_64() публичный Метод

public DiffSetRL2_64 ( ) : System
Результат System

Load() публичный Метод

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
Результат void

Rank1() публичный Метод

public Rank1 ( long pos ) : long
pos long
Результат long

Save() публичный Метод

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
Результат void

Select1() публичный Метод

Returns the position of the rank-th enabled bit
public Select1 ( long rank ) : long
rank long
Результат long

Описание свойств

B защищенное свойство

protected short B
Результат short

Coder защищенное свойство

protected IIEncoder64 Coder
Результат IIEncoder64

M защищенное свойство

protected int M
Результат int

N защищенное свойство

protected long N
Результат long

Stream защищенное свойство

protected BitStream32,natix.CompactDS Stream
Результат BitStream32