Interface AdjacencyListBehavior


  • public interface AdjacencyListBehavior
    Manages different configurations of adjacency list building, i.e., compressed or uncompressed.
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static org.neo4j.gds.core.utils.mem.MemoryEstimation adjacencyListEstimation​(long avgDegree, long nodeCount)  
      static org.neo4j.gds.core.utils.mem.MemoryEstimation adjacencyListEstimation​(org.neo4j.gds.RelationshipType relationshipType, boolean undirected)  
      static org.neo4j.gds.core.utils.mem.MemoryEstimation adjacencyPropertiesEstimation​(org.neo4j.gds.RelationshipType relationshipType, boolean undirected)  
      static AdjacencyCompressorFactory asConfigured​(java.util.function.LongSupplier nodeCountSupplier, org.neo4j.gds.PropertyMappings propertyMappings, org.neo4j.gds.core.Aggregation[] aggregations)  
      static AdjacencyCompressorFactory compressed​(java.util.function.LongSupplier nodeCountSupplier, org.neo4j.gds.PropertyMappings propertyMappings, org.neo4j.gds.core.Aggregation[] aggregations, boolean noAggregation)  
      static AdjacencyCompressorFactory uncompressed​(java.util.function.LongSupplier nodeCountSupplier, org.neo4j.gds.PropertyMappings propertyMappings, org.neo4j.gds.core.Aggregation[] aggregations, boolean noAggregation)  
    • Method Detail

      • asConfigured

        static AdjacencyCompressorFactory asConfigured​(java.util.function.LongSupplier nodeCountSupplier,
                                                       org.neo4j.gds.PropertyMappings propertyMappings,
                                                       org.neo4j.gds.core.Aggregation[] aggregations)
      • compressed

        static AdjacencyCompressorFactory compressed​(java.util.function.LongSupplier nodeCountSupplier,
                                                     org.neo4j.gds.PropertyMappings propertyMappings,
                                                     org.neo4j.gds.core.Aggregation[] aggregations,
                                                     boolean noAggregation)
      • uncompressed

        static AdjacencyCompressorFactory uncompressed​(java.util.function.LongSupplier nodeCountSupplier,
                                                       org.neo4j.gds.PropertyMappings propertyMappings,
                                                       org.neo4j.gds.core.Aggregation[] aggregations,
                                                       boolean noAggregation)
      • adjacencyListEstimation

        static org.neo4j.gds.core.utils.mem.MemoryEstimation adjacencyListEstimation​(long avgDegree,
                                                                                     long nodeCount)
      • adjacencyListEstimation

        static org.neo4j.gds.core.utils.mem.MemoryEstimation adjacencyListEstimation​(org.neo4j.gds.RelationshipType relationshipType,
                                                                                     boolean undirected)
      • adjacencyPropertiesEstimation

        static org.neo4j.gds.core.utils.mem.MemoryEstimation adjacencyPropertiesEstimation​(org.neo4j.gds.RelationshipType relationshipType,
                                                                                           boolean undirected)