142 poros_vtx_type numVertices,
143 poros_adj_type
const * edgePrefix,
144 poros_vtx_type
const * edgeList,
145 poros_wgt_type
const * vertexWeights,
146 poros_wgt_type
const * edgeWeights,
147 poros_pid_type numPartitions,
149 poros_wgt_type * totalCutEdgeWeight,
150 poros_pid_type * partitionAssignment);
poros_options_struct POROS_defaultOptions(void)
Generate the default options to execute Poros with.
aggregator_type
Aggregation types.
Definition: poros.h:51
uint32_t poros_adj_type
Definition: poros.h:43
double * targetPartitionFractions
The fraction of weight for each partition. If this is null, then each partition will be of equal weig...
Definition: poros.h:86
bisector_type
Bisector types.
Definition: poros.h:60
int outputTimes
Write timing information to stdout. Used for development and benchmarking purposes.
Definition: poros.h:111
uint32_t poros_vtx_type
Definition: poros.h:42
uint32_t poros_pid_type
Definition: poros.h:45
uint32_t poros_wgt_type
Definition: poros.h:44
int POROS_PartGraphRecursive(poros_vtx_type numVertices, poros_adj_type const *edgePrefix, poros_vtx_type const *edgeList, poros_wgt_type const *vertexWeights, poros_wgt_type const *edgeWeights, poros_pid_type numPartitions, poros_options_struct const *options, poros_wgt_type *totalCutEdgeWeight, poros_pid_type *partitionAssignment)
Partition a graph using recursive bisection.
int aggregationScheme
The type of aggregation to perform. Should be a member of the aggreagtor_type enum.
Definition: poros.h:105
int refinementIterations
The maximum number of refinement iterations to perform. A value of -1 will result in there being no m...
Definition: poros.h:99
double imbalanceTolerance
The fraction of imbalance to accept (i.e., 0.03 allows for one partition to be 3% higher than its tar...
Definition: poros.h:79
unsigned int randomSeed
The random seed to use for generating random numbers.
Definition: poros.h:91
two_way_refiner_type
Two way refinement type.
Definition: poros.h:69