Class Wcc
- java.lang.Object
-
- org.apache.hugegraph.computer.algorithm.community.wcc.Wcc
-
- All Implemented Interfaces:
org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.id.Id>
public class Wcc extends java.lang.Object implements org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.id.Id>Wcc stands for Weak Connected Component.
-
-
Constructor Summary
Constructors Constructor Description Wcc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcategory()voidcompute(org.apache.hugegraph.computer.core.worker.ComputationContext context, org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex, java.util.Iterator<org.apache.hugegraph.computer.core.graph.id.Id> messages)voidcompute0(org.apache.hugegraph.computer.core.worker.ComputationContext context, org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)java.lang.Stringname()
-
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceorg.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.id.Id>
-
category
public java.lang.String category()
- Specified by:
categoryin interfaceorg.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.id.Id>
-
compute0
public void compute0(org.apache.hugegraph.computer.core.worker.ComputationContext context, org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)- Specified by:
compute0in interfaceorg.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.id.Id>
-
compute
public void compute(org.apache.hugegraph.computer.core.worker.ComputationContext context, org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex, java.util.Iterator<org.apache.hugegraph.computer.core.graph.id.Id> messages)- Specified by:
computein interfaceorg.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.id.Id>
-
-