Class SpanningGraph

  • All Implemented Interfaces:
    org.neo4j.gds.api.BatchNodeIterable, org.neo4j.gds.api.Degrees, org.neo4j.gds.api.Graph, org.neo4j.gds.api.IdMap, org.neo4j.gds.api.NodeIterator, org.neo4j.gds.api.PartialIdMap, org.neo4j.gds.api.properties.nodes.NodePropertyContainer, org.neo4j.gds.api.RelationshipIterator, org.neo4j.gds.api.RelationshipPredicate, org.neo4j.gds.api.RelationshipProperties

    public class SpanningGraph
    extends org.neo4j.gds.api.GraphAdapter
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.neo4j.gds.api.BatchNodeIterable

        org.neo4j.gds.api.BatchNodeIterable.BitSetIdIterator, org.neo4j.gds.api.BatchNodeIterable.IdIterable, org.neo4j.gds.api.BatchNodeIterable.IdIterator
      • Nested classes/interfaces inherited from interface org.neo4j.gds.api.IdMap

        org.neo4j.gds.api.IdMap.NodeLabelConsumer
    • Field Summary

      • Fields inherited from class org.neo4j.gds.api.GraphAdapter

        graph
      • Fields inherited from interface org.neo4j.gds.api.IdMap

        NOT_FOUND, START_NODE_ID
    • Constructor Summary

      Constructors 
      Constructor Description
      SpanningGraph​(org.neo4j.gds.api.Graph graph, SpanningTree spanningTree)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.neo4j.gds.api.Graph concurrentCopy()  
      int degree​(long nodeId)  
      boolean exists​(long sourceNodeId, long targetNodeId)  
      void forEachRelationship​(long nodeId, double fallbackValue, org.neo4j.gds.api.RelationshipWithPropertyConsumer consumer)  
      void forEachRelationship​(long nodeId, org.neo4j.gds.api.RelationshipConsumer consumer)  
      • Methods inherited from class org.neo4j.gds.api.GraphAdapter

        addNodeIdToLabel, addNodeLabel, asNodeFilteredGraph, availableNodeLabels, availableNodeProperties, batchIterables, canRelease, characteristics, contains, degreeInverse, degreeWithoutParallelRelationships, forEachInverseRelationship, forEachInverseRelationship, forEachNode, forEachNodeLabel, graph, hasLabel, hasRelationshipProperty, highestOriginalId, isMultiGraph, nodeCount, nodeCount, nodeIterator, nodeIterator, nodeLabels, nodeProperties, nthTarget, relationshipCount, relationshipProperty, relationshipProperty, relationshipTypeFilteredGraph, release, releaseProperties, releaseTopology, rootIdMap, rootNodeCount, schema, streamRelationships, supportsInverseIteration, toMappedNodeId, toOriginalNodeId, toRootNodeId, withFilteredLabels
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.gds.api.Graph

        isEmpty
      • Methods inherited from interface org.neo4j.gds.api.IdMap

        safeToMappedNodeId
    • Constructor Detail

      • SpanningGraph

        public SpanningGraph​(org.neo4j.gds.api.Graph graph,
                             SpanningTree spanningTree)
    • Method Detail

      • degree

        public int degree​(long nodeId)
        Specified by:
        degree in interface org.neo4j.gds.api.Degrees
        Overrides:
        degree in class org.neo4j.gds.api.GraphAdapter
      • forEachRelationship

        public void forEachRelationship​(long nodeId,
                                        org.neo4j.gds.api.RelationshipConsumer consumer)
        Specified by:
        forEachRelationship in interface org.neo4j.gds.api.RelationshipIterator
        Overrides:
        forEachRelationship in class org.neo4j.gds.api.GraphAdapter
      • forEachRelationship

        public void forEachRelationship​(long nodeId,
                                        double fallbackValue,
                                        org.neo4j.gds.api.RelationshipWithPropertyConsumer consumer)
        Specified by:
        forEachRelationship in interface org.neo4j.gds.api.RelationshipIterator
        Overrides:
        forEachRelationship in class org.neo4j.gds.api.GraphAdapter
      • exists

        public boolean exists​(long sourceNodeId,
                              long targetNodeId)
        Specified by:
        exists in interface org.neo4j.gds.api.RelationshipPredicate
        Overrides:
        exists in class org.neo4j.gds.api.GraphAdapter
      • concurrentCopy

        public org.neo4j.gds.api.Graph concurrentCopy()