helix.graph.algo.c3part.aggregator
Class CenteredAggregator
java.lang.Object
helix.graph.algo.c3part.aggregator.NodeAggregator
helix.graph.algo.c3part.aggregator.PivotingAggregator
helix.graph.algo.c3part.aggregator.CenteredAggregator
public class CenteredAggregator
- extends PivotingAggregator
Method Summary |
GraphCleaner |
getCleanerFor()
get an instance of a datagraph cleaner for this aggregator
default: return a NoCleaner |
int |
getPreferredColor()
tells if this aggregator has some preferred color (e.g. |
boolean |
isAggregable(Vertex V,
Vertex v)
Check if datagraph node 'v' forms an epsilon star with
the first element in Nodes(V), considered as the pivot |
CenteredAggregator
public CenteredAggregator(Graph datagraph,
C3PartOptions options)
- required constructor
isAggregable
public boolean isAggregable(Vertex V,
Vertex v)
- Check if datagraph node 'v' forms an epsilon star with
the first element in Nodes(V), considered as the pivot
- Specified by:
isAggregable
in class NodeAggregator
getPreferredColor
public int getPreferredColor()
- Description copied from class:
NodeAggregator
- tells if this aggregator has some preferred color (e.g. pivot)
(this is mostly useful for ColorOptimizer's to known which
color to start with)
default : return < 0 for no preferred color
- Overrides:
getPreferredColor
in class NodeAggregator
getCleanerFor
public GraphCleaner getCleanerFor()
- Description copied from class:
NodeAggregator
- get an instance of a datagraph cleaner for this aggregator
default: return a NoCleaner
- Overrides:
getCleanerFor
in class NodeAggregator