You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -268,25 +286,16 @@ public void operationFeedback(String message, typedef.typeOfProcessFeedback feed
268
286
support.log("The distance to target is: " + oldDistance, typeOfLogLevel.INFO);
269
287
} elseif (foundOptima.size() == 1) {
270
288
//Exactly one optimum with selected target value was found
271
-
if (oldDistance> 0.0) {
289
+
if (Math.abs(oldDistance- simulationResults.get(0).getDistanceToTargetValue()) < support.DEFAULT_TARGET_STEPPING) {
272
290
//distance not zero --> will adapt selected optimum!
273
-
listener.operationFeedback("Target is unique, will change target value to match distance of 0.0.", typedef.typeOfProcessFeedback.TargetCheckSuccessful);
274
-
support.log("Old distance to target is: " + oldDistance, typeOfLogLevel.INFO);
291
+
listener.operationFeedback("Target will be adapted.", typedef.typeOfProcessFeedback.TargetCheckSuccessful);
292
+
support.log("Old distance to target was: " + oldDistance, typeOfLogLevel.INFO);
275
293
276
294
} else {
277
295
listener.operationFeedback("Target is unique and distance is 0.0!", typedef.typeOfProcessFeedback.TargetCheckSuccessful);
278
296
}
279
297
}
280
-
support.log("Target value(s) found at: ", typeOfLogLevel.RESULT);
281
-
for (inti = 0; i < foundOptima.size(); i++) {
282
-
support.log("Parameterset: " + i, typeOfLogLevel.RESULT);
283
-
for (intc = 0; c < foundOptima.get(i).getListOfParameters().size(); c++) {
284
-
if (foundOptima.get(i).getListOfParameters().get(c).isIteratable()) {
0 commit comments