Class TopKMap


  • public class TopKMap
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TopKMap.TopKList  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void forEach​(org.neo4j.gds.core.utils.queue.BoundedLongLongPriorityQueue.Consumer consumer)  
      TopKMap.TopKList get​(long node1)  
      static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(long nodes, int topK)  
      void put​(long node1, long node2, double similarity)  
      java.util.stream.Stream<SimilarityResult> stream()  
      • Methods inherited from class java.lang.Object

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

      • memoryEstimation

        public static org.neo4j.gds.core.utils.mem.MemoryEstimation memoryEstimation​(long nodes,
                                                                                     int topK)
      • put

        public void put​(long node1,
                        long node2,
                        double similarity)
      • forEach

        public void forEach​(org.neo4j.gds.core.utils.queue.BoundedLongLongPriorityQueue.Consumer consumer)