helix.graph.algo.c3part.aggregator
Class CenteredAggregator

java.lang.Object
  extended by helix.graph.algo.c3part.aggregator.NodeAggregator
      extended by helix.graph.algo.c3part.aggregator.PivotingAggregator
          extended by helix.graph.algo.c3part.aggregator.CenteredAggregator

public class CenteredAggregator
extends PivotingAggregator


Constructor Summary
CenteredAggregator(Graph datagraph, C3PartOptions options)
          required constructor
 
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
 
Methods inherited from class helix.graph.algo.c3part.aggregator.NodeAggregator
getOptions, getParamInfo, getTerminals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CenteredAggregator

public CenteredAggregator(Graph datagraph,
                          C3PartOptions options)
required constructor

Method Detail

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