Class RssiRadioSourceEstimator2DTest

java.lang.Object
com.irurueta.navigation.indoor.radiosource.RssiRadioSourceEstimator2DTest
All Implemented Interfaces:
RadioSourceEstimatorListener<RssiRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D>>, RssiRadioSourceEstimatorListener<WifiAccessPoint,com.irurueta.geometry.Point2D>

class RssiRadioSourceEstimator2DTest extends Object implements RssiRadioSourceEstimatorListener<WifiAccessPoint,com.irurueta.geometry.Point2D>
  • Field Details

  • Constructor Details

    • RssiRadioSourceEstimator2DTest

      RssiRadioSourceEstimator2DTest()
  • Method Details

    • testConstructor

      @Test void testConstructor()
    • testGetMinReadings

      @Test void testGetMinReadings() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialTransmittedPowerdBm

      @Test void testGetSetInitialTransmittedPowerdBm() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialTransmittedPower

      @Test void testGetSetInitialTransmittedPower() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialPosition

      @Test void testGetSetInitialPosition() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetInitialPathLossExponent

      @Test void testGetSetInitialPathLossExponent() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testIsSetTransmittedPowerEstimationEnabled

      @Test void testIsSetTransmittedPowerEstimationEnabled() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testIsSetPositionEstimationEnabled

      @Test void testIsSetPositionEstimationEnabled() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testIsSetPathLossEstimationEnabled

      @Test void testIsSetPathLossEstimationEnabled() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testAreValidReadings

      @Test void testAreValidReadings() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetReadings

      @Test void testGetSetReadings() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testGetSetListener

      @Test void testGetSetListener() throws com.irurueta.navigation.LockedException
      Throws:
      com.irurueta.navigation.LockedException
    • testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithoutError

      @Test void testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionWithoutError

      @Test void testEstimateWithInitialPositionWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialTransmittedPowerWithoutError

      @Test void testEstimateWithInitialTransmittedPowerWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionAndInitialTransmittedPowerWithoutError

      @Test void testEstimateWithInitialPositionAndInitialTransmittedPowerWithoutError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithError

      @Test void testEstimateWithoutInitialPositionAndInitialTransmittedPowerAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionAndWithError

      @Test void testEstimateWithInitialPositionAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialTransmittedPowerAndWithError

      @Test void testEstimateWithInitialTransmittedPowerAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPositionAndInitialTransmittedPowerAndWithError

      @Test void testEstimateWithInitialPositionAndInitialTransmittedPowerAndWithError() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionTransmittedPowerAndPathLossEstimationEnabled

      @Test void testEstimatePositionTransmittedPowerAndPathLossEstimationEnabled() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionTransmittedPowerAndPathLossEstimationEnabledWithInitialValues

      @Test void testEstimatePositionTransmittedPowerAndPathLossEstimationEnabledWithInitialValues() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateWithInitialPathLoss

      @Test void testEstimateWithInitialPathLoss() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateBeacon

      @Test void testEstimateBeacon() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionOnly

      @Test void testEstimatePositionOnly() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionOnlyWithInitialPosition

      @Test void testEstimatePositionOnlyWithInitialPosition() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionOnlyRepeated

      @Test void testEstimatePositionOnlyRepeated() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateTransmittedPowerOnly

      @Test void testEstimateTransmittedPowerOnly() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
    • testEstimateTransmittedPowerOnlyWithInitialTransmittedPower

      @Test void testEstimateTransmittedPowerOnlyWithInitialTransmittedPower() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
    • testEstimatePathlossOnly

      @Test void testEstimatePathlossOnly() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
    • testEstimatePathlossOnlyWithInitialPathloss

      @Test void testEstimatePathlossOnlyWithInitialPathloss() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
    • testEstimatePositionAndPathloss

      @Test void testEstimatePositionAndPathloss() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimatePositionAndPathlossWithInitialValues

      @Test void testEstimatePositionAndPathlossWithInitialValues() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException, com.irurueta.algebra.AlgebraException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
      com.irurueta.algebra.AlgebraException
    • testEstimateTransmittedPowerAndPathLoss

      @Test void testEstimateTransmittedPowerAndPathLoss() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
    • testEstimateTransmittedPowerAndPathLossWithInitialValues

      @Test void testEstimateTransmittedPowerAndPathLossWithInitialValues() throws com.irurueta.navigation.LockedException, com.irurueta.navigation.NotReadyException, IndoorException
      Throws:
      com.irurueta.navigation.LockedException
      com.irurueta.navigation.NotReadyException
      IndoorException
    • testEstimateFingerprintingException

      @Test void testEstimateFingerprintingException()
    • onEstimateStart

      public void onEstimateStart(RssiRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D> estimator)
      Specified by:
      onEstimateStart in interface RadioSourceEstimatorListener<RssiRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D>>
    • onEstimateEnd

      public void onEstimateEnd(RssiRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D> estimator)
      Specified by:
      onEstimateEnd in interface RadioSourceEstimatorListener<RssiRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D>>
    • reset

      private void reset()
    • receivedPower

      private static double receivedPower(double equivalentTransmittedPower, double distance, double frequency, double pathLossExponent)
    • checkLocked

      private static void checkLocked(RssiRadioSourceEstimator<WifiAccessPoint,com.irurueta.geometry.Point2D> estimator)