Class RingsDetection

  • All Implemented Interfaces:
    org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.value.IdList>

    public class RingsDetection
    extends java.lang.Object
    implements org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.value.IdList>
    • Constructor Summary

      Constructors 
      Constructor Description
      RingsDetection()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String category()  
      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.value.IdList> messages)  
      void compute0​(org.apache.hugegraph.computer.core.worker.ComputationContext context, org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)  
      java.lang.String name()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.hugegraph.computer.core.worker.Computation

        afterSuperstep, beforeSuperstep, close, init
    • Constructor Detail

      • RingsDetection

        public RingsDetection()
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.value.IdList>
      • category

        public java.lang.String category()
        Specified by:
        category in interface org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.value.IdList>
      • compute0

        public void compute0​(org.apache.hugegraph.computer.core.worker.ComputationContext context,
                             org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)
        Specified by:
        compute0 in interface org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.value.IdList>
      • 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.value.IdList> messages)
        Specified by:
        compute in interface org.apache.hugegraph.computer.core.worker.Computation<org.apache.hugegraph.computer.core.graph.value.IdList>