Commit Graph
2805 Commits
Author SHA1 Message Date
Axel Uhl e36ba93827 avoid NPE in time-on-time/time-on-distance leg comparator if no competitor is in that leg yet 2015-05-16 20:04:10 +02:00
Axel Uhl 1b15c463ec handled a bunch of null cases for TimeOnTimeAndDistance... ranking metric; there are more, e.g., in case no boats are in a leg for which a comparator is needed 2015-05-14 23:36:39 +02:00
Axel Uhl ba1fceecaa added fields to capture time-on-time / time-on-distance on competitor and pass values through all constructors and operations and JSON serialization 2015-05-14 20:10:20 +02:00
Axel Uhl 5885a03e33 Merge branch 'master' into bug1018 2015-05-13 18:52:43 +02:00
Axel Uhl 0c72ff9619 introduced fields for RankingMetric subclass constructors to avoid class loader issues in test fragments 2015-05-13 14:49:19 +02:00
Jens Rommel 7a2c02716f - Added filter logic to exclude media tracks not related to the scope of the current master data export.
- Extended tests.
2015-05-13 13:53:44 +02:00
Axel Uhl 19d570e49a added formatter for ranking metrics and use it in regatta details panel 2015-05-13 00:56:34 +02:00
Axel Uhl 869967f5b6 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/TrackedLeg.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/TrackedLegImpl.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

