Beispiel #1
0
 private long FindNode(NodeRelationshipCache link, long nodeCount, bool isDense)
 {
     for (long i = 0; i < nodeCount; i++)
     {
         if (link.IsDense(i) == isDense)
         {
             return(i);
         }
     }
     throw new System.ArgumentException("No dense node found");
 }