@Test public void testNoMapMatchingType() { NicGeoPoint test = new NicGeoPointImpl(); assertTrue(test == userLocator.calculateWaySnappedPoint(test)); }
NicGeoPoint calculateWaySnappedPoint(final NicGeoPoint point) { switch (mapMatchingMode) { case MAP_MATCHING_MODE_NONE: return point; case MAP_MATCHING_MODE_SIMPLE_WAY_SNAP: default: return calculateSimpleWaySnapPoint(point); } }
UserLocator implements HistogramConsumer { NicGeoPoint calculateWaySnappedPoint(final NicGeoPoint point) { switch (mapMatchingMode) { case MAP_MATCHING_MODE_NONE: return point; case MAP_MATCHING_MODE_SIMPLE_WAY_SNAP: default: return calculateSimpleWaySnapPoint(point); } } }
UserLocator implements HistogramConsumer { NicGeoPoint calculateWaySnappedPoint(final NicGeoPoint point) { switch (mapMatchingMode) { case MAP_MATCHING_MODE_NONE: return point; case MAP_MATCHING_MODE_SIMPLE_WAY_SNAP: default: return calculateSimpleWaySnapPoint(point); } } UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager);  UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager,
                       final History history); }
UserLocator implements HistogramConsumer { NicGeoPoint calculateWaySnappedPoint(final NicGeoPoint point) { switch (mapMatchingMode) { case MAP_MATCHING_MODE_NONE: return point; case MAP_MATCHING_MODE_SIMPLE_WAY_SNAP: default: return calculateSimpleWaySnapPoint(point); } } UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager);  UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager,
                       final History history); static void setScale(float scale); ParticleFilter getParticleFilter(); void resetParticleFilter(); void addSensorCollector(SensorCollector collector); void removeSensorCollector(SensorCollector collector); void startTracking(); void stopTracking(); void localisationLoop(); @Override void addHistogram(final Histogram histogram); void disablePosition(); void setOutlierMode(final int outlierMode); void setStatisticFilterMode(final int statisticFilterMode); void setMapMatchingMode(final int mapMatchingMode); void setCompassFilterEnabled(final boolean enabled); void setLocalizationMethod(final int localizationMode); }
UserLocator implements HistogramConsumer { NicGeoPoint calculateWaySnappedPoint(final NicGeoPoint point) { switch (mapMatchingMode) { case MAP_MATCHING_MODE_NONE: return point; case MAP_MATCHING_MODE_SIMPLE_WAY_SNAP: default: return calculateSimpleWaySnapPoint(point); } } UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager);  UserLocator(final Context ctx,
                       final FingerprintManager fingerprintManager,
                       final UserPositionManager userPositionManager,
                       final WayManager wayManager,
                       final History history); static void setScale(float scale); ParticleFilter getParticleFilter(); void resetParticleFilter(); void addSensorCollector(SensorCollector collector); void removeSensorCollector(SensorCollector collector); void startTracking(); void stopTracking(); void localisationLoop(); @Override void addHistogram(final Histogram histogram); void disablePosition(); void setOutlierMode(final int outlierMode); void setStatisticFilterMode(final int statisticFilterMode); void setMapMatchingMode(final int mapMatchingMode); void setCompassFilterEnabled(final boolean enabled); void setLocalizationMethod(final int localizationMode); static final String TAG; static final int OUTLIER_MODE_NO_DETECTION; static final int OUTLIER_MODE_CME; static final int OUTLIER_MODE_PLASMONA; static final int STATISTIC_FILTER_MODE_NO_FILTER; static final int STATISTIC_FILTER_MODE_MEDIAN; static final int STATISTIC_FILTER_MODE_AVERAGE; static final int MAP_MATCHING_MODE_NONE; static final int MAP_MATCHING_MODE_SIMPLE_WAY_SNAP; static final int LOCALIZATION_MODE_PARTICLEFILTER; static final int LOCALIZATION_MODE_WIFI; static final int LOCALIZATION_MODE_DEADRECKONING; }