nxmetis.types.MetisOptions¶
-
class
nxmetis.types.MetisOptions(**kwargs)¶ Options controlling behaviors of METIS algorithms.
-
__init__(**kwargs)¶ Initializes a MetisOptions object. Values can be provided for some parameters as arguments.
Example
>>> options = MetisOptions(ncuts=2, niter=100)
Methods
__init__(**kwargs)Initializes a MetisOptions object. Attributes
ccorderA boolean to detect & order connected components separately. compressA boolean to compress graph prior to ordering. contigA boolean to create contigous partitions. ctypeMatching scheme to be used during coarsening. dbglvlAmount of progress/debugging information will be printed during the execution of the algorithms. iptypeAlgorithm used during initial partitioning. minconnNumber of mimimum connectivity. ncutsNumber of cuts. niterNumber of refinement iterations. no2hopA boolean to perform a 2-hop matching. nsepsNumber of separators. numberingNumbering scheme is used for the adjacency structure of a graph or the element-node structure of a mesh. objtypeType of objective. pfactorPrunning factor for high degree vertices. ptypeTypes of Partitioning method. rtypeAlgorithm used for refinement. seedRandom number seed. ufactorUser-supplied ufactor. -