|
Plugins
|
#include <cr_reorder.h>
Public Member Functions | |
| CompareDeg (const std::vector< size_t > &vInfo) | |
| constructor, passing field with connections for each index | |
| bool | operator() (size_t i, size_t j) |
| comparison operator | |
Private Attributes | |
| const std::vector< size_t > & | m_degree |
| storage field of connections of each index | |
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()().