Browse Source

Documented Metrics

Jan Enders 7 years ago
parent
commit
a7dae94093

+ 9 - 0
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/metrics/OperatorInfoMetric.java

@@ -12,6 +12,15 @@ import de.tu_darmstadt.informatik.tk.scopviz.main.Layer;
 import de.tu_darmstadt.informatik.tk.scopviz.metrics.interfaces.ScopvizGraphMetric;
 import javafx.util.Pair;
 
+/**
+ * Class to show Information about the different Operator Graphs, implemented as
+ * a metric. For each Operator Graph, this shows its priority and whether it was
+ * fully placed.
+ * 
+ * @author Jan Enders
+ * @version 1.0
+ *
+ */
 public class OperatorInfoMetric implements ScopvizGraphMetric {
 
 	@Override

+ 9 - 0
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/metrics/TaskFulfillmentMetric.java

@@ -12,6 +12,15 @@ import de.tu_darmstadt.informatik.tk.scopviz.main.Layer;
 import de.tu_darmstadt.informatik.tk.scopviz.metrics.interfaces.ScopvizGraphMetric;
 import javafx.util.Pair;
 
+/**
+ * Class to compute the Task Fulfillment Metric. Task Fulfillment is defined by
+ * the priorities of te fully placed operator Graphs and the percentage,
+ * weighted by priorites, of placed Operator Graphs to all Operator Graphs.
+ * 
+ * @author Jan Enders
+ * @version 1.0
+ *
+ */
 public class TaskFulfillmentMetric implements ScopvizGraphMetric {
 
 	/** The text to display in case of an error during computation. */