Pārlūkot izejas kodu

add todo for exception fix

Eren Yilmaz 7 gadi atpakaļ
vecāks
revīzija
1ace4dfc9e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/bk/ConflictDetection.java

+ 1 - 1
src/bk/ConflictDetection.java

@@ -27,7 +27,7 @@ public class ConflictDetection implements AlgorithmStage {
     public StageStatus forwardStep() {
     	int oldI = i;
     	int oldL1 = l1;
-    	LayeredGraphNode curr = graph.getContainedLayers().get( i + 1 ).get( l1 );
+    	LayeredGraphNode curr = graph.getContainedLayers().get( i + 1 ).get( l1 ); // TODO: fix IndexOutOfBoundsException
     	curr.setSelected( null );
     	ArrayList< LayeredGraphEdge > edges = curr.getIncomingEdges();
     	LayeredGraphEdge dummyEdge = null;