mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 04:35:32 +00:00
Javadoc and refactoring of windinference,util,preprocessing,model.store
This commit is contained in:
+3
-3
@@ -45,7 +45,7 @@ import com.sap.sailing.windestimation.data.RaceWithEstimationData;
|
||||
import com.sap.sailing.windestimation.data.WindQuality;
|
||||
import com.sap.sailing.windestimation.data.transformer.CompleteManeuverCurveWithEstimationDataToManeuverForEstimationTransformer;
|
||||
import com.sap.sailing.windestimation.model.exception.ModelPersistenceException;
|
||||
import com.sap.sailing.windestimation.model.store.ClassPathReadOnlyModelStore;
|
||||
import com.sap.sailing.windestimation.model.store.ClassPathReadOnlyModelStoreImpl;
|
||||
import com.sap.sailing.windestimation.preprocessing.RaceElementsFilteringPreprocessingPipelineImpl;
|
||||
import com.sap.sailing.windestimation.windinference.DummyBasedTwsCalculatorImpl;
|
||||
import com.sap.sailing.windestimation.windinference.MiddleCourseBasedTwdCalculatorImpl;
|
||||
@@ -75,14 +75,14 @@ public class IncrementalMstHmmWindEstimationForTrackedRaceTest extends OnlineTra
|
||||
|
||||
protected final SimpleDateFormat dateFormat;
|
||||
private final WindEstimationFactoryServiceImpl windEstimationFactoryService;
|
||||
private ClassPathReadOnlyModelStore modelStore;
|
||||
private ClassPathReadOnlyModelStoreImpl modelStore;
|
||||
|
||||
public IncrementalMstHmmWindEstimationForTrackedRaceTest()
|
||||
throws MalformedURLException, URISyntaxException, ModelPersistenceException {
|
||||
dateFormat = new SimpleDateFormat("MM/dd/yyyy-HH:mm:ss");
|
||||
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+2")); // will result in CEST
|
||||
windEstimationFactoryService = new WindEstimationFactoryServiceImpl();
|
||||
modelStore = new ClassPathReadOnlyModelStore("trained_wind_estimation_models", getClass().getClassLoader(),
|
||||
modelStore = new ClassPathReadOnlyModelStoreImpl("trained_wind_estimation_models", getClass().getClassLoader(),
|
||||
modelFilesNames);
|
||||
windEstimationFactoryService.importAllModelsFromModelStore(modelStore);
|
||||
}
|
||||
|
||||
+3
-3
@@ -37,7 +37,7 @@ import com.sap.sailing.windestimation.model.classifier.maneuver.ManeuverClassifi
|
||||
import com.sap.sailing.windestimation.model.classifier.maneuver.ManeuverFeatures;
|
||||
import com.sap.sailing.windestimation.model.exception.ModelPersistenceException;
|
||||
import com.sap.sailing.windestimation.model.regressor.twdtransition.GaussianBasedTwdTransitionDistributionCache;
|
||||
import com.sap.sailing.windestimation.model.store.ClassPathReadOnlyModelStore;
|
||||
import com.sap.sailing.windestimation.model.store.ClassPathReadOnlyModelStoreImpl;
|
||||
import com.sap.sse.common.TimePoint;
|
||||
import com.sap.sse.common.Util.Pair;
|
||||
import com.sap.sse.common.impl.MillisecondsTimePoint;
|
||||
@@ -52,13 +52,13 @@ import com.tractrac.subscription.lib.api.SubscriberInitializationException;
|
||||
public class IncrementalMstManeuverGraphGeneratorTest extends OnlineTracTracBasedTest {
|
||||
|
||||
protected final SimpleDateFormat dateFormat;
|
||||
private ClassPathReadOnlyModelStore modelStore;
|
||||
private ClassPathReadOnlyModelStoreImpl modelStore;
|
||||
|
||||
public IncrementalMstManeuverGraphGeneratorTest()
|
||||
throws MalformedURLException, URISyntaxException, ModelPersistenceException {
|
||||
dateFormat = new SimpleDateFormat("MM/dd/yyyy-HH:mm:ss");
|
||||
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT+2")); // will result in CEST
|
||||
modelStore = new ClassPathReadOnlyModelStore("trained_wind_estimation_models", getClass().getClassLoader(),
|
||||
modelStore = new ClassPathReadOnlyModelStoreImpl("trained_wind_estimation_models", getClass().getClassLoader(),
|
||||
IncrementalMstHmmWindEstimationForTrackedRaceTest.modelFilesNames);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user