898c0d6ebf89a4f8494338122413c93d48da72e8
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
| ... | ... | @@ -590,6 +590,8 @@ public abstract class TrackedRaceImpl extends TrackedRaceWithWindEssentials impl |
| 590 | 590 | markPassingsForCompetitor.put(competitor, new ConcurrentSkipListSet<MarkPassing>(MarkPassingByTimeComparator.INSTANCE)); |
| 591 | 591 | final DynamicGPSFixMovingTrackImpl<Competitor> track = new DynamicGPSFixMovingTrackImpl<Competitor>(competitor, millisecondsOverWhichToAverageSpeed); |
| 592 | 592 | tracks.put(competitor, track); |
| 593 | + int TODO; // TODO but5959 the following line to temporarily overcome different results of lazy and eager initialization, which is a puzzle that needs to be solved separately |
|
| 594 | + maneuverApproximators.put(competitor, new CourseChangeBasedTrackApproximation(getTrack(competitor), race.getBoatOfCompetitor(competitor).getBoatClass())); |
|
| 593 | 595 | } |
| 594 | 596 | markPassingsForWaypoint = new ConcurrentHashMap<Waypoint, NavigableSet<MarkPassing>>(); |
| 595 | 597 | for (Waypoint waypoint : race.getCourse().getWaypoints()) { |
java/com.sap.sailing.windestimation.test/src/com/sap/sailing/windestimation/integration/IncrementalMstHmmWindEstimationForTrackedRaceTest.java
| ... | ... | @@ -191,7 +191,6 @@ public class IncrementalMstHmmWindEstimationForTrackedRaceTest extends OnlineTra |
| 191 | 191 | for (final WindWithConfidence<Pair<Position, TimePoint>> windFix : windFixes) { |
| 192 | 192 | final Wind wind = windFix.getObject(); |
| 193 | 193 | targetWindFixes.add(wind); |
| 194 | - System.out.println("" + wind.getTimePoint().asMillis() + "," + Math.round(wind.getFrom().getDegrees())); |
|
| 195 | 194 | } |
| 196 | 195 | final List<Wind> estimatedWindFixes = new ArrayList<>(); |
| 197 | 196 | assertMostFixesTWDAround(targetWindFixes, 233, /* range for 90% quantile */ 17, /* average tolerance */ 2); |