Class DegreeCache


  • public class DegreeCache
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DegreeCache EMPTY  
    • Constructor Summary

      Constructors 
      Constructor Description
      DegreeCache​(org.neo4j.graphalgo.core.utils.paged.HugeDoubleArray aggregatedDegrees, org.neo4j.graphalgo.core.utils.paged.HugeObjectArray<org.neo4j.graphalgo.core.utils.paged.HugeDoubleArray> weights, double averageDegree)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DegreeCache withAverage​(double newAverage)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DegreeCache

        public DegreeCache​(org.neo4j.graphalgo.core.utils.paged.HugeDoubleArray aggregatedDegrees,
                           org.neo4j.graphalgo.core.utils.paged.HugeObjectArray<org.neo4j.graphalgo.core.utils.paged.HugeDoubleArray> weights,
                           double averageDegree)
    • Method Detail

      • withAverage

        public DegreeCache withAverage​(double newAverage)