C# 클래스 natix.CompactDS.DiffSetRL2_64

A DiffSetRL2 supporting items on [0,2^63]
상속: Bitmap64
파일 보기 프로젝트 열기: sadit/natix 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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