|
ADS
Algorithms and Data Structures
|
The partitions of METIS (https://github.com/KarypisLab/METIS) of a StaticGraph, beyond the book. More...
Files | |
| file | ADS/interop/metis/Metis.h |
| The partitions of METIS (https://github.com/KarypisLab/METIS) of a StaticGraph, beyond the book: partition( g , k , o ) calls METIS_PartGraphKway(), or METIS_PartGraphRecursive() when o.recursive, on the compressed rows of \( g \), and gives back a Partition [see interop/Csr.h], the part of each node and the weight of the edges cut, whose order() relabels the graph part by part through StaticGraph::relabel(). | |
Classes | |
| struct | ADS::metis::Options |
| the options of a partition by METIS More... | |
Typedefs | |
| using | ADS::metis::Input = CsrInput< idx_t , idx_t > |
| the arrays of a graph for METIS: in place where the layouts agree | |
Functions | |
| template<class G> | |
| Partition | ADS::metis::partition (const G &g, const Input &I, int k, const Options &o=Options()) |
| the partition of the nodes of \( g \) into \( k \) parts by METIS, on the input \( I \) of \( g \) (whose arrays it reads in place, or the copies of CsrInput) | |
| template<class G> | |
| Partition | ADS::metis::partition (const G &g, int k, const Options &o=Options()) |
| the partition of the nodes of \( g \) into \( k \) parts by METIS, on the rows of \( g \) read in place where the layouts agree | |
The partitions of METIS (https://github.com/KarypisLab/METIS) of a StaticGraph, beyond the book.
| using ADS::metis::Input = CsrInput< idx_t , idx_t > |
the arrays of a graph for METIS: in place where the layouts agree
|
nodiscard |
the partition of the nodes of \( g \) into \( k \) parts by METIS, on the input \( I \) of \( g \) (whose arrays it reads in place, or the copies of CsrInput)
|
nodiscard |
the partition of the nodes of \( g \) into \( k \) parts by METIS, on the rows of \( g \) read in place where the layouts agree