Chi-Tech
|
#include <GraphPartitioner.h>
Public Member Functions | |
virtual std::vector< int64_t > | Partition (const std::vector< std::vector< uint64_t > > &graph, const std::vector< chi_mesh::Vector3 > ¢roids, int number_of_parts)=0 |
Public Member Functions inherited from ChiObject | |
ChiObject () | |
ChiObject (const chi::InputParameters ¶ms) | |
void | SetStackID (size_t stack_id) |
size_t | StackID () const |
virtual void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) |
virtual | ~ChiObject ()=default |
Protected Member Functions | |
GraphPartitioner (const InputParameters ¶ms) | |
Static Protected Member Functions | |
static InputParameters | GetInputParameters () |
Additional Inherited Members | |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Abstract base class for all partitioners
Definition at line 16 of file GraphPartitioner.h.
|
explicitprotected |
Definition at line 13 of file GraphPartitioner.cc.
|
staticprotected |
Definition at line 6 of file GraphPartitioner.cc.
|
pure virtual |
Given a graph. Returns the partition ids of each row in the graph.
Implemented in chi::KBAGraphPartitioner, chi::LinearGraphPartitioner, and chi::PETScGraphPartitioner.