Template Class GrayReorder
Defined in File gray_reorder.h
Inheritance Relationships
Base Type
public sparsebase::reorder::Reorderer< IDType >
(Template Class Reorderer)
Class Documentation
-
template<typename IDType, typename NNZType, typename ValueType>
class sparsebase::reorder::GrayReorder : public sparsebase::reorder::Reorderer<IDType> Public Types
-
typedef GrayReorderParams ParamsType
Parameter type for GrayReorder.
Public Functions
-
GrayReorder(BitMapSize resolution, int nnz_threshold, int sparse_density_group_size)
-
explicit GrayReorder(GrayReorderParams)
Protected Static Functions
-
static bool desc_comparator(const row_grey_pair &l, const row_grey_pair &r)
-
static bool asc_comparator(const row_grey_pair &l, const row_grey_pair &r)
-
static unsigned long grey_bin_to_dec(unsigned long n)
-
static void print_dec_in_bin(unsigned long n, int size)
-
static unsigned long bin_to_grey(unsigned long n)
-
static bool is_banded(int nnz, int n_cols, NNZType *row_ptr, IDType *cols, std::vector<IDType> order, int band_size = -1)
-
static IDType *GrayReorderingCSR(std::vector<format::Format*> input_sf, utils::Parameters *poly_params)
-
typedef GrayReorderParams ParamsType