Class Ash1_0Algorithm

  • All Implemented Interfaces:
    Calculator

    public class Ash1_0Algorithm
    extends java.lang.Object
    implements Calculator
    Implementation of 1st 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  Ash1_0Algorithm.RetVal
      Internal class to handle return value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int NMAX  
      (package private) static int OFFSET
      The following is the original algorithm, as provided by Ash as a C routine
      (package private) double ri  
      (package private) double rj  
      (package private) double rk  
      (package private) double Rmax  
      (package private) javax.vecmath.Point3d[] sensors  
      (package private) static int TMAX  
      (package private) double Vs  
      (package private) double x  
      (package private) double x0  
      (package private) double x1  
      (package private) double x2  
      (package private) double xi  
      (package private) double xj  
      (package private) double xk  
      (package private) double Xt  
      (package private) double y  
      (package private) double y0  
      (package private) double y1  
      (package private) double y2  
      (package private) double yi  
      (package private) double yj  
      (package private) double yk  
      (package private) double Yt  
      (package private) double z  
      (package private) double z0  
      (package private) double z1  
      (package private) double z2  
      (package private) double zi  
      (package private) double zj  
      (package private) double zk  
      (package private) double Zt  
    • Constructor Summary

      Constructors 
      Constructor Description
      Ash1_0Algorithm​(javax.vecmath.Point3d[] sensors, double vsound)  
      Ash1_0Algorithm​(javax.vecmath.Point3d sensor1, javax.vecmath.Point3d sensor2, javax.vecmath.Point3d sensor3, double vsound)  
      Ash1_0Algorithm​(javax.vecmath.Point3d sensor1, javax.vecmath.Point3d sensor2, javax.vecmath.Point3d sensor3, javax.vecmath.Point3d sensor4, double vsound)