001package jmri.jmrix.rps;
002
003import javax.vecmath.Point3d;
004
005/**
006 * Describes a specific method of calculating a measurement.
007 * <p>
008 * Information that the algorithm needs, e.g. received positions, etc, should be
009 * provided to the actual object via ctor or other initialization. This
010 * interface does not describe that.
011 *
012 * @author Bob Jacobsen Copyright (C) 2006
013 */
014public interface Calculator {
015
016    Measurement convert(Reading r);
017
018    Measurement convert(Reading r, Point3d guess);
019
020    Measurement convert(Reading r, Measurement last);
021
022}