Commit Graph
1674 Commits
Author SHA1 Message Date
Alexander Ries 73684d27c8 Revert "Merge remote-tracking branch 'server/ribdashboard' into ribdashboard"
This reverts commit 1fc692e4d3, reversing
changes made to 1c8bb3b414.
2015-05-21 14:53:49 +02:00
Axel Uhl 1fc692e4d3 Merge remote-tracking branch 'server/ribdashboard' into ribdashboard 2015-05-21 09:26:30 +02:00
Alexander Ries c6601844ce Merge branch 'master' into ribdashboard 2015-05-20 11:57:38 +02:00
Alexander Ries c408954881 added RaceExecutionOrderProvider ConcurrentHashMap to TrackedRaceImpl and implemented attach and detach method for RaceExecutionProviders in DynamicTrackedRace 2015-05-18 16:43:43 +02:00
Axel Uhl fe368b66f3 use LeaderboardDTOCalculationReuseCache instead of NoCachingWindLegTypeAndLegBearingCache to really utilize the benefits of caching 2015-05-18 16:17:07 +02:00
Alexander Ries cf58de7a7c added implementations to RaceColumns from Series and FlexibleLeaderboard for getRaceExecutionOrderProvider 2015-05-18 15:22:46 +02:00
Axel Uhl 10faa84ca3 Merge branch 'master' into bug1018 2015-05-18 14:41:27 +02:00
Axel Uhl ec861bebba fixing bug 2858 by comparing ControlPoint *and* PassingInstruction 2015-05-18 14:16:25 +02:00
Alexander Ries bdd74dc1ce added attachRaceExecutionProvider method declaration to TrackedRace interface 2015-05-18 11:11:24 +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 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
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
Frederik Petersen dea7c91476 Added up&downwind tests for target time estimation
also fixed bug. Now intersection that is nearer is used, instead of the
one far away.
2015-05-12 13:53:18 +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 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 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 ada309e959 extracted interfaces for RankingInfo and CompetitorRankingInfo to prepare lazy implementation for OneDesignRankingMetric 2015-05-11 06:58:10 +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 26d178b3d9 added time-on-time and time-on-distance fields and listener pattern on Competitor/DynamicCompetitor 2015-05-07 09:56:16 +02:00
Alexander Ries 7ee0ad76fa Added inner RacesExecutionOrderCache class to TrackedRegatta and getPreviousRaceInExecutionOrder(...) Method 2015-05-01 15:10:15 +02:00
Axel Uhl 10c7da6e36 Merge branch 'master' into bug1018 2015-04-30 00:47:46 +02:00
Axel Uhl c78fc9d4e8 fixing bug 2780 by adding flag URI change handling to listener interface and CompetitorImpl setter implementation; leaderboard cache handling updated 2015-04-29 23:23:39 +02:00
Axel Uhl d56c3aced6 fixed the other test cases as well; start fixes were missing, resulting in VMG=0 2015-04-28 22:39:14 +02:00
Axel Uhl 1ee54ef6b1 changed race and leg ranking to predicted corrected arrival time at position of fastest boat; tests still fail; IllegalArgumentExceptions occur 2015-04-28 18:19:27 +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
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
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
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
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 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
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
Axel Uhl d334099dd0 made compileable again and removed warnings by consolidating imports 2015-04-21 10:44:44 +02:00
Axel Uhl 21ac8177c2 some more pass-through of WindLegTypeLegBearingCache for performance improvements; re-designed RankingMetric interface;
the new version of the interface returns a comparator for overall competitor ranking and a calculation for the time to improve
between a trailing and a leading competitor, determined in the trailing competitor's "time system." See bug 1018, comments
starting from #19.
2015-04-20 18:17:53 +02:00
Axel Uhl c1bf0240cf introduced caching method with default implementation in RankingMetric 2015-04-17 18:08:39 +02:00
Axel Uhl fb2e545bec added a trivial OneDesignRankingMetric; removed more NoWindException declarations that were no longer required 2015-04-17 17:54:21 +02:00
Axel Uhl 73b3bcef85 introduced new "*Corrected*" methods on TrackedRace and TrackedLegOfCompetitor; use Duration instead of Double / seconds for gap calculation results 2015-04-17 17:18:55 +02:00
fmittag 59248fcf49 added flagImageUrl as new attribute on competitor to enable custom flags (e.g. club flags) instead of the nation flags 2015-04-16 17:38:08 +02:00