Added a comment.
authorFrancois Fleuret <francois@fleuret.org>
Fri, 4 Jan 2013 16:34:41 +0000 (17:34 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Fri, 4 Jan 2013 16:34:41 +0000 (17:34 +0100)
mtp_graph.cc

index 6fb3877..a7b942d 100644 (file)
@@ -457,6 +457,9 @@ void MTPGraph::compute_dp_ordering() {
   }
 
   while(already_processed < front) {
+    // Here, nodes before already_processed can be ignored, nodes
+    // before front were set to 0 predecessors during the previous
+    // iteration. We will add the 
     new_front = front;
     while(already_processed < front) {
       v = *(already_processed++);