프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Stream |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
B | short | ||
Coder | IIEncoder64 | ||
M | int | ||
N | long |
메소드 | 설명 | |
---|---|---|
Access ( long pos ) : bool | ||
Add ( long current ) : void | ||
Add ( long current, long prev ) : void |
Adds an (ordered) item to the set
|
|
AssertEquality ( |
||
Build ( IEnumerable |
build methods
|
|
Build ( IList |
||
Commit ( ) : void |
Write the sequence to the bitmap. DiffSet always commit items.
|
|
DiffSet64 ( ) : System | ||
DiffSet64 ( short B ) : System | ||
ExtractFrom ( int start_index, int count, IList |
Extract 'count' differences starting from 'start_index', it saves the output in 'output'. Returns the previous absolute value to start_index (start_index - 1), i.e. the reference
|
|
Load ( |
||
Rank1 ( long pos ) : long | ||
Save ( |
||
Select1 ( long rank ) : long |
Returns the position of the rank-th enabled bit
|
|
Select1 ( long rank, |
||
Select1Difference ( int rank ) : long |
Returns the difference between Select1(rank) - Select1(rank-1)
|
메소드 | 설명 | |
---|---|---|
AddItem ( long current, long prev ) : void |
Internal method to add an (ordered) item to the set
|
|
ReadNext ( natix.CompactDS.BitStreamCtxRL ctx ) : long | ||
ResetReader ( natix.CompactDS.BitStreamCtxRL ctx ) : void | ||
WriteNewDiff ( long u ) : void |
메소드 | 설명 | |
---|---|---|
BackendAccessRank1 ( long pos, long &found_pos, natix.CompactDS.BitStreamCtxRL ctx ) : long | ||
BackendSelect1 ( int rank, natix.CompactDS.BitStreamCtxRL ctx ) : long |
Unlocked Select1 useful to some lowlevel operations
|
|
SeqAccessRank1 ( long acc, long pos, int max, long &found_pos, natix.CompactDS.BitStreamCtxRL ctx ) : long |
protected AddItem ( long current, long prev ) : void | ||
current | long | |
prev | long | |
리턴 | void |
public Build ( IEnumerable |
||
orderedList | IEnumerable |
|
n | long | |
b | short | |
coder | IIEncoder64 | |
리턴 | void |
public Build ( IList |
||
orderedList | IList |
|
b | short | |
coder | IIEncoder64 | |
리턴 | void |
public ExtractFrom ( int start_index, int count, IList |
||
start_index | int | |
count | int | |
output | IList |
|
리턴 | long |
protected ReadNext ( natix.CompactDS.BitStreamCtxRL ctx ) : long | ||
ctx | natix.CompactDS.BitStreamCtxRL | |
리턴 | long |
protected ResetReader ( natix.CompactDS.BitStreamCtxRL ctx ) : void | ||
ctx | natix.CompactDS.BitStreamCtxRL | |
리턴 | void |
public Select1 ( long rank, |
||
rank | long | |
unraveled_ctx | ||
리턴 | long |