MPQC
3.0.0-alpha
|
Functor for determining if one IndexList is less than another. More...
#include <chemistry/qc/lmp2/sma.h>
Public Member Functions | |
IndexListLess (const IndexList &il) | |
Use the IndexList il to sort the indices. | |
IndexListLess (const IndexList &il1, const IndexList &il2) | |
Use the indices in both IndexList objects, il1 and il2, to sort the indices. | |
bool | operator() (const BlockInfo< N > &b1, const BlockInfo< N > &b2) const |
int | compare (const BlockInfo< N > &b1, const BlockInfo< N > &b2) const |
Functor for determining if one IndexList is less than another.
Note: this uses the BlockInfo bound info. As a result, when using this as a set or map comparison optimization, care must be taken that the bound does not get changed, even though the bound is mutable.