SparseLibrary  Version 1.6.0
Public Member Functions | List of all members
HilbertTripletCompare< T > Class Template Reference

Class-comparator of HilbertTriplet. More...

#include <HilbertTripletCompare.hpp>

Public Member Functions

bool operator() (HilbertTriplet< T > i, HilbertTriplet< T > j)
 Compares two Hilbert triplets. More...
 

Detailed Description

template<typename T>
class HilbertTripletCompare< T >

Class-comparator of HilbertTriplet.

Member Function Documentation

template<typename T>
bool HilbertTripletCompare< T >::operator() ( HilbertTriplet< T >  i,
HilbertTriplet< T >  j 
)
inline

Compares two Hilbert triplets.

Parameters
iThe first Hilbert triplet.
jThe second Hilbert triplet.
Returns
Whether the Hilbert index of i is smaller than the one of j.

References HilbertTriplet< T >::getLeastSignificantHilbertBits(), and HilbertTriplet< T >::getMostSignificantHilbertBits().


The documentation for this class was generated from the following file: