Class Ash2_1Algorithm

  • All Implemented Interfaces:
    Calculator

    public class Ash2_1Algorithm
    extends AbstractCalculator
    Implementation of 2.1th algorithm for reducing Readings

    This algorithm was provided by Robert Ashenfelter based in part on the work of Ralph Bucher in his paper "Exact Solution for Three Dimensional Hyperbolic Positioning Algorithm and Synthesizable VHDL Model for Hardware Implementation".

    Neither Ashenfelter nor Bucher provide any guarantee as to the intellectual property status of this algorithm. Use it at your own risk.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  Ash2_1Algorithm.RetVal
      Internal class to handle return value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int NMAX  
      (package private) int offset  
      static int SMAX  
      static int TMAX  
      static int TMIN  
      (package private) double Vs  
      (package private) double Xt  
      (package private) double Yt  
      (package private) double Zt  
    • Constructor Summary

      Constructors 
      Constructor Description
      Ash2_1Algorithm​(javax.vecmath.Point3d[] sensors, double vsound)  
      Ash2_1Algorithm​(javax.vecmath.Point3d[] sensors, double vsound, int offset)  
      Ash2_1Algorithm​(javax.vecmath.Point3d sensor1, javax.vecmath.Point3d sensor2, javax.vecmath.Point3d sensor3, double vsound)  
      Ash2_1Algorithm​(javax.vecmath.Point3d sensor1, javax.vecmath.Point3d sensor2, javax.vecmath.Point3d sensor3, javax.vecmath.Point3d sensor4, double vsound)  
    • Field Detail

      • Vs

        double Vs
      • Xt

        double Xt
      • Yt

        double Yt
      • Zt

        double Zt
      • TMAX

        public static int TMAX
      • TMIN

        public static int TMIN
      • SMAX

        public static int SMAX
      • NMAX

        public static int NMAX
    • Constructor Detail

      • Ash2_1Algorithm

        public Ash2_1Algorithm​(javax.vecmath.Point3d[] sensors,
                               double vsound,
                               int offset)
      • Ash2_1Algorithm

        public Ash2_1Algorithm​(javax.vecmath.Point3d[] sensors,
                               double vsound)
      • Ash2_1Algorithm

        public Ash2_1Algorithm​(javax.vecmath.Point3d sensor1,
                               javax.vecmath.Point3d sensor2,
                               javax.vecmath.Point3d sensor3,
                               double vsound)
      • Ash2_1Algorithm

        public Ash2_1Algorithm​(javax.vecmath.Point3d sensor1,
                               javax.vecmath.Point3d sensor2,
                               javax.vecmath.Point3d sensor3,
                               javax.vecmath.Point3d sensor4,
                               double vsound)