K- graph ID type
VV- vertex value type
EV- edge value type
public class TriadicCensus<K extends Comparable<K> & CopyableValue<K>,VV,EV> extends GraphAnalyticBase<K,VV,EV,TriadicCensus.Result>
The four types of undirected triads are formed with 0, 1, 2, or 3 connecting edges.
|Modifier and Type||Class and Description|
Wraps triadic census metrics.
|Constructor and Description|
|Modifier and Type||Method and Description|
This method must be called after the program has executed.
execute, execute, setParallelism
public TriadicCensus<K,VV,EV> run(Graph<K,VV,EV> input) throws Exception
GraphAnalyticprocessing must be terminated by an
OutputFormat. Rather than obtained via accumulators rather than returned by a
GraphAnalytic<K extends Comparable<K> & CopyableValue<K>,VV,EV,TriadicCensus.Result>
GraphAnalyticBase<K extends Comparable<K> & CopyableValue<K>,VV,EV,TriadicCensus.Result>
input- input graph
public TriadicCensus.Result getResult()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.