Plugins
|
#include <cr_reorder.h>
Public Member Functions | |
CompareDeg (const 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< size_t > & | m_degree |
storage field of connections of each index More... | |
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 |
comparison operator
References m_degree.
|
private |
storage field of connections of each index
Referenced by operator()().