36# ifndef __BITPIT_SORT_ALGORITHMS_HPP__
37# define __BITPIT_SORT_ALGORITHMS_HPP__
54# include "Operators.hpp"
59template <
class T,
class T1 =
int>
82template <
int d,
class T,
class T1 =
int>
89 std::vector< KdNode<T, T1> >
nodes;
162template <
class T,
class T1 = T>
171 std::vector< std::array<int,2> > *
map;
180 std::vector< std::array<int,2> > *b = NULL
185 std::vector< std::array<int,2> > *b = NULL
242template <
class T,
class T1 = T>
251 std::vector< std::array<int,2> > *
map;
259 std::vector< std::array<int,2> > *b = NULL
264 std::vector< std::array<int,2> > *b = NULL
366 const std::vector<T> &
383# include "LIFOStack.tpp"
384# include "PQueue.tpp"
385# include "KdTree.tpp"
class for kd-tree data structure.
KdTree(int stack_size=10)
std::vector< KdNode< T, T1 > > nodes
int hNeighbor(const T *, T2, bool, int n=0, int l=0)
void hNeighbors(const T *, T2, std::vector< T1 > *, std::vector< T1 > *, int n=0, int l=0)
class for Last In First Out stack
void display(std::ostream &)
class for max priority queue.
std::vector< std::array< int, 2 > > * map
void display(std::ostream &)
MaxPQueue(bool a=false, std::vector< std::array< int, 2 > > *b=NULL)
class for min priority queue.
void display(std::ostream &)
std::vector< std::array< int, 2 > > * map
MinPQueue(bool a=false, std::vector< std::array< int, 2 > > *b=NULL)