n-Dimensional Fast Methods
0.7
All
Classes
Functions
Variables
Typedefs
Pages
fmcompare.hpp
1
20
#ifndef FMCOMPARE_H_
21
#define FMCOMPARE_H_
22
23
#include <fast_methods/ndgridmap/fmcell.h>
24
28
template
<
class
cell_t>
struct
FMCompare
{
29
inline
bool
operator()
30
(
const
cell_t * c1 ,
const
cell_t * c2)
const
{
31
return
c1->getTotalValue() > c2->getTotalValue();
32
}
33
};
34
35
#endif
/* FMCOMPARE_H_ */
FMCompare
This struct is used a comparator for the heap. Since a minimum-heap is desired the operation checked ...
Definition:
fmcompare.hpp:28
include
fast_methods
datastructures
fmcompare.hpp
Generated on Fri Dec 8 2017 10:14:49 for n-Dimensional Fast Methods by
1.8.6