Added Abs. relative bearing to the next mark data mining statistics

This commit is contained in:
Vladislav Chumak committed 2018-03-31 02:26:19 +02:00
1 parent 74c6ffee72
commit c68601dd5a
4 files changed
+22

No files matched your search

@@ -173,6 +173,8 @@ AvgTurningRateInDegreesPerSecond=Avg turning rate in deg/s
ManeuverStartsByRunningAwayFromTheWind=Maneuver starts by running away from the wind
RelativeBearingToNextMarkBeforeManeuver=Relative bearing to the next mark before maneuver
RelativeBearingToNextMarkAfterManeuver=Relative bearing to the next mark after maneuver
AbsRelativeBearingToNextMarkBeforeManeuver=Abs. relative bearing to the next mark before maneuver
AbsRelativeBearingToNextMarkAfterManeuver=Abs. relative bearing to the next mark after maneuver
RatioBetweenDistanceSailedWithAndWithoutManeuver=Ratio between distance sailed with and without maneuver
RatioBetweenDistanceSailedTowardMiddleAngleProjectionWithAndWithoutManeuver=Ratio between distance sailed toward middle angle projection with and without maneuver
DurationLostByManeuver=Duration lost by maneuver
@@ -173,6 +173,8 @@ AvgTurningRateInDegreesPerSecond=Durchschnitliche Drehrate in deg/s
ManeuverStartsByRunningAwayFromTheWind=Manöver beginnt in Abfall-Richtung
RelativeBearingToNextMarkBeforeManeuver=Relative Richtung zur nächsten Marke vor dem Manöver
RelativeBearingToNextMarkAfterManeuver=Relative Richtung zur nächsten Marke nach dem Manöver
AbsRelativeBearingToNextMarkBeforeManeuver=Abs. relative Richtung zur nächsten Marke vor dem Manöver
AbsRelativeBearingToNextMarkAfterManeuver=Abs. relative Richtung zur nächsten Marke nach dem Manöver
RatioBetweenDistanceSailedWithAndWithoutManeuver=Verhältnis zwischen gesegelter Distanz mit und ohne Manövrierung
RatioBetweenDistanceSailedTowardMiddleAngleProjectionWithAndWithoutManeuver=Verhältnis zwischen gesegelter Distanz von Mittelwinkel-Projektion mit und ohne Manövrierung
DurationLostByManeuver=Verlorene Zeit
@@ -101,6 +101,12 @@ public interface HasCompleteManeuverCurveWithEstimationDataContext {
@Statistic(messageKey = "RelativeBearingToNextMarkAfterManeuver", resultDecimals = 1)
Double getRelativeBearingToNextMarkAfterManeuver();
@Statistic(messageKey = "AbsRelativeBearingToNextMarkBeforeManeuver", resultDecimals = 1)
Double getAbsRelativeBearingToNextMarkBeforeManeuver();
@Statistic(messageKey = "AbsRelativeBearingToNextMarkAfterManeuver", resultDecimals = 1)
Double getAbsRelativeBearingToNextMarkAfterManeuver();
@Statistic(messageKey = "ManeuverEnteringSpeedInKnots", resultDecimals = 2)
Double getManeuverEnteringSpeed();
@@ -282,4 +282,16 @@ public class CompleteManeuverCurveWithEstimationDataWithContext
/ maneuverWithEstimationData.getCurveWithUnstableCourseAndSpeed().getDuration().asSeconds();
}
@Override
public Double getAbsRelativeBearingToNextMarkBeforeManeuver() {
Double bearing = getRelativeBearingToNextMarkBeforeManeuver();
return bearing == null ? null : Math.abs(bearing);
}
@Override
public Double getAbsRelativeBearingToNextMarkAfterManeuver() {
Double bearing = getRelativeBearingToNextMarkAfterManeuver();
return bearing == null ? null : Math.abs(bearing);
}
}