Eren Yilmaz пре 7 година
родитељ
комит
0db3908a86

+ 5 - 0
src/Algorithms/Animated/BK/BKNodePlacement.java

@@ -5,6 +5,11 @@ import Algorithms.Animated.AnimatedAlgorithm;
 import Algorithms.Animated.AnimationController;
 import Model.LayeredGraphNode;
 
+/**
+ * The main stage of the BK node placement algorithm.
+ * @author kolja
+ *
+ */
 public class BKNodePlacement extends AnimatedAlgorithm {
 
 	/*

+ 5 - 0
src/Algorithms/Animated/BK/BlockCalc.java

@@ -8,6 +8,11 @@ import Algorithms.Animated.BackwardAction;
 import Model.LayeredGraphEdge;
 import Model.LayeredGraphNode;
 
+/**
+ * The stage of the BK node placement algorithm where the blocks are computed.
+ * @author kolja
+ *
+ */
 public class BlockCalc implements AlgorithmStage {
 
 	private int layerIndex;

+ 5 - 0
src/Algorithms/Animated/BK/Combine.java

@@ -3,6 +3,11 @@ package Algorithms.Animated.BK;
 import Algorithms.Animated.AlgorithmStage;
 import Model.LayeredGraphNode;
 
+/**
+ * The stage of the combination of the four extremal layouts.
+ * @author kolja
+ *
+ */
 public class Combine implements AlgorithmStage {
 
 	public Combine( LayeredGraphNode graph )

+ 5 - 0
src/Algorithms/Animated/BK/Compaction.java

@@ -6,6 +6,11 @@ import Algorithms.Animated.AlgorithmStage;
 import Algorithms.Animated.BackwardAction;
 import Model.LayeredGraphNode;
 
+/**
+ * The stage of compacting the layout.
+ * @author kolja
+ *
+ */
 public class Compaction implements AlgorithmStage{
 
 	private enum CompactionState

+ 5 - 0
src/Algorithms/Animated/BK/Layout.java

@@ -3,6 +3,11 @@ package Algorithms.Animated.BK;
 import Algorithms.Animated.AlgorithmStage;
 import Model.LayeredGraphNode;
 
+/**
+ * The stage where the for extremal layouts are computed.
+ * @author kolja
+ *
+ */
 public class Layout implements AlgorithmStage {
 
 	public enum LayoutType{