mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 23:07:11 +00:00
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.
This commit is contained in:
1 parent
c1bf0240cf
commit
21ac8177c2
14 files changed
+122
-22
No files matched your search
+10
@@ -592,4 +592,14 @@ public class DummyTrackedRace extends TrackedRaceWithWindEssentials {
|
||||
WindPositionMode windPositionMode, WindLegTypeAndLegBearingCache cache) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Competitor getOverallLeader(TimePoint timePoint, WindLegTypeAndLegBearingCache cache) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Competitor> getCompetitorsFromBestToWorst(TimePoint timePoint, WindLegTypeAndLegBearingCache cache) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user