Struct MetisPartitionParams

Inheritance Relationships

Base Type

Struct Documentation

struct sparsebase::partition::MetisPartitionParams : public sparsebase::utils::Parameters

Parameters for metis partitioning.

This struct replaces the options array of METIS The names of the options are identical to the array and can be found here: http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/manual.pdf

Public Members

int64_t num_partitions = 2
int64_t ptype = metis::METIS_PTYPE_KWAY
int64_t objtype = metis::METIS_OBJTYPE_CUT
int64_t ctype = metis::METIS_CTYPE_RM
int64_t iptype = metis::METIS_IPTYPE_GROW
int64_t rtype = metis::METIS_RTYPE_FM
int64_t ncuts = 1
int64_t nseps = 1
int64_t numbering = 0
int64_t niter = 10
int64_t seed = 42
int64_t minconn = 0
int64_t no2hop = 0
int64_t contig = 0
int64_t compress = 0
int64_t ccorder = 0
int64_t pfactor = 0
int64_t ufactor = 30