Property | Type | Description | |
---|---|---|---|
Stream |
Property | Type | Description | |
---|---|---|---|
B | short |
Method | Description | |
---|---|---|
Access ( int pos ) : bool | ||
Add ( int current ) : void | ||
Add ( int current, int 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.
|
|
DiffSet ( ) : System | ||
DiffSet ( short B ) : System | ||
ExtractFrom ( int start_index, int count, List |
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 ( int pos ) : int | ||
Save ( |
||
Select1 ( int rank ) : int |
Returns the position of the rank-th enabled bit
|
|
Select1Difference ( int rank ) : int |
Returns the difference between Select1(rank) - Select1(rank-1)
|
Method | Description | |
---|---|---|
AddItem ( int current, int prev ) : void |
Internal method to add an (ordered) item to the set
|
|
ReadNext ( |
||
ResetReader ( ) : void | ||
WriteNewDiff ( int u ) : void |
Method | Description | |
---|---|---|
BackendAccessRank1 ( int pos, int &found_pos, |
||
BackendSelect1 ( int rank, |
Unlocked Select1 useful
|
|
SeqAccessRank1 ( int acc, long pos, int max, int &found_pos, |
protected AddItem ( int current, int prev ) : void | ||
current | int | |
prev | int | |
return | void |
public AssertEquality ( |
||
_other | ||
return | void |
public Build ( IEnumerable |
||
orderedList | IEnumerable |
|
n | int | |
b | short | |
coder | IIEncoder32 | |
return | void |
public Build ( IList |
||
orderedList | IList |
|
b | short | |
coder | IIEncoder32 | |
return | void |
public ExtractFrom ( int start_index, int count, List |
||
start_index | int | |
count | int | |
output | List |
|
return | int |
protected ReadNext ( |
||
ctx | ||
return | int |