The merge conflict was largely caused by the introduction of target time estimation which conflicted with a few
new methods introduced on branch bug1018
2015-05-13 00:21:21 +02:00
Frederik Petersen b0bf4950d8 Merge branch 'master' into bug2716 2015-05-12 22:35:09 +02:00
Axel Uhl acb3b69878 added column to RegattaListComposite showing RankingMetric; moved a separate RankingMetrics enum to common to keep gwt.ui Java8-free 2015-05-12 22:04:45 +02:00
Axel Uhl 3b571bc17f fixed test case; problem was that conversion from seconds to MillisecondDurationImpl was missing the factor 1000. 2015-05-12 13:38:04 +02:00
Axel Uhl d66df2f633 fixed passing through of RankingMetricConstructor in test case 2015-05-12 13:32:57 +02:00
Frederik Petersen 80612972cd Added test case for reaching target time estimation 2015-05-12 13:19:06 +02:00
Axel Uhl 1a9ce82928 fixed NPE in handicap tests 2015-05-12 11:15:38 +02:00
Axel Uhl b7e4b9bcbf Merge branch 'master' into bug1018 2015-05-12 10:49:55 +02:00
Axel Uhl c576fafc98 fixing DynamicTrackedRaceImpl.recordWind interval check; avoid overflow in case endOfTracking equals end of time 2015-05-12 10:39:16 +02:00
Axel Uhl 3c0555eb0f added persistence support for Regatta.getRankingMetric() and pulled the constructor parameter through many more constructor layers 2015-05-12 09:49:38 +02:00
Axel Uhl e560191d82 wrote a test that compares the one-design metric's gap to leader in own time to the classic gap to leader, corrected to use average instead of current VMG 2015-05-11 19:49:58 +02:00
Axel Uhl 21f7f8491f use average leg's VMG instead of current VMG to produce more robust results and generalize with other ranking metrics 2015-05-11 19:49:38 +02:00
Axel Uhl 870f38b9ba fixed compilation error after refactoring from Map to Function 2015-05-11 16:18:32 +02:00
Frederik Petersen 708770d5af Added new target time method using polar service
see bug2716
2015-05-11 11:58:15 +02:00
Axel Uhl 598aff2974 turned LeaderGetter into @FunctionalInterface and its implementations into lambdas 2015-05-11 08:21:14 +02:00
Axel Uhl 1990caec67 provided an efficient getRankingInfo implementation for one-design ranking 2015-05-11 08:09:33 +02:00
Axel Uhl ada309e959 extracted interfaces for RankingInfo and CompetitorRankingInfo to prepare lazy implementation for OneDesignRankingMetric 2015-05-11 06:58:10 +02:00
Axel Uhl 8772c3a656 fixed calculation of gap in own time 2015-05-11 06:38:39 +02:00
Axel Uhl 38f9c9a411 use cache in TrackedRaceImpl.getOverallLeader 2015-05-11 06:38:29 +02:00
Axel Uhl 9ac81241e7 use handicap setting event finders in BaseRegattaLikeImpl 2015-05-10 20:41:48 +02:00
Axel Uhl b54bdccb16 added regatta log analyzers for handicap events 2015-05-10 20:38:15 +02:00
Axel Uhl 1dfc055e34 Merge branch 'master' into bug1018
Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/LeaderboardCacheManager.java
2015-05-08 18:27:39 +02:00
Axel Uhl 472ef70e18 added listener notification and leaderboard cache eviction for score correction comment / timepoint changes 2015-05-08 15:00:41 +02:00
Axel Uhl ff4bb7e95e added handicap methods also on IsRegattaLike implementations (delegation pattern); added RegattaLogEvents placeholders to override handicaps per regatta 2015-05-08 09:20:18 +02:00
Axel Uhl e5b8da8e4b removed unused RegattaLogEventImpl; added handicap methods on IsRegattaLike, with default implementations in BaseRegattaLikeImpl 2015-05-08 09:06:55 +02:00
Frederik Petersen efdeba654b Fixed error in emptygpsfixstore after change of interface 2015-05-07 11:18:27 +02:00
Frederik Petersen c2cc1f53ff Fixed race log tracking gpsfix import
confirmed working with SCGN regatta
this commit probably breaks compatibility for imports between servers on
new and older commit
2015-05-07 11:11:57 +02:00
Axel Uhl ed2a106253 added some comments, preparing for using regatta log for overriding competitor handicap definitions 2015-05-07 10:06:23 +02:00
Axel Uhl 26d178b3d9 added time-on-time and time-on-distance fields and listener pattern on Competitor/DynamicCompetitor 2015-05-07 09:56:16 +02:00
Frederik Petersen 8fece8f5ca Merge branch 'master' into bug2659 2015-05-07 09:51:37 +02:00
Axel Uhl ece7378c4f Merge branch 'master' into bug1018 2015-05-07 09:26:04 +02:00
fmittag ce6c497b69 fixed adjustEventToRegattaAssociation() in RegattaImpl 2015-05-06 19:03:37 +02:00
Axel Uhl 181e5ee5b9 Merge branch 'master' into ubilabs--tracking_app--develop 2015-05-04 23:14:52 +02:00
Alexander Ries 8216ed0277 corrected constant name and added comments to null/boolean parameters in RaceExecutionOrderCache methods 2015-05-04 16:05:51 +02:00
Alexander Ries 8fe7bb8137 small changes to readObject() Method in RaceExecutionOrderCache 2015-05-04 13:24:27 +02:00
Alexander Ries 0be730b876 made RaceExecutionOrderCache in TrackedRegattaImpl transient 2015-05-02 00:36:38 +02:00
Alexander Ries bcde857ccb declared SmartFutureCache in RaceExecutionOrderCache as transient and added readObjet Method 2015-05-01 22:46:32 +02:00
Alexander Ries ccae5416cf recordWind(...) in DynamicTrackedRaceImpl adds now wind 30 min before race start if previous race is null, has ended or has no wind 2015-05-01 15:13:20 +02:00
Alexander Ries 7ee0ad76fa Added inner RacesExecutionOrderCache class to TrackedRegatta and getPreviousRaceInExecutionOrder(...) Method 2015-05-01 15:10:15 +02:00
Axel Uhl a3d2fe771d Merge branch 'master' into bug1018 2015-05-01 13:33:13 +02:00
Frederik Petersen 09ccadddc1 Fixes of existing tracked races loaded into polarservice on redeploy 2015-05-01 10:28:59 +02:00
Axel Uhl 394fa09cba Merge branch 'master' into bug1018 2015-04-30 20:07:18 +02:00
Frederik Petersen 3b3fa0bbd2 Merge branch 'master' into bug2659 2015-04-30 16:11:39 +02:00