Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Lisunkin 1afd39cd09 Merge branch 'master' into bug2842 2019-07-29 09:36:38 +02:00
Daniel Lisunkin a7985abe57 Added first fields to ORCPerformanceCurveRankingMetric. 2019-07-25 15:53:45 +02:00
Daniel Lisunkin dc3e306fab Merge branch 'master' into bug2842 2019-07-25 15:05:56 +02:00
Daniel Lisunkin 485ee60c4f Elaboration of subtasks in the further ORC implementation. Added details in wiki/planning/orc.md . 2019-07-25 15:05:34 +02:00
Daniel Lisunkin 14216c47e0 Updated some points in wiki/planning/orc.md . 2019-07-24 18:27:49 +02:00
Daniel Lisunkin c766d3576f Added some interfaces for the ORC log events. 2019-07-24 15:00:07 +02:00
Daniel Lisunkin 6c68297271 Merge branch 'master' into bug2842 2019-07-24 13:19:02 +02:00
Daniel Lisunkin b64eb6f7d9 Added link to CubicSpline source. 2019-07-24 10:44:17 +02:00
Daniel Lisunkin a46ccf801a Optimized accuracy in testImpliedWind, added comment on course selection. 2019-07-24 10:36:19 +02:00
Daniel Lisunkin 91767f4ca3 Added a test case for online files. 2019-07-24 10:22:57 +02:00
Daniel Lisunkin 8c98a36e76 Added CRLF/LF handling for .launch and .target files in global .gitattributes. 2019-07-23 17:39:19 +02:00
Daniel Lisunkin c89b667854 Merge branch 'bug2842' of ssh://sapsailing.com/home/trac/git into bug2842 2019-07-23 17:31:41 +02:00
Daniel Lisunkin 465a844335 Refactoring. 2019-07-23 17:31:33 +02:00
Daniel Lisunkin ce727b4498 Merge branch 'master' into bug2842 2019-07-23 15:18:33 +02:00
Daniel Lisunkin 37a30ba1e2 Updated wiki/planning/orc.md . 2019-07-23 15:17:52 +02:00
Daniel Lisunkin 381b2bfc76 Merge branch 'master' into bug2842 2019-07-22 15:50:17 +02:00
Daniel Lisunkin df17a263aa Added further failing spline tests. 2019-07-19 18:05:25 +02:00
Daniel Lisunkin 509fd416d2 Added test class for testing different spline interpolation implementations independently from the rest ORCPerformanceCurve implementation. 2019-07-19 17:56:14 +02:00
Daniel Lisunkin 54c9a009f1 Changed the implementation to use the elements from apache.commons.math3 instead of math (v2). 2019-07-19 17:12:03 +02:00
Daniel Lisunkin 189c2b0b6b Started implementing a cubic spline interpolator based on the Math.NET library. Currently on hold. 2019-07-19 17:10:36 +02:00
Daniel Lisunkin 96843abda4 Added a test case for the calculation of the total course allowance at a given implied wind. 2019-07-19 14:51:51 +02:00
Daniel Lisunkin 9f1850207c Added apache.commons.math3 to remote platform and sap.sailing.domain package. 2019-07-19 14:44:24 +02:00
Daniel Lisunkin 47a4780454 Added toString() method do SecondsDurationImpl. 2019-07-16 17:33:53 +02:00
Daniel Lisunkin 71fa06b77e Changes in AbstractDistance implementation to achieve a higher accuracy when calculating velocities. 2019-07-16 17:33:45 +02:00
Daniel Lisunkin 2637445367 Added a more accurate implementation for the Duration interface. 2019-07-16 17:33:30 +02:00
Daniel Lisunkin 170f0d6a4b Merge branch 'master' into bug2842 2019-07-16 17:32:56 +02:00
Daniel Lisunkin 9f7f9d652a Added toString() method do SecondsDurationImpl. 2019-07-16 17:32:20 +02:00
Daniel Lisunkin eb818b4002 Updated the ORC implementations to use the new more accurate Duration implementation. 2019-07-16 17:32:02 +02:00
Daniel Lisunkin 1132b47a99 Updated some test values. 2019-07-16 17:31:01 +02:00
Daniel Lisunkin d56942d001 Changes in AbstractDistance implementation to achieve a higher accuracy when calculating velocities. 2019-07-16 17:29:35 +02:00
Daniel Lisunkin 92153398e9 Added a more accurate implementation for the Duration interface. 2019-07-16 14:23:50 +02:00
Daniel Lisunkin 9c0cbd8f2d Some refactoring. 2019-07-12 11:14:28 +02:00
Daniel Lisunkin 1f68b96aeb Merge branch 'master' into bug2842 2019-07-10 15:45:59 +02:00
Daniel Lisunkin 053ae14f0c Cleaned up wiki entries on ORC, added ORC development roadmap. 2019-07-10 15:43:54 +02:00
Daniel Lisunkin 53dfeb8ceb Found minor fault in specified test data. 2019-07-09 14:49:22 +02:00
Daniel Lisunkin b32b73ff77 Refactored the names of some submethods in ORC test files. 2019-07-08 09:45:35 +02:00
Daniel Lisunkin 896b22fcca Status: CodeReview with Axel 2019-07-05 15:19:09 +02:00
Daniel Lisunkin db16657ba0 Merge branch 'master' into bug2842 2019-07-05 10:48:17 +02:00
Daniel Lisunkin 4c24994120 Changed Implementation of getLagrangeAllowance...(…) in ORCPerformanceCurveImpl to match the method provided in ORC pascal code. 2019-07-05 10:47:43 +02:00
Daniel Lisunkin 946c267916 Added comments on ORCCertificate interface. 2019-07-04 09:10:41 +02:00
Daniel Lisunkin 5a9e8cca48 Unified units of arguments and returns in relation to course allowances. 2019-07-03 18:27:09 +02:00
Daniel Lisunkin 8863aad3f8 Merge branch 'master' into bug2842 2019-07-03 15:51:20 +02:00
Daniel Lisunkin 1c437fec33 Fixed calculation mistake in getImpliedWind() method. 2019-07-03 15:44:20 +02:00
Daniel Lisunkin 28a6ecfb7b Fixed runtime errors in testORCPerformanceCurve. Calculation following. 2019-07-03 15:07:25 +02:00
Daniel Lisunkin 0dcaf9d2be Added multiple comments in ORCCertificate interface. 2019-07-02 16:00:31 +02:00
Daniel Lisunkin 91abf3e398 Removed unused and redundant class ORCCertificateImporterJSONComplex. 2019-07-02 14:18:08 +02:00
Daniel Lisunkin 12b93c00fa Merge branch 'master' into bug2842 2019-06-24 18:39:18 +02:00
Daniel Lisunkin 079162efaa Added comments for the ORCPerformanceCurveCourse interface. 2019-06-24 18:38:36 +02:00
Daniel Lisunkin 4a7d317df2 Found new hidden bug in a special corner case of the creation of the leg allowances inside a performance curve instance. 2019-06-19 17:55:24 +02:00
Daniel Lisunkin 2daf0f79bb Added and implemented getCDL() method to ORCCertificate interface and implementing classes. Changed affected places in code. 2019-06-18 14:44:17 +02:00
Daniel Lisunkin 919e0b7af4 Merge branch 'master' into bug2842 2019-06-18 13:53:13 +02:00
Daniel Lisunkin c5d8ed5b66 Added further Implied Wind tests. Currently failing, so bugfix needed. 2019-06-18 13:52:42 +02:00
Daniel Lisunkin 821f07aae3 Added impliedWind test cases. 2019-06-11 16:08:03 +02:00
Daniel Lisunkin e76ef8412a Added comments for ORCPerformanceCurve interface 2019-06-06 18:39:40 +02:00
Daniel Lisunkin d04dcee782 Added comments for ORCPerformanceCurveImpl 2019-06-06 18:31:00 +02:00
Daniel Lisunkin 96bcfdba62 Fixed a smaller issue inside the lagrange interpolation. Differences in higher corner cases remain. 2019-06-06 17:54:38 +02:00
Daniel Lisunkin e978115e63 Merge branch 'master' into bug2842 2019-06-06 16:22:23 +02:00
Daniel Lisunkin d4d041b5d9 Deleted old LaGrange interpolation, additionally cleaned up the code at some places and added hints from Axel as todos. 2019-06-06 15:57:20 +02:00
Daniel Lisunkin 85f8fd9561 Fixed issues with decision of input values for laGrange Interpolation in ORCPerformanceCurve. 2019-06-04 14:31:15 +02:00
Daniel Lisunkin cd92ffea89 Removed wrong implementation and references for getImpliedWind with the inverted axes. 2019-06-03 15:29:25 +02:00
Daniel Lisunkin 95e7e96366 Merge branch 'master' into bug2842 2019-06-03 12:50:55 +02:00
Daniel Lisunkin 92db0d24f1 Added further TODOs in regard to comments and code style. 2019-05-29 18:04:37 +02:00
Daniel Lisunkin a61f544938 Added refactorings, comments and cleaned up ORCPerformanceCurveImpl 2019-05-29 15:38:48 +02:00
Daniel Lisunkin 8c747e0959 Merge branch 'master' into bug2842 2019-05-29 13:14:53 +02:00
Daniel Lisunkin 8471be626d Added getAllowancePerCourse(impliedWind) to the ORCPerformanceCurve interface and implemented getCalculatedTime(referenceBoat) in ORCPerformanceCurveImpl. 2019-05-29 12:03:03 +02:00
Daniel Lisunkin 7cc194f9eb Fixed another issue with getImpliedWindNewton() method - found better way to set boundaries for the Newton approach 2019-05-28 17:11:25 +02:00
Daniel Lisunkin 2032d35860 Fixed an issue in the getImpliedWindNewton() method. 2019-05-28 16:29:30 +02:00
Daniel Lisunkin b1beb08497 Merge branch 'master' into bug2842 2019-05-28 13:42:16 +02:00
Daniel Lisunkin 8fa3992941 Started implementing the getImpliedWindNewton() method of ORCPerformanceCurveImpl. Goal is to analyse the difference of the accuracy with this method in comparison to the ORC way. 2019-05-28 13:40:18 +02:00
Daniel Lisunkin 9e2211048a Implemented cubic spline interpolation for ORCPerformanceCurve. Added methods getImpliedWind(Duration), getAllowance(Speed) and test cases for the invertation of the cubic spline function. 2019-05-27 15:21:32 +02:00
Daniel Lisunkin eb421f759e Merge branch 'master' into bug2842 2019-05-24 19:34:30 +02:00
Daniel Lisunkin e5ffbd266f Started implementing cubic spline interpolation for ORC Performance Curve. 2019-05-24 19:32:17 +02:00
Daniel Lisunkin 8ccbba79df Clean up & refactoring done. 2019-05-24 19:15:50 +02:00
Daniel Lisunkin 2b5989d42a Code clean up 2019-05-23 12:18:29 +02:00
Daniel Lisunkin 9fe5824d79 Merge branch 'master' into bug2842 2019-05-23 11:05:56 +02:00
Daniel Lisunkin 48ae27d195 Added multiple tests for the lagrange interpolation inside performance curve. Additionally modified the lagrange interpolation to follow the structure of the ORC pascal source code. 2019-05-23 11:03:50 +02:00
Daniel Lisunkin 678109c53f Updated initialization of static perCentOfAllowancesForLongDistancePC map. Cleaned up older methods of this class. 2019-05-21 14:55:17 +02:00
Daniel Lisunkin 56d66b5e95 Fixed a minor fault in subcourse() calculation. Added more complex test cases for ORCPerformanceCurveCourse.subcourse() method. 2019-05-21 13:22:47 +02:00
Daniel Lisunkin 7f9888f8a9 Added multiple tests for subcourse() method of ORCPerformanceCurveCourse and implementation. 2019-05-21 13:14:23 +02:00
Daniel Lisunkin 9ee0f7c346 Implemented subcourse() method for ORCPerformanceCurveCourseImpl. 2019-05-21 11:10:23 +02:00
Daniel Lisunkin 4719b57bb1 Merge branch 'master' into bug2842 2019-05-21 10:21:26 +02:00
Daniel Lisunkin d4ea1a285b Added alternative implementation of getLongDistanceAllowances for ORCCertificateImpl with the usage of a static map, which contains the factors for the allowances of LongDistance/Coastal. 2019-05-17 16:17:09 +02:00
Daniel Lisunkin 496d753192 Merge branch 'master' into bug2842 2019-05-17 13:33:53 +02:00
Daniel Lisunkin c3b5dd6f2a Added implementation and test cases for getLongDistanceAllowances() method in ORCCertificateImpl. 2019-05-17 12:57:15 +02:00
Daniel Lisunkin b5a7589037 Added getWindwardLeewardAllowances() implementation and tests for ORCCertificateImpl. 2019-05-16 13:16:26 +02:00
Daniel Lisunkin 39a0f27f8b Added Beat & Gybe Allowances parsing. 2019-05-16 10:38:26 +02:00
Daniel Lisunkin 422fd3ef8b Merge branch 'master' into bug2842 2019-05-15 09:33:38 +02:00
Daniel Lisunkin a61913d5c0 Finished first version of main parsing method of new reduced Importer. Activated tests for import. 2019-05-15 09:24:50 +02:00
Daniel Lisunkin b4087fd660 Deactivated ImporterTests until parsing method isn't finished. 2019-05-14 18:19:48 +02:00
Daniel Lisunkin 626d9dfed7 Implemented new getCertificate(String sailnumber) method in ORCCertificateImporterJson. 2019-05-14 18:17:21 +02:00
Daniel Lisunkin 2b228b39df Merge branch 'master' into bug2842 2019-05-14 16:10:32 +02:00
Daniel Lisunkin 1616ee8118 Restructured API of ORCCertificate. Started to improve implementation of ORCCertificateImporterJSON. 2019-05-14 16:08:39 +02:00
Daniel Lisunkin ded89cd191 Merge branch 'master' into bug2842 2019-05-13 16:31:54 +02:00
Daniel Lisunkin f0f536b4dc Started reworking ORCCertificateImporterJSON. The goal is, that the ORCCertificate represents a real certificate with our internal semantics. All of the parsing should happen in the importers. 2019-05-13 16:29:28 +02:00
Daniel Lisunkin b460e4eb44 Began restructuring orc package. Added ORCCertificate interface. Changed API of ORCPerformanceCurve. 2019-05-13 15:14:11 +02:00
Daniel Lisunkin 19b45fe698 Merge branch 'master' into bug2842 2019-05-13 09:46:38 +02:00
Daniel Lisunkin 7f09a20e58 Merge branch 'bug2842' of ssh://sapsailing.com/home/trac/git into bug2842 2019-05-13 09:44:32 +02:00
Daniel Lisunkin 07b8b01cdf Refactored and added useful hints after code review with Axel. 2019-05-13 09:42:38 +02:00
Daniel Lisunkin 0feba184ba Added test case for simple implied wind course construction. Found bugs in course construction calculation. To be done. 2019-05-10 15:26:56 +02:00
Daniel Lisunkin 7c9d0e97f9 Deleted unnessecary local logs. 2019-05-10 12:42:07 +02:00