Свойство | Тип | Описание | |
---|---|---|---|
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 |
public Add ( long current, long prev ) : void | ||
current | long | |
prev | long | |
Результат | void |
protected AddItem ( long current, long prev ) : void | ||
current | long | |
prev | long | |
Результат | void |
public AssertEquality ( |
||
_other | ||
Результат | 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 |
public Load ( |
||
Input | ||
Результат | void |
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 Save ( |
||
Output | ||
Результат | void |
public Select1 ( long rank, |
||
rank | long | |
unraveled_ctx | ||
Результат | long |
public Select1Difference ( int rank ) : long | ||
rank | int | |
Результат | long |