Skip to content

Simple implementation of Wavelet Tree with access, rank, select operations

Notifications You must be signed in to change notification settings

tomfluff/wavelet_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wavelet Tree

Simple implementation of Wavelet Tree with access, rank, select operations. The Wavelet Tree is a type of Succinct data structure which enables $O(log(\sigma))$ time complexity over rank, select, access operations.

BitVector Class

Simplified implementation with no regards to time complexity.

WaveletNode Class

Node class for the Wavelet Tree, includes Bit Vector, parent, left, right, sign and label.

WaveletTree Class

Main class for Wavelet Tree construction, has build_tree method for building a Wavelet Tree over the defined text.

About

Simple implementation of Wavelet Tree with access, rank, select operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages