Commit Graph
4366 Commits
Author SHA1 Message Date
Vladislav Chumak 41991ef037 Merge remote-tracking branch 'origin/maneuver_refactoring' 2018-08-08 13:20:34 +02:00
Vladislav Chumak 71c4162cbb Fixed isCourseChangeLimitExceededForCurveExtension comparison 2018-08-08 13:00:49 +02:00
Axel Uhl bead5da7fb Merge remote-tracking branch 'server/master'
Change-Id: If34daabfdda1b73ab7da7aef282b39da80f3bc68
2018-08-07 21:08:51 +02:00
Vladislav Chumak ddea438657 Restored stable course analysis for extension of maneuver beginning 2018-08-07 17:05:50 +02:00
Vladislav Chumak 86e0cf82f7 Refined course change limits for maneuver curve extension 2018-08-07 16:59:28 +02:00
Axel Uhl 5087e0d914 Merge branch 'master' into bug4708
Change-Id: I72e35e2c155517c335581ff07889a4aed4d1e59f
2018-08-07 16:43:17 +02:00
Vladislav Chumak 124466ed57 Fixed bug in maneuver curve extension validation 2018-08-07 14:56:51 +02:00
Axel Uhl 510ff84700 bug4708: send start time update each time the RaceLog-provided start time differs from getStartOfRace();
Change-Id: Ie5ee01420a6c3733f36cfadf779428168d9e7138
2018-08-07 10:17:59 +02:00
Axel Uhl d24a58bea8 add a RaceAbortHandler to send POSTPONED race status after a null start time was received from the Race Manager app
Change-Id: I217b189acde27e4baff5a17023a20b2a16ee1c80
2018-08-07 00:11:14 +02:00
Axel Uhl 32d0309a1d bug4074: using ConcurrentHashMap for AbstractRaceColumn.raceLogs;
read-mostly will be supported much better by this, and the "corner-case"
of reloadRaceLog with its optional update into the map won't hurt a
ConcurrentHashMap.

Change-Id: Ib3e9973708864f895146753b91e1d949cfaef291
2018-08-05 15:39:17 +02:00
Axel Uhl 3b516bcbc3 bug4704: introducing a ReadonlyRaceState cache based on weak identity hash map over RaceLog and RaceLogResolver
Change-Id: I33412e6ed72ff732333e4a3ce1be8fc3906a57e5
2018-08-05 15:35:57 +02:00
Axel Uhl 6a8d1aa796 Merge branch 'master' into bug4689
Change-Id: I81d6cc168cf58528228bd5a34b1badd2442abb42
2018-08-03 21:36:17 +02:00
Axel Uhl 9fd9539706 bug4700: carrying through finishedTime so AutoplayHelper can evaluate it for live check
Change-Id: I6ed7da5579dc43749c26eae5774c34e0769f26d9
2018-08-03 11:31:59 +02:00
Axel Uhl 8132371d0f hooking up the update handlers to the SwissTimingRaceTracker if updateURL is provided
Change-Id: I191ce34857aa37ca6c3e9fa402d36c00ffac0378
2018-08-03 10:02:02 +02:00
Axel Uhl 56c92a049c Merge branch 'master' into bug4689
Change-Id: I5fd7f22b8c26b6b08fd36a4675226403df6a29ae
2018-08-02 14:04:57 +02:00
Axel Uhl 51add11c47 bug4699: when inferring start from mark passings, ensure to keep using start of tracking for candidate time range
Change-Id: Ib50adbfbf3f3e553a09795d2330f4a25d41424b5
2018-08-01 18:53:59 +02:00
Axel Uhl 2a7221c2c6 started to move update handler classes to com.sap.sailing.domain bundle
Change-Id: I821f633ee1e5f1db970017788473b4edcce8cbd8
2018-07-27 17:11:50 +02:00
Vladislav Chumak e8c43db114 Changed polars based features for maneuver estimation data 2018-07-26 16:25:01 +02:00
Axel Uhl 93f6ab0feb used lambda style where appropriate; made variables final where possible
Change-Id: Ifd23ddc7c2809fed59937ca356903f4801b47379
2018-07-25 21:51:25 +02:00
Axel Uhl 66405e2ccb improved parameter naming
Change-Id: I4a5bbc8d27e4543f348ed0c32d795974b5dc64cf
2018-07-25 21:25:24 +02:00
Steffen Schaefer 0d20ca2bec Merge branch 'bug4661' 2018-07-19 16:07:16 +02:00
Steffen Schaefer ea92ee34cb Bug 4661: Ensures that having more wins that required also counts as
overall winner. If more than one competitor reached the requires wins,
the one with more wins will be ranked better.
2018-07-19 10:44:06 +02:00
Steffen Schaefer 2580435a52 Bug 4661: Extended the JavaDocs of LowPointFirstToWinTwoRaces to explain
all special rules compared to the default LowPoint rules
2018-07-19 10:36:45 +02:00
Steffen Schaefer 0d9775fc5c Bug 4661: Handles the special case when two competitors reach the target
amount of wins necessary. This could e.g. occur while editing score
corrections.
2018-07-19 10:05:15 +02:00
Axel Uhl 3a9262718f improved parameter name
Change-Id: Id193f1dddadb17f4512baec41f4a81f8945e5e53
2018-07-18 21:50:13 +02:00
Axel Uhl 206fee1214 cleaned up and simplified code
Change-Id: I1c159d3a2daa1e96c12ca48599cfadbae6983307
2018-07-18 21:46:30 +02:00
Axel Uhl 03d93bca0c improved parameter naming
Change-Id: I0d6aa8f22952c19c907aaba0f90c425396abffcb
2018-07-18 21:44:14 +02:00
Axel Uhl 9d990e470d coding conventions
Change-Id: I674fb13c731b3f07b09e06eb93a781a4ea7ce252
2018-07-18 21:43:37 +02:00
Axel Uhl b55acabff0 reverted unnecessary formatting changes, also to ease review
Change-Id: Id769da07307a081194cb52096673085db6ff5062
2018-07-18 21:38:49 +02:00
Axel Uhl 21a0adc91d added TODO for compareByMedalRacesWon; coding conventions
Change-Id: I0325d3f671c6218edb5017122351665457b56124
2018-07-18 21:35:09 +02:00
Axel Uhl be06df2557 updated Javadoc in ScoringScheme to better reflect the details
Change-Id: I369a99e9d2b07843930fa4fa745af58e2bae20ff
2018-07-18 21:26:29 +02:00
Axel Uhl 8673bd82f5 improved Javadoc; code formatting
Change-Id: I88502e8e808776f46743e653b248a8808d6524fa
2018-07-18 21:16:37 +02:00
Axel Uhl a644b5c4cd coding and formatting conventions
Change-Id: Ic0115215d4d235eab4bc2023186395d7434b128f
2018-07-18 20:42:28 +02:00
Steffen Schaefer 5efe0ee7d7 Bug 4661: Added JavaDocs 2018-07-18 12:52:29 +02:00
Kai Börnert 0b61a4c5dd bug4661 added javadocs 2018-07-18 12:49:54 +02:00
Kai Börnert 9a3eb7def0 bug4661 use central point of code to determine if a race counts as won 2018-07-18 12:37:12 +02:00
Kai Börnert b951232889 bug4661 removed discarding rule, adjusted tests, removed now dead code
in score calculation
2018-07-18 11:23:21 +02:00
Kai Börnert 6583aaa3c0 Merge branch 'bug4661' of ssh://trac@sapsailing.com/home/trac/git into bug4661 2018-07-18 10:56:43 +02:00
Kai Börnert 4fb7b460a0 bug4661 test simplification due to removed decimals/ manual tie braking.
Added tests that check that automatic tie braking is not changed for
lowpoint and changed for new scheme
2018-07-18 10:56:34 +02:00
Steffen Schaefer 2c5a5f0c7b Bug 4661: Added JavaDocs 2018-07-18 10:18:04 +02:00
Steffen Schaefer 7c94812594 Bug 4652: Removed temporary debug logging 2018-07-18 09:15:26 +02:00
Steffen Schaefer 33617799a1 Bug 4652: Implemented the possibility to rank competitors by carry
forward and the last race in medal series
2018-07-18 09:15:05 +02:00
Kai Börnert a0f6b24191 bug4661 moved amount of races won score to scoring scheme 2018-07-17 16:02:35 +02:00
Steffen Schaefer 3211caf970 Bug 4661: Code formatting 2018-07-17 14:39:46 +02:00
Kai Börnert 95d71cdb9f bug4661 formating/code style only change 2018-07-17 09:16:03 +02:00
Kai Börnert 0b560b71f6 bug4661 fix for reset next score cleaning carry races 2018-07-16 15:57:01 +02:00
Kai Börnert 52a1ba9953 bug4661 ensure that 0 carry is also interpeted as a win 2018-07-16 15:56:22 +02:00
Kai Börnert 0b025d3deb bug4661 ensure won races are only counted for medal races 2018-07-16 09:55:06 +02:00
Kai Börnert bab1ad94c1 bug4661 do not double score for medal races with this scoringscheme 2018-07-13 14:50:51 +02:00
Kai Börnert 879c0c3504 move score factor calculation to ScoringScheme if not explizitly set 2018-07-13 14:38:06 +02:00