Свойство | Type | Description | |
---|---|---|---|
Stream |
Свойство | Type | Description | |
---|---|---|---|
B | short |
Méthode | 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)
|
Méthode | Description | |
---|---|---|
AddItem ( int current, int prev ) : void |
Internal method to add an (ordered) item to the set
|
|
ReadNext ( |
||
ResetReader ( ) : void | ||
WriteNewDiff ( int u ) : void |
Méthode | 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 | |
Résultat | void |
public AssertEquality ( |
||
_other | ||
Résultat | void |
public Build ( IEnumerable |
||
orderedList | IEnumerable |
|
n | int | |
b | short | |
coder | IIEncoder32 | |
Résultat | void |
public Build ( IList |
||
orderedList | IList |
|
b | short | |
coder | IIEncoder32 | |
Résultat | void |
public ExtractFrom ( int start_index, int count, List |
||
start_index | int | |
count | int | |
output | List |
|
Résultat | int |
protected ReadNext ( |
||
ctx | ||
Résultat | int |
public Select1Difference ( int rank ) : int | ||
rank | int | |
Résultat | int |