RangingFingerprintLocated2D.java
/*
* Copyright (C) 2018 Alberto Irurueta Carro (alberto@irurueta.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.irurueta.navigation.indoor;
import com.irurueta.algebra.Matrix;
import com.irurueta.geometry.Point2D;
import java.util.List;
/**
* Contains 2D located ranging readings from several radio sources.
*
* @param <S> a {@link RadioSource} type.
* @param <R> a {@link RssiReading} type.
*/
public class RangingFingerprintLocated2D<S extends RadioSource, R extends RangingReading<S>> extends
RangingFingerprintLocated<S, R, Point2D> {
/**
* Constructor.
*
* @param readings non-located ranging readings defining the fingerprint.
* @param position position where readings were made.
* @throws IllegalArgumentException if either readings or position are null.
*/
public RangingFingerprintLocated2D(final List<R> readings, final Point2D position) {
super(readings, position);
}
/**
* Constructor.
*
* @param readings non-located ranging readings defining the fingerprint.
* @param position position where readings were made.
* @param positionCovariance 2x2 covariance of inhomogeneous coordinates of
* current position (if available).
* @throws IllegalArgumentException if either readings or position are null.
*/
public RangingFingerprintLocated2D(
final List<R> readings, final Point2D position, final Matrix positionCovariance) {
super(readings, position, positionCovariance);
}
/**
* Empty constructor.
*/
public RangingFingerprintLocated2D() {
super();
}
}