The size of the flat tree's leaves.
The RPTree to transform.
Given a point, returns the indices of the leaf that could have been its father in the tree.
Given a point, returns the indices of the leaf that could have been its father in the tree.
The point which side we are looking for.
The initialization array for random.
The number of the actual node. Default is 0 for the tree's root.
A vector containing the indices of the father leaf.
Given a point, returns which side of the tree the point should be in.
Given a point, returns which side of the tree the point should be in.
The number of the node that is the root of the tree that we are looking into.
The point which side in the tree we are looking for.
The initialization array for random.
A boolean representing the side (true for left, false for right).
A FlatTree is a flat form for an RPTree. It is made to improve searching time through the tree.
The RPTree to transform.
The size of the flat tree's leaves.