Commit Graph
22535 Commits
Author SHA1 Message Date
Axel Uhl df2510c0d4 implemented getGapToLeaderInOwnTime 2015-04-28 14:37:36 +02:00
Axel Uhl 9e22662c07 added a comparator by the corrected estimated time to reach the fastest boat's current position;
the corrected total time after which a competitor is estimated to arrive at the fastest boat's current
position can be used for a total ordering consistent ranking; gaps in each competitor's own time
can be inferred from this; see bug1018 comment #31
2015-04-28 14:12:55 +02:00
Axel Uhl 0f7a9a23af removed a few more unnecessary "throw NoWindException" cases; eliminated corresponding try/catch where possible 2015-04-28 08:39:23 +02:00
Axel Uhl 14e9323763 added the overall ranking method that compares by estimated corrected times for reaching the boat that travled farthest so far 2015-04-28 01:17:26 +02:00
Axel Uhl 71c79818d3 added exceptions in case methods to project a competitor forward would need to project it backwards instead 2015-04-28 00:56:08 +02:00
Axel Uhl aced04e1af added an implementation of getDurationToReachAtEqualPerformance for time-on-time/time-on-distance;
this is the basis needed to estimate the total windward distance and duration that one competitor needs
to reach the windward position of another competitor that position-wise (but not necessarily corrected-time-wise)
is ahead.
2015-04-28 00:34:11 +02:00
Axel Uhl 6cb84f3782 refactored TrackedLegOfCompetitor.getEstimatedTimeToNextMarkInSeconds to return Duration; prepared methods in AbstractRankingMetric for new calculations 2015-04-27 22:01:11 +02:00
Axel Uhl 5fcb99964e Merge branch 'master' into bug1018
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRace.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2015-04-27 10:26:45 +02:00
Frederik Petersen e807456eec Fixed errors after merge 2015-04-25 16:35:39 +02:00
Axel Uhl b81824d37d ensure that RankingMetric constructor function is serializable 2015-04-25 13:24:42 +02:00
Axel Uhl ed61343693 fixing test Regatta mock implementations after adding method for ranking metric constructor 2015-04-25 00:13:28 +02:00
Frederik Petersen ca2ac594f5 Merge branch 'master' into bug2700
Conflicts:
	java/com.sap.sailing.server/META-INF/MANIFEST.MF
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PolarDiagramGPSDirect.java
2015-04-24 18:41:37 +02:00
Axel Uhl 37eb4ddabf factored the RankingMetric constructor parameter into the Regatta interface from where it is used by the DynamicTrackedRace constructions 2015-04-24 15:54:13 +02:00
Axel Uhl 4ffdf82b20 removed DynamicTrackedRaceConstructor that takes no RankingMetric argument 2015-04-24 14:44:10 +02:00
Axel Uhl 433458ea19 added implementation of getLegRankingComaprator for TimeOnTimeAndTDistanceRankingMetric 2015-04-24 14:37:48 +02:00
Christopher Ronnewinkel (D036654) 5e6da115d3 Merge remote-tracking branch 'ExternalGit/raceboard-simulation' 2015-04-24 14:21:39 +02:00
Axel Uhl d18401242c refactored TrackedLegOfCompetitorImpl to use getMarkPassingForLegStart/End 2015-04-24 14:18:26 +02:00
Frederik Petersen a59a1a6c12 Fixed test case
delta needed to be higher, since now the confidence of track based
estimation without polars isn't as big as before anymore
2015-04-24 14:09:22 +02:00
Christopher Ronnewinkel (D036654) 93f1c21764 Merge remote-tracking branch 'ExternalGit/master' into raceboard-simulation 2015-04-24 13:53:24 +02:00
Axel Uhl 05a0cd94d9 don't return null for a competitor leg's time sailed when asking for beyond the end of tracking 2015-04-24 13:47:50 +02:00
Christopher Ronnewinkel (D036654) 2248d5d1f9 improve logging of opportunist-360 and tree-grow-360; 2015-04-24 13:44:01 +02:00
Christopher Ronnewinkel (D036654) 7a70eb34a4 fix reaching-steps with water-current by determining boat-speed based on overground-bearing to target; use overground-extension of polar-diagram-base; 2015-04-24 13:15:20 +02:00
Axel Uhl 85b20d1a06 Merge branch 'master' into bug1018 2015-04-24 09:09:51 +02:00
Frederik Petersen 8a81e3e077 Polar confidence used in Track Based Windestimation 2015-04-23 16:55:47 +02:00
Axel Uhl eef6479636 Merge remote-tracking branch 'server/master' 2015-04-23 15:46:10 +02:00
Axel Uhl c7d6f62a75 fixing bug 2767 by also registering the old GPSFix(Moving)Impl type names with their old package locations for the Mongo persistence handler;
the commit in which the types were moved was 58bd451481
2015-04-23 15:41:08 +02:00
Christopher Ronnewinkel (D036654) 47f5a4ae51 Merge remote-tracking branch 'ExternalGit/master' into raceboard-simulation
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/racemap/RaceMap.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SimulatorServiceImpl.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/simulator/PathCanvasOverlay.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/simulator/ReplayPathCanvasOverlay.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/simulator/SimulatorMap.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PathGeneratorTracTrac.java
	java/com.sap.sailing.simulator/src/com/sap/sailing/simulator/impl/PathGeneratorTreeGrow.java
