helix.graph.algo.c3part.aggregator
Class CliqueAggregator

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.CliqueAggregator

public class CliqueAggregator
extends PivotingAggregator


Constructor Summary
CliqueAggregator(Graph datagraph, C3PartOptions options)
          required constructor
 
Method Summary
 GraphCleaner getCleanerFor()
          get an instance of a datagraph cleaner for this aggregator default: return a NoCleaner
 boolean isAggregable(Vertex V, Vertex v)
          Check if datagraph node 'v' forms an epsilon clique with all elements in Nodes(V) note: star ghost is considered having epsilon links with any vertex (including itself) note: since Nodes(V) already forms a clique, we just have to check that v is epsilon connected to each element
 
Methods inherited from class helix.graph.algo.c3part.aggregator.NodeAggregator
getOptions, getParamInfo, getPreferredColor, getTerminals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CliqueAggregator

public CliqueAggregator(Graph datagraph,
                        C3PartOptions options)
required constructor

Method Detail

isAggregable

public boolean isAggregable(Vertex V,
                            Vertex v)
Check if datagraph node 'v' forms an epsilon clique with all elements in Nodes(V) note: star ghost is considered having epsilon links with any vertex (including itself) note: since Nodes(V) already forms a clique, we just have to check that v is epsilon connected to each element

Specified by:
isAggregable 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