Changeset 1734 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/TaskInfo.java
- Timestamp:
- 09/05/14 20:20:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/TaskInfo.java
r1733 r1734 22 22 import de.ugoe.cs.autoquest.tasktrees.treeifc.TaskMetric; 23 23 24 // TODO: Auto-generated Javadoc 24 25 /** 25 26 * <p> … … 42 43 private static class Measure implements IMeasure { 43 44 44 /** 45 * <p> 46 * the metric to which the measure belongs 47 * </p> 48 */ 45 /** <p> the metric to which the measure belongs </p>. */ 49 46 private final TaskMetric metric; 50 47 51 /** 52 * <p> 53 * the observed values for the difference contexts of the task 54 * </p> 55 */ 48 /** <p> the observed values for the difference contexts of the task </p>. */ 56 49 private HashMap<ITask, Integer> values; 57 50 58 /** 59 * <p> 60 * the context free value of the measure independent of the task context 61 * </p> 62 */ 51 /** <p> the context free value of the measure independent of the task context </p>. */ 63 52 private int contextFreeValue = 0; 64 53 … … 66 55 * <p> 67 56 * initializes the measure with a specific metric 68 * </p> 57 * </p>. 58 * 59 * @param metric the metric 69 60 */ 70 61 private Measure(TaskMetric metric) { … … 119 110 * increases the value of the measure context free as well as specific 120 111 * to the provided context according to the provided increment 121 * </p> 112 * </p>. 113 * 114 * @param context the context 115 * @param increment the increment 122 116 */ 123 117 private void increase(ITask context, int increment) { … … 143 137 * sets the value of the measure context free as well as specific to the 144 138 * provided context 145 * </p> 139 * </p>. 140 * 141 * @param context the context 142 * @param value the value 146 143 */ 147 144 private void set(ITask context, int value) { … … 159 156 } 160 157 161 /** 162 * <p> 163 * the task to which the infos belong 164 * </p> 165 */ 158 /** <p> the task to which the infos belong </p>. */ 166 159 private final ITask task; 167 160 168 /** 169 * <p> 170 * all available measures for the task 171 * </p> 172 */ 161 /** <p> all available measures for the task </p>. */ 173 162 private final ArrayList<Measure> measures = new ArrayList<Measure>(); 174 163 … … 177 166 * initialized the task infos with the task to which they belong. 178 167 * </p> 179 * 180 * @param task 168 * 169 * @param task the task 181 170 */ 182 171 TaskInfo(ITask task) { … … 209 198 * convenience method to internally determine the measure for a specific 210 199 * metric 211 * </p> 200 * </p>. 201 * 202 * @param metric the metric 203 * @return the measure 212 204 */ 213 205 private Measure getMeasure(TaskMetric metric) { … … 282 274 * increases a specific value for a measure of a specific metric in the 283 275 * provided context of the task 284 * </p> 285 * 286 * @param metric 287 * the metric to which the value belongs 288 * @param context 289 * the context of the task in which the measure was recorded 290 * @param increment 291 * the increment to be added to the value of the measure 276 * </p>. 277 * 278 * @param metric the metric to which the value belongs 279 * @param context the context of the task in which the measure was recorded 280 * @param increment the increment to be added to the value of the measure 292 281 */ 293 282 void increaseCount(TaskMetric metric, ITask context, int increment) { … … 307 296 * sets a specific value for a measure of a specific metric in the provided 308 297 * context of the task 309 * </p> 310 * 311 * @param metric 312 * the metric to which the value belongs 313 * @param context 314 * the context of the task in which the measure was recorded 315 * @param value 316 * the value of the measure 298 * </p>. 299 * 300 * @param metric the metric to which the value belongs 301 * @param context the context of the task in which the measure was recorded 302 * @param value the value of the measure 317 303 */ 318 304 void setCount(TaskMetric metric, ITask context, int value) {
Note: See TracChangeset
for help on using the changeset viewer.