Axel Uhl
8d551d8284
another adjustment of the test verdict; mis-estimated right-shift and its effect of overall average
2015-01-27 13:44:05 +01:00
Axel Uhl
369a48f44a
preparing for jibe head-up/bear-away cluster detection; fixing test verdict for 2011 KW 505 R4 wind direction
2015-01-27 13:33:04 +01:00
Axel Uhl
bef616d474
considering head-up / bear-away clusters on port and starboard tack on the upwind legs for tack cluster likelihoods
2015-01-26 18:14:57 +01:00
Axel Uhl
fd86cc8ca9
fixed capitalization of 505 race 4 file reference; worked on Windows because Windows ignores case but failed on Linux
2015-01-24 14:12:04 +01:00
Axel Uhl
10b679ffe2
made setUp methods private in maneuver-based wind estimation test
2015-01-24 12:50:31 +01:00
Axel Uhl
882f18300f
fixed caching for likelihoodAndTWSBasedOnSpeedAndAngle; it had to be maneuver type-specific
2015-01-24 01:37:10 +01:00
Axel Uhl
13a6ea0ced
introduced caching for likelihoodAndTWSBasedOnSpeedAndAngleCache on ManeuverClassification
2015-01-24 01:32:52 +01:00
Axel Uhl
bd18a8fcc4
adjusted test verdict for OBMR race slightly to account for minor shifts in results depending on the VM being used
2015-01-24 01:15:10 +01:00
Axel Uhl
f3499f6d6b
improved tack cluster likelihood by looking for the opposite tack cluster; OBMR test for small fleet green now
2015-01-24 01:07:00 +01:00
Axel Uhl
d178e1b3f1
added a failing test case based on an OBMR race with only six boats
2015-01-23 18:08:52 +01:00
Axel Uhl
dec33339cc
re-enabled timeout rule for TracTrac-based tests
2015-01-23 17:47:23 +01:00
Axel Uhl
a3af0faae3
measure time it takes to compute wind based on maneuvers; re-enabled two more tests of this kind
2015-01-23 17:46:33 +01:00
Axel Uhl
eb8c8b2537
changed from one-dimensional clustering along middle COG to two-dimensional clustering (middle COG / maneuver angle) and starting first tests with this approach
2015-01-23 17:29:54 +01:00
Axel Uhl
03cd626157
fixed calculation of weighted average for two-dimensional cluster's middle COG
2015-01-23 10:14:35 +01:00
Axel Uhl
248f185c4a
a first test that indicates that a two-dimensional clustering approach has a good chance to spot the two tack clusters
2015-01-22 18:23:59 +01:00
Axel Uhl
70ad5b33de
added tack and jibe likelihood to debug output
2015-01-22 17:58:17 +01:00
Axel Uhl
95f6264ed4
a first two-dimensional clustering algorithm
2015-01-22 14:01:16 +01:00
Axel Uhl
0c43f2b64b
moved color stuff from com.sap.sailing.domain.common to com.sap.sse.common
2015-01-22 11:05:24 +01:00
Axel Uhl
342707750b
ignoring two failing tests for now until clustering (see bug 1562 comment #8 ) has been improved
2015-01-22 08:31:59 +01:00
Axel Uhl
14412c8290
got the first working test case for maneuver-based wind inference; two more tests still fail with a slightly mismatching wind estimation; need to analyze further
2015-01-21 21:29:04 +01:00
Axel Uhl
9edbb228a8
Merge branch 'master' into bug1562
2015-01-14 15:50:01 +01:00
Axel Uhl
1fb0109923
trying to fix polars.test bundle dependencies by replacing package imports by bundle requirements
2015-01-14 15:48:11 +01:00
Axel Uhl
8728bd3aa8
Merge branch 'master' into bug1562
2015-01-07 21:27:44 +01:00
Frederik Petersen
93c2fa919f
Replaced anyOf Hamcrest matcher as its not found on build server
2015-01-07 19:26:17 +01:00
Axel Uhl
72f5946511
Merge branch 'master' into bug1562
2015-01-07 18:25:22 +01:00
Frederik Petersen
c851d962d3
stubbed getAverageTrueWindSpeedAndAngleCandidates
...
used a fitted function over 505 polar data obtained in the polar data
service, so axel can work with the service.
For the future this could become a cached cubic funtion for each boat
class and each tack/legtype combination.
2015-01-07 18:17:27 +01:00
Axel Uhl
ae838c7896
Merge branch 'polar-api' into bug1562 (what the heck was the conflict???)
...
Conflicts:
java/com.sap.sailing.polars.test/src/com/sap/sailing/polars/test/WindSpeedAndAngleEstimatorTest.java
2015-01-05 23:15:16 +01:00
Axel Uhl
59318f5cab
more elminiation of anyOf
2015-01-05 23:12:43 +01:00
Axel Uhl
157e077589
man, this modern Mockito/Hamcrest stuff really sucks; reverted assertThat and closeTo to traditional assertTrue
2015-01-05 23:09:09 +01:00
Axel Uhl
cff6226fa4
adding bundle requirements as the Maven build doesn't find the package requirements
2015-01-05 23:04:34 +01:00
Axel Uhl
495fb41847
trying to use only package imports for test stuff
2015-01-05 23:01:46 +01:00
Axel Uhl
1002e45364
using org.junit.runner instead of runners
2015-01-05 22:57:56 +01:00
Axel Uhl
bfe3691259
trying package imports for JUnit to avoid getting all Hamcrest stuff from JUnit bundle
2015-01-05 22:54:56 +01:00
Axel Uhl
fdc88af81d
trying a different order of JUnit / Hamcrest dependencies
2015-01-05 22:44:48 +01:00
Axel Uhl
adef204893
Merge branch 'polar-api' into bug1562
...
Conflicts:
java/com.sap.sailing.polars.test/src/com/sap/sailing/polars/test/WindSpeedAndAngleEstimatorTest.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/IncrementalRegressionProcessor.java
2015-01-05 17:56:41 +01:00
Frederik Petersen
792dcd098e
Improved WindSpeedAndAngleEstimator's distance based validation
...
also tested it.
If the requested boat speed is not inbetween the values of the sampling
points the distance between the input speed and each sampling point is
compared and, if small enough, added to the resultset with halved
confidence
2015-01-05 14:26:25 +01:00
Axel Uhl
522d5214d9
some whitespace clean-up
2015-01-05 10:39:41 +01:00
Frederik Petersen
dd86c7ff6e
Added test case for special rare situation
2015-01-04 15:08:22 +01:00
Frederik Petersen
d166a2d1c0
Added test for windspeed and angle estimation for non reversible function
2015-01-04 14:43:41 +01:00
Frederik Petersen
9f5a611aa2
Added negative test case to windspeedandangleestimator test
2015-01-04 14:39:40 +01:00
Frederik Petersen
e84088066c
Improved windspeedandangle estimator in polar bundle
...
also added first positive test cases
2015-01-04 14:33:12 +01:00
Axel Uhl
5f8f54ee34
working towards a PolarDataService API that enables reverse mapping of SOG to wind speed, assuming average VMG for known tack/leg type
2015-01-03 01:24:45 +01:00
Axel Uhl
2b4dc55b0e
require bundle org.junit instead of only package org.junit; this is needed in order to see annotation RunWith; else, NPE will result
2015-01-02 21:34:15 +01:00
Axel Uhl
f2bf1aa57a
renamed angleToWind to trueWindAngle
2015-01-02 17:44:01 +01:00
Axel Uhl
f52c7a470a
renamed WindStepping to WindSpeedStepping; use double[] instead of expensive Double[]
2015-01-02 17:20:06 +01:00
Axel Uhl
c7369cacd5
post-merge clean-up
2015-01-02 15:55:59 +01:00
Axel Uhl
ac48ac2417
Merge branch 'master' into bug1562
...
Conflicts:
java/com.sap.sailing.polars.test/src/com/sap/sailing/polars/test/PolarSheetAnalyzerTest.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/PolarDataService.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/analysis/PolarSheetAnalyzer.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/analysis/impl/PolarSheetAnalyzerImpl.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/IncrementalRegressionProcessor.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/PolarDataMiner.java
2015-01-02 15:54:51 +01:00
Frederik Petersen
5214a66a76
Removed old polar cache infrastructure and cleaned polardataservice
2015-01-02 13:16:33 +01:00
Axel Uhl
aac97d4dbd
added pom.xml for polars.test
2015-01-02 11:43:06 +01:00
Axel Uhl
2d5f5c386a
use eq(true) instead of true to satisfy Mockito requirements regarding the use of matchers
2015-01-02 11:32:38 +01:00