|
ADS
Algorithms and Data Structures
|
The \( k^2 \)-tree of Brisaboa, Ladra and Navarro (chapter 15, Compressed Data Structures, of Ferragina's book). More...
Files | |
| file | ADS/succinct/K2Tree.h |
| The \( k^2 \)-tree of Brisaboa, Ladra and Navarro (chapter 15, Compressed Data Structures, of Ferragina's book): the adjacency matrix of a graph of \( n \) nodes, padded to the side \( N = k^h \ge n \), is split into \( k^2 \) submatrices of side \( N / k \), each one a child of the root marked 1 if it has an edge and 0 otherwise, and each child marked 1 is split again, down to the cells. | |
Classes | |
| class | ADS::K2Tree |
| the adjacency matrix of a static directed graph as a \( k^2 \)-tree More... | |
The \( k^2 \)-tree of Brisaboa, Ladra and Navarro (chapter 15, Compressed Data Structures, of Ferragina's book).
The definitions, the invariants and the costs of the area are in Theory of succinct structures.