843bef731396e8302e6d2f4807e5b6b791b92075
java/com.sap.sailing.domain.common/src/com/sap/sailing/domain/common/WindSourceType.java
| ... | ... | @@ -14,57 +14,57 @@ public enum WindSourceType { |
| 14 | 14 | /** |
| 15 | 15 | * Manually entered via a web form or received through a REST service call, e.g., from BeTomorrow's estimation |
| 16 | 16 | */ |
| 17 | - WEB(true, 0.9, /* useSpeed */ true, true), |
|
| 17 | + WEB(true, 0.9, /* useSpeed */ true, /* observed */ true), |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * Measured using wind sensors |
| 21 | 21 | */ |
| 22 | - EXPEDITION(true, 0.9, /* useSpeed */ true, true), |
|
| 22 | + EXPEDITION(true, 0.9, /* useSpeed */ true, /* observed */ true), |
|
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Estimates wind conditions by analyzing the boat tracks; may not have results for all time points, e.g., |
| 26 | 26 | * because at a given time point all boats may sail on the same tack and hence no averaging between the |
| 27 | 27 | * two tacks is possible. This is the more likely to happen the smaller the fleet tracked is. |
| 28 | 28 | */ |
| 29 | - TRACK_BASED_ESTIMATION(false, 0.1, /* useSpeed */ false, false), |
|
| 29 | + TRACK_BASED_ESTIMATION(false, 0.1, /* useSpeed */ false, /* observed */ false), |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Estimates wind conditions by analyzing the maneuvers of all boat tracks closely interoperating with incremental |
| 33 | 33 | * maneuver detector. |
| 34 | 34 | */ |
| 35 | - MANEUVER_BASED_ESTIMATION(false, 0.001, /* useSpeed */ false, false), |
|
| 35 | + MANEUVER_BASED_ESTIMATION(false, 0.001, /* useSpeed */ false, /* observed */ false), |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Inferred from the race course layout if the course is known to have its first leg be an upwind leg. This |
| 39 | 39 | * source has very low confidence and must be superseded by any other wind source. |
| 40 | 40 | */ |
| 41 | - COURSE_BASED(false, 0.01, /* useSpeed */ false, false), |
|
| 41 | + COURSE_BASED(false, 0.01, /* useSpeed */ false, /* observed */ false), |
|
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Wind estimation combined from all other wind sources, using <code>TrackedRace.getWind(...)</code>, based on |
| 45 | 45 | * confidences |
| 46 | 46 | */ |
| 47 | - COMBINED(false, 0.9, /* useSpeed */ true, false), |
|
| 47 | + COMBINED(false, 0.9, /* useSpeed */ true, /* observed */ false), |
|
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * Manually entered by the race committee over the app. As the race committee measures the wind several times over races for documentation purposes, |
| 51 | 51 | * their measures are stored in the race log. |
| 52 | 52 | * |
| 53 | 53 | */ |
| 54 | - RACECOMMITTEE(false, 0.9, /* useSpeed */ true, true), |
|
| 54 | + RACECOMMITTEE(false, 0.9, /* useSpeed */ true, /* observed */ true), |
|
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Like {@link #COMBINED}, only that when combined with an ID into a {@link WindSourceWithAdditionalID} then the |
| 58 | 58 | * position for the wind is taken to be the middle of the tracked leg whose number is identified by the ID. |
| 59 | 59 | */ |
| 60 | - LEG_MIDDLE(/* can be stored */ false, /* base confidence */ 0.9, /* useSpeed */ true, false), |
|
| 60 | + LEG_MIDDLE(/* can be stored */ false, /* base confidence */ 0.9, /* useSpeed */ true, /* observed */ false), |
|
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * A wind measurement spot as provided by https://www.windfinder.com; when used with a |
| 64 | 64 | * {@link WindSourceWithAdditionalID}, the {@link WindSourceWithAdditionalID#getId() ID} is |
| 65 | 65 | * the WindFinder's "Spot ID" such as "10044N" for Kiel Lighthouse. |
| 66 | 66 | */ |
| 67 | - WINDFINDER(/* can be stored */ true, /* base confidence */ 0.3, /* useSpeed */ true, true); |
|
| 67 | + WINDFINDER(/* can be stored */ true, /* base confidence */ 0.3, /* useSpeed */ true, /* observed */ true); |
|
| 68 | 68 | |
| 69 | 69 | private final boolean canBeStored; |
| 70 | 70 |