SolverWMS.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: SolverWMS.hpp 1319 2008-07-28 13:46:29Z architest $"
00002 
00008 #ifndef SOLVERWMS_HPP
00009 #define SOLVERWMS_HPP
00010 
00011 //============================================================================
00012 //
00013 //  This file is part of GPSTk, the GPS Toolkit.
00014 //
00015 //  The GPSTk is free software; you can redistribute it and/or modify
00016 //  it under the terms of the GNU Lesser General Public License as published
00017 //  by the Free Software Foundation; either version 2.1 of the License, or
00018 //  any later version.
00019 //
00020 //  The GPSTk is distributed in the hope that it will be useful,
00021 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00022 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023 //  GNU Lesser General Public License for more details.
00024 //
00025 //  You should have received a copy of the GNU Lesser General Public
00026 //  License along with GPSTk; if not, write to the Free Software Foundation,
00027 //  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00028 //
00029 //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2006, 2007, 2008
00030 //
00031 //============================================================================
00032 
00033 
00034 #include "SolverLMS.hpp"
00035 
00036 
00037 namespace gpstk
00038 {
00039 
00041 
00042 
00044 
00120    class SolverWMS : public SolverLMS
00121    {
00122    public:
00123 
00128       SolverWMS();
00129 
00130 
00136       SolverWMS(const gnssEquationDefinition& eqDef);
00137 
00138 
00150       virtual int Compute( const Vector<double>& prefitResiduals,
00151                            const Matrix<double>& designMatrix,
00152                            const Matrix<double>& weightMatrix )
00153          throw(InvalidSolver);
00154 
00155 
00168       virtual int Compute( const Vector<double>& prefitResiduals,
00169                            const Matrix<double>& designMatrix,
00170                            const Vector<double>& weightVector )
00171          throw(InvalidSolver);
00172 
00173 
00180       virtual int Compute( const Vector<double>& prefitResiduals,
00181                            const Matrix<double>& designMatrix )
00182          throw(InvalidSolver)
00183       { return SolverLMS::Compute(prefitResiduals, designMatrix); };
00184 
00185 
00191       virtual satTypeValueMap& Process(satTypeValueMap& gData)
00192          throw(ProcessingException);
00193 
00194 
00197       Matrix<double> covMatrixNoWeight;
00198 
00199 
00201       virtual int getIndex(void) const;
00202 
00203 
00205       virtual std::string getClassName(void) const;
00206 
00207 
00209       virtual ~SolverWMS() {};
00210 
00211 
00212    private:
00213 
00214 
00216       static int classIndex;
00217 
00218 
00220       int index;
00221 
00222 
00224       void setIndex(void)
00225       { index = classIndex++; };
00226 
00227 
00228 
00229    }; // End of class 'SolverWMS'
00230 
00232 
00233 }  // End of namespace gpstk
00234 #endif   // SOLVERWMS_HPP

Generated on Tue May 22 03:31:01 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1