ug4
|
help class to provide compare operator for indices based on their degree More...
Public Member Functions | |
CompareDegree (const std::vector< std::vector< size_t > > &vInfo) | |
constructor, passing field with connections for each index More... | |
bool | operator() (size_t i, size_t j) |
comparison operator More... | |
Private Attributes | |
const std::vector< std::vector< size_t > > & | m_vCon |
storage field of connections of each index More... | |
help class to provide compare operator for indices based on their degree
This class is used to provide an ordering for indices. The ordering relation is based on the connectivity-degree, i.e. on the number of connections the index has. The indices with less connections are ordered first.
|
inline |
constructor, passing field with connections for each index
|
inline |
|
private |
storage field of connections of each index
Referenced by operator()().