Package org.neo4j.gds.triangle
Class IntersectingTriangleCount
- java.lang.Object
-
- org.neo4j.gds.Algorithm<IntersectingTriangleCount.TriangleCountResult>
-
- org.neo4j.gds.triangle.IntersectingTriangleCount
-
public final class IntersectingTriangleCount extends org.neo4j.gds.Algorithm<IntersectingTriangleCount.TriangleCountResult>
TriangleCount counts the number of triangles in the Graph as well as the number of triangles that passes through a node. This impl uses another approach where all the triangles can be calculated using set intersection methods of the graph itself. https://epubs.siam.org/doi/pdf/10.1137/1.9781611973198.1 http://www.cse.cuhk.edu.hk/~jcheng/papers/triangle_kdd11.pdf https://i11www.iti.kit.edu/extra/publications/sw-fclt-05_t.pdf http://www.math.cmu.edu/~ctsourak/tsourICDM08.pdf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIntersectingTriangleCount.TriangleCountResult
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntersectingTriangleCount.TriangleCountResultcompute()static IntersectingTriangleCountcreate(org.neo4j.gds.api.Graph graph, TriangleCountBaseConfig config, java.util.concurrent.ExecutorService executorService)static IntersectingTriangleCountcreate(org.neo4j.gds.api.Graph graph, TriangleCountBaseConfig config, java.util.concurrent.ExecutorService executorService, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)voidrelease()
-
-
-
Method Detail
-
create
public static IntersectingTriangleCount create(org.neo4j.gds.api.Graph graph, TriangleCountBaseConfig config, java.util.concurrent.ExecutorService executorService, org.neo4j.gds.core.utils.progress.tasks.ProgressTracker progressTracker)
-
create
@TestOnly public static IntersectingTriangleCount create(org.neo4j.gds.api.Graph graph, TriangleCountBaseConfig config, java.util.concurrent.ExecutorService executorService)
-
release
public void release()
- Specified by:
releasein classorg.neo4j.gds.Algorithm<IntersectingTriangleCount.TriangleCountResult>
-
compute
public IntersectingTriangleCount.TriangleCountResult compute()
- Specified by:
computein classorg.neo4j.gds.Algorithm<IntersectingTriangleCount.TriangleCountResult>
-
-