commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1354993 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
Date Thu, 28 Jun 2012 12:55:11 GMT
Author: simonetripodi
Date: Thu Jun 28 12:55:10 2012
New Revision: 1354993

URL: http://svn.apache.org/viewvc?rev=1354993&view=rev
Log:
just added embedded comments, no functional changes

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java?rev=1354993&r1=1354992&r2=1354993&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
Thu Jun 28 12:55:10 2012
@@ -387,11 +387,12 @@ public final class FibonacciHeap<E>
             consolidate();
         }
 
-        // n[H] <- n[H] - 1
+        // 11  n[H] <- n[H] - 1
         size--;
 
         E minimum = z.getElement();
         elementsIndex.remove( minimum );
+        // 12  return z
         return minimum;
     }
 



Mime
View raw message