Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/DebuggingHelper.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/DebuggingHelper.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/DebuggingHelper.java	(revision 2258)
@@ -25,5 +25,5 @@
 /**
  * <p>
- * TODO comment
+ * Utility class to transform a task tree to a plain text representation
  * </p>
  * 
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/MostSimilarTaskDeterminer.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/MostSimilarTaskDeterminer.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/MostSimilarTaskDeterminer.java	(revision 2258)
@@ -77,8 +77,8 @@
     private Set<Long> comparisonsToSkip = new HashSet<>();
     
-    /** TODO comment */
+    /** stores the number of planned and started comparisons */
     private long comparisonCounter = 0;
     
-    /** TODO comment */
+    /** stores the number of all comparisons done completely (i.e., not those that were skipped because comparison is not useful) */
     private long effectiveComparisonCounter = 0;
 
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/SimilarTasks.java	(revision 2258)
@@ -149,11 +149,7 @@
     /**
      * <p>
-     * TODO: comment
+     * static convenience method to compare two task traversals using a given comparator to compare
+     * the individual tasks in the traversals.
      * </p>
-     *
-     * @param traversal1
-     * @param traversal2
-     * @param comparator
-     * @return
      */
     public static SimilarTasks compareTraversals(TaskTraversal  traversal1,
@@ -268,5 +264,6 @@
     /**
      * <p>
-     * TODO: comment
+     * returns true, if the differences between the traversals are between the beginning and the
+     * end of both traversals.
      * </p>
      *
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTraversal.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTraversal.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTraversal.java	(revision 2258)
@@ -30,5 +30,14 @@
 /**
  * <p>
- * TODO comment
+ * A task traversal represents a list of task paths through a task tree. Traversal may represent all
+ * possible task paths. In this case, all paths start with the root node and end with the leaf
+ * nodes. It is also possible to exclude the traversal of a certain parent node. In this case, the
+ * traversal does not contain paths to the children of this parent but only a single path to the
+ * parent itself. For selections, this is always the case. I.e., a traversal never contains paths
+ * were a selection is contained and where it is not the last element of the path. In addition,
+ * if the only child of a marking temporal relationship is an event task, then the marking
+ * temporal relationship is not added to the paths. The reason is, that from a task path point of
+ * view, this information is inherently present. Task traversals offer a good way to derive easily
+ * comparable task tree representations. This allows for efficient detection of similar tasks. 
  * </p>
  * 
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeEncoder.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeEncoder.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeEncoder.java	(revision 2258)
@@ -43,5 +43,6 @@
 
 /**
- * TODO comment
+ * Convenience class to encode user sessions, task instance lists, task instances or tasks into
+ * a human readable textual representation.
  * 
  * @version $Revision: $ $Date: 01.04.2012$
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeValidator.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeValidator.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/utils/TaskTreeValidator.java	(revision 2258)
@@ -38,5 +38,8 @@
 /**
  * <p>
- * TODO comment
+ * Convenience class to validate if certain restrictions to task trees and task tree instances
+ * apply. Restrictions are, e.g., that for every task there need to be instances or that for every
+ * sequence instance the children match the corresponding sequence model. This class is vor test and
+ * evaluation purposes only.
  * </p>
  * 
@@ -300,8 +303,6 @@
     /**
      * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param string
+     * convenience method to log throw issues found during the evaluation 
+     * </p>
      */
     private void fail(ITask task, String message) {
@@ -315,9 +316,6 @@
     /**
      * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param string
-     * @param task
+     * convenience method to log throw issues found during the evaluation 
+     * </p>
      */
     private void assertNotNull(ITask task, String message, Object object) {
@@ -333,9 +331,6 @@
     /**
      * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param string
-     * @param found
+     * convenience method to log throw issues found during the evaluation 
+     * </p>
      */
     private void assertTrue(ITask task, String message, boolean value) {
@@ -351,9 +346,6 @@
     /**
      * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param string
-     * @param found
+     * convenience method to log throw issues found during the evaluation 
+     * </p>
      */
     private void assertFalse(ITask task, String message, boolean value) {
@@ -369,10 +361,6 @@
     /**
      * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param string
-     * @param childTask
-     * @param task
+     * convenience method to log throw issues found during the evaluation 
+     * </p>
      */
     private void assertEquals(ITask task, String message, Object object1, Object object2) {
@@ -388,10 +376,6 @@
     /**
      * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param string
-     * @param childTask
-     * @param task
+     * convenience method to log throw issues found during the evaluation 
+     * </p>
      */
     private void assertSame(ITask task, String message, Object object1, Object object2) {
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskPath.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskPath.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskPath.java	(revision 2258)
@@ -20,5 +20,12 @@
 /**
  * <p>
- * TODO comment
+ * A task path is a path through a task tree. Conceptually, it is a list of task objects. But the
+ * plain information about the tasks is not enough for a task path. The reason is, that multiple
+ * paths through a task tree may be identical because the tasks in the paths are identical. This
+ * happens, e.g., if a sequence has three children, where the first and the last are the same. Then
+ * based on the plain task information, it would not be possible to define separate task paths for
+ * the first and the last child of the sequence. Hence, we also add for each path element the index
+ * of the element in the list of children of the parent. This index is also considered, when
+ * comparing task paths. 
  * </p>
  * 
Index: /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskTreeUtils.java
===================================================================
--- /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskTreeUtils.java	(revision 2257)
+++ /trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/TaskTreeUtils.java	(revision 2258)
@@ -25,5 +25,5 @@
 /**
  * <p>
- * TODO comment
+ * This class only contains convenience methods to gather information about task structures.
  * </p>
  * 
Index: /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeChecker.java
===================================================================
--- /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeChecker.java	(revision 2257)
+++ /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeChecker.java	(revision 2258)
@@ -41,5 +41,6 @@
 
 /**
- * TODO comment
+ * This is a convenience class for testing to evaluate if a certain task or task instance structure
+ * matches a given textual specification for the structure. 
  * 
  * @version $Revision: $ $Date: 01.04.2012$
@@ -306,6 +307,5 @@
 
     /**
-     * @param task
-     * @param taskMapCopy
+     *
      */
     private void assertUserSession(TaskSpec           taskSpec,
@@ -334,6 +334,5 @@
 
     /**
-     * @param task
-     * @param taskMapCopy
+     *
      */
     private void assertTaskInstance(TaskSpec           taskSpec,
@@ -497,10 +496,5 @@
     
     /**
-     * <p>
-     * TODO: comment
-     * </p>
-     *
-     * @param taskInstance
-     * @return
+     *
      */
     private List<ITaskInstance> getChildren(ITaskInstance taskInstance) {
Index: /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeDecoder.java
===================================================================
--- /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeDecoder.java	(revision 2257)
+++ /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeDecoder.java	(revision 2258)
@@ -53,5 +53,6 @@
 
 /**
- * TODO comment
+ * This is a convenience class to parse a textual specification of an expected task structure to
+ * allow for a subsequent comparison of the specified structure with an existing one.
  * 
  * @version $Revision: $ $Date: 01.04.2012$
Index: /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeEncoder.java
===================================================================
--- /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeEncoder.java	(revision 2257)
+++ /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeEncoder.java	(revision 2258)
@@ -43,5 +43,6 @@
 
 /**
- * TODO comment
+ * Convenience class to encode user sessions, task instance lists, task instances or tasks into
+ * a human readable textual representation.
  * 
  * @version $Revision: $ $Date: 01.04.2012$
Index: /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeValidator.java
===================================================================
--- /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeValidator.java	(revision 2257)
+++ /trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/tasktrees/TaskTreeValidator.java	(revision 2258)
@@ -40,5 +40,8 @@
 /**
  * <p>
- * TODO comment
+ * Convenience class to validate if certain restrictions to task trees and task tree instances
+ * apply. Restrictions are, e.g., that for every task there need to be instances or that for every
+ * sequence instance the children match the corresponding sequence model. This class is vor test and
+ * evaluation purposes only.
  * </p>
  * 