2015-04-23 14:33:48 +02:00
Christopher Ronnewinkel (D036654) 41642d4a24 fix 1-turner-360 algorithm used to finalize opportunistic courses; 2015-04-23 13:56:07 +02:00
Frederik Petersen 9cff25eab8 Merge branch 'master' into bug2700
Conflicts:
	java/com.sap.sailing.datamining/src/com/sap/sailing/datamining/impl/data/RaceResultOfCompetitorWithContext.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/polars/PolarDataService.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
	java/com.sap.sailing.polars.test/src/com/sap/sailing/polars/mining/test/PolarDataMinerTest.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/impl/PolarDataServiceImpl.java
	java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/PolarDataMiner.java
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/PolarResource.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/Activator.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2015-04-23 13:36:00 +02:00
Frederik Petersen 9451d69009 Use polar data service in track based windestimation 2015-04-23 12:31:52 +02:00
Frederik Petersen 6089c83613 Introduces polardataservice to tracked race
transient
can be null, needs to be handled accordingly
is null, if polar osgi bundle is stopped
2015-04-23 11:38:41 +02:00
Frederik Petersen f8f2ada89c PolarDataService now uses OSGi service registry
preparation for being able to use polar data service in domain classes
2015-04-23 10:58:54 +02:00
Axel Uhl fac1e416a6 further improved logging in case mark GPS tracks cannot be loaded 2015-04-22 23:03:45 +02:00
Axel Uhl 4f24e2177b improved exception logging for GPS track loading for smartphone tracking 2015-04-22 22:56:43 +02:00
Axel Uhl a1da887ed9 fixing test issues on Hudson by introducing local subclass in test that makes required method public 2015-04-22 17:02:04 +02:00
Axel Uhl adc37c5a30 fixed implementation of TimeOnTimeAndDistanceRankingMetric in line with bug 1018 comment #24: subtracting time-on-distance allowance from reciproke VMG/VMC 2015-04-22 00:41:10 +02:00
Axel Uhl 5babab72a0 added a first very simple time-on-distance test 2015-04-21 23:43:42 +02:00
Axel Uhl 81c8f90a1f fixed test logic; test still green 2015-04-21 23:14:54 +02:00
Axel Uhl eab373a1a4 added first two successful test cases for time-on-time ranking 2015-04-21 23:06:55 +02:00
Axel Uhl b62f6d9ac1 Merge branch 'master' into bug1018 2015-04-21 22:40:05 +02:00
Axel Uhl 3f6a706c45 added some convenience methods on Distance; moved getCourseLength() implementation from AbstractRankingMetric to TrackedRaceImpl 2015-04-21 22:39:08 +02:00
Christopher Ronnewinkel (D036654) 4c395695db support reaching steps in opportunist-360; 2015-04-21 22:35:56 +02:00
fmittag 7a8a267613 fix for Bug 2515 - Height of leaderboard competitor charts depends on height of leaderboard which is too tall with long leaderboard / many competitors 2015-04-21 21:38:53 +02:00
fmittag 9782fbc9e5 added a link to jobs.sapsailing.com in the footer 2015-04-21 18:32:55 +02:00
fmittag 0c31315125 added racecommittee app tutorial for race officer 2015-04-21 18:23:31 +02:00
Axel Uhl 636bc9e925 made RankingMetric serializable, added serialVersionUIDs. Implemented getCorrectedTime for TimeOnTimeAndDistanceRankingMetric 2015-04-21 14:19:55 +02:00
Axel Uhl d2e318899c removed getCorrectedTime for leg again; corrected times should always be relative to the entire race, if needed taken for a particular mark passing time 2015-04-21 10:51:13 +02:00
Axel Uhl d334099dd0 made compileable again and removed warnings by consolidating imports 2015-04-21 10:44:44 +02:00
Axel Uhl b2d89790a1 refactored obtaining of ranking comparators to pass through RankingMetric 2015-04-21 10:24:07 +02:00
Axel Uhl 1cbd2646cc finished OneDesignRankingMetric implementation of getTimeToImprove 2015-04-21 10:12:19 +02:00