FlashGraph-ng
A new frontier in large-scale graph analysis and data mining
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
hilbert_curve.h
1 #ifndef __HILBERT_CURVE_H__
2 #define __HILBERT_CURVE_H__
3 
4 /*
5  * This converts 2d coordinates x and y into the location in the hilbert curve.
6  * n indicates the size of the square (2^n x 2^n).
7  */
8 int hilbert_xy2d (int n, int x, int y);
9 
10 #endif