public class HyperPartitioning extends HierarchicalPartitioning
relType, weightType
Constructor and Description |
---|
HyperPartitioning() |
Modifier and Type | Method and Description |
---|---|
double |
partition(Graph g,
Iterable<? extends Node> nodes,
RelationshipWeighter rweight,
List<? extends Collection<Node>> partition)
Partition the set of nodes into the specified number of blocks aiming to minimize the edge
cut as specified by the RelationshipWeighter.
|
double |
partition(Graph g,
Iterable<? extends Node> nodes,
RelationshipWeighter rweight,
NodeWeighter nweight,
List<? extends Collection<Node>> partition) |
coarseSizeThreshold, createCoarseGraph, getBalanceExponent, getNoPartitioningTrials, getSize, partition, setBalanceExponent, setNoPartitioningTrials, setSize
public double partition(Graph g, Iterable<? extends Node> nodes, RelationshipWeighter rweight, List<? extends Collection<Node>> partition)
Partitioner
partition
in interface Partitioner
partition
in class HierarchicalPartitioning
nodes
- Iterable over a set of nodes. It is assumed, that no node occurs multiple times during iteration.rweight
- RelationshipWeighter defining the strength of relationships taken into account by the partitioning algorithm.partition
- Initialized partition containerpublic double partition(Graph g, Iterable<? extends Node> nodes, RelationshipWeighter rweight, NodeWeighter nweight, List<? extends Collection<Node>> partition)
partition
in class HierarchicalPartitioning
Copyright © 2018 University of California, Santa Cruz. All rights reserved.