Class Fingerprint<S extends RadioSource,R extends Reading<S>>

java.lang.Object
com.irurueta.navigation.indoor.Fingerprint<S,R>
Type Parameters:
S - a RadioSource type.
R - a RssiReading type.
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RangingAndRssiFingerprint, RangingFingerprint, RssiFingerprint

public class Fingerprint<S extends RadioSource,R extends Reading<S>> extends Object implements Serializable
Contains readings from several radio sources for an unknown location to be determined.
See Also:
  • Field Details

    • readings

      protected ArrayList<R extends Reading<S>> readings
      Non-located ranging and RSSI readings.
  • Constructor Details

    • Fingerprint

      public Fingerprint()
      Constructor.
    • Fingerprint

      public Fingerprint(List<R> readings)
      Constructor.
      Parameters:
      readings - non-located readings.
      Throws:
      IllegalArgumentException - if provided readings is null.
  • Method Details

    • getReadings

      public List<R> getReadings()
      Gets non-located ranging readings.
      Returns:
      non-located ranging readings.
    • setReadings

      public void setReadings(List<R> readings)
      Sets non-located ranging readings.
      Parameters:
      readings - non-located ranging readings.
      Throws:
      IllegalArgumentException - if provided readings is null.