-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Most wavelet tree implementations extend the definition for rank, select, and access over bit-sequences to the wavelet tree itself.
- The
WaveletTree::lookupoperation seems to be equivalent to aselectwith some additional caching done to accelerate subsequent queries. - The
WaveletTree::decode_oneoperation seems to be equivalent to anaccessoperation. rankdoesn't seem to have a corresponding method.
Since the implementation of this project appears to be an independent invention of the wavelet matrix it probably makes sense to just implement the rank from the paper. (Doing a comparison of the other operations is probably also interesting.)
Metadata
Metadata
Assignees
Labels
No labels
