Package org.neo4j.gds.spanningtree
Class SpanningTree
- java.lang.Object
-
- org.neo4j.gds.spanningtree.SpanningTree
-
public class SpanningTree extends java.lang.Objectgroup of nodes that form a spanning tree
-
-
Constructor Summary
Constructors Constructor Description SpanningTree(long head, long nodeCount, long effectiveNodeCount, org.neo4j.gds.core.utils.paged.HugeLongArray parent, org.neo4j.gds.core.utils.paged.HugeDoubleArray costToParent, double totalWeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecostToParent(long nodeId)longeffectiveNodeCount()booleanequals(java.lang.Object o)voidforEach(org.neo4j.gds.api.RelationshipWithPropertyConsumer consumer)inthashCode()longhead(long node)longparent(long nodeId)org.neo4j.gds.core.utils.paged.HugeLongArrayparentArray()doubletotalWeight()
-
-
-
Method Detail
-
effectiveNodeCount
public long effectiveNodeCount()
-
totalWeight
public double totalWeight()
-
parentArray
public org.neo4j.gds.core.utils.paged.HugeLongArray parentArray()
-
parent
public long parent(long nodeId)
-
costToParent
public double costToParent(long nodeId)
-
forEach
public void forEach(org.neo4j.gds.api.RelationshipWithPropertyConsumer consumer)
-
head
public long head(long node)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-