#include <Equation.hpp>
Inheritance diagram for Equation:


Definition at line 136 of file Equation.hpp.
Public Member Functions | |
| Equation () | |
| Default constructor. | |
| Equation (const equationHeader &head) | |
| Common constructor. | |
| Equation (const Variable &indep) | |
| Common constructor. | |
| Equation (const TypeID &type) | |
| Common constructor. | |
| Equation (const gnssEquationDefinition &gnssEq) | |
| Common constructor. | |
| virtual Variable | getIndependentTerm () const |
| Return the independent term of this equation. | |
| virtual Equation & | setIndependentTerm (const Variable &var) |
| Set the independent term of this Equation. | |
| virtual double | getWeight () const |
| Get the value of the constant weight associated to this equation. | |
| virtual Equation & | setWeight (const double &cweight) |
| Set the value of the constant weight associated to this equation. | |
| virtual Equation & | addVariable (const Variable &var) |
| Add a variable (unknown) to this Equation. | |
| virtual Equation & | addVariable (const TypeID &type, StochasticModel *pModel=&Variable::defaultModel, bool sourceIndexed=true, bool satIndexed=false, double variance=4.0e14, double coef=1.0) |
| Add a variable (unknown) to this Equation. | |
| virtual Equation & | removeVariable (const Variable &var) |
| Remove a variable (unknown) from this Equation. | |
| virtual Equation & | clear () |
| Remove ALL variables (unknowns) from this Equation. | |
| SourceID | getEquationSource () const |
| Get equation SourceID. | |
| SatID | getEquationSat () const |
| Get equation SatID. | |
| std::set< SourceID > | getSourceSet () const |
| Get SourceID set. | |
| std::set< SatID > | getSatSet () const |
| Get SatID set. | |
| Equation & | addSource2Set (const SourceID &source) |
| Add a source to SourceID set. | |
| Equation & | addSat2Set (const SatID &sat) |
| Add a sat to SatID set. | |
| Equation & | clearSourceSet () |
| Clear SourceID set. | |
| Equation & | clearSatSet () |
| Clear SatID set. | |
| virtual bool | operator< (const Equation &right) const |
| This ordering is somewhat arbitrary, but is required to be able to use an Equation as an index to a std::map, or as part of a std::set. | |
| virtual | ~Equation () |
| Destructor. | |
|
|
Default constructor.
Definition at line 61 of file Equation.cpp. References equationHeader::constWeight, equationHeader::equationSat, and equationHeader::equationSource. |
|
|
Common constructor. It defines an Equation from its header. You must later use other methods to input the variables.
Definition at line 148 of file Equation.hpp. |
|
|
Common constructor. It defines an Equation from its independent term. You must later use other methods to input the variables.
Definition at line 77 of file Equation.cpp. References equationHeader::constWeight, equationHeader::equationSat, equationHeader::equationSource, and equationHeader::indTerm. |
|
|
Common constructor. It defines an Equation from its independent term. You must later use other methods to input the variables.
Definition at line 94 of file Equation.cpp. References equationHeader::constWeight, equationHeader::equationSat, equationHeader::equationSource, equationHeader::indTerm, and Variable::setType(). |
|
|
Common constructor. It takes a simple gnssEquationDefinition object and creates a more complex Equation object.
The resulting Equation object will honor this simple structure, assigning white noise models to all variables, as well as declaring them source-specific and satellite-independent (or 'UN-specific'). The former is suitable for simple GNSS data processing strategies like the SPS C1-based positioning, where the variables are TypeID::dx, TypeID::dy, TypeID::dz and TypeID::cdt. Definition at line 112 of file Equation.cpp. References gnssData::body, equationHeader::constWeight, equationHeader::equationSat, equationHeader::equationSource, gnssData::header, equationHeader::indTerm, and Variable::setType(). |
|
|
Destructor.
Definition at line 322 of file Equation.hpp. |
|
|
Add a sat to SatID set.
Definition at line 296 of file Equation.hpp. |
|
|
Add a source to SourceID set. This is only meaningful if "equationSource" in header is set to "Variable::someSources". Definition at line 290 of file Equation.hpp. |
|
||||||||||||||||||||||||||||
|
Add a variable (unknown) to this Equation.
Definition at line 154 of file Equation.cpp. References Equation::addVariable(). |
|
|
Add a variable (unknown) to this Equation.
Definition at line 220 of file Equation.hpp. Referenced by Equation::addVariable(), and GeneralEquations::getPPPEquations(). |
|
|
Remove ALL variables (unknowns) from this Equation.
Definition at line 260 of file Equation.hpp. |
|
|
Clear SatID set. This is only meaningful if "equationSource" in header is set to "Variable::someSources". Definition at line 310 of file Equation.hpp. |
|
|
Clear SourceID set. This is only meaningful if "equationSource" in header is set to "Variable::someSources". Definition at line 303 of file Equation.hpp. |
|
|
Get equation SatID.
Definition at line 269 of file Equation.hpp. |
|
|
Get equation SourceID.
Definition at line 265 of file Equation.hpp. |
|
|
Return the independent term of this equation.
Definition at line 191 of file Equation.hpp. References equationHeader::indTerm. |
|
|
Get SatID set. This is only meaningful if size of 'equationSatSet' is not zero Definition at line 283 of file Equation.hpp. |
|
|
Get SourceID set. This is only meaningful if "equationSource" in header is set to "Variable::someSources". Definition at line 276 of file Equation.hpp. |
|
|
Get the value of the constant weight associated to this equation.
Definition at line 204 of file Equation.hpp. |
|
|
This ordering is somewhat arbitrary, but is required to be able to use an Equation as an index to a std::map, or as part of a std::set.
Definition at line 317 of file Equation.hpp. References gnssData::header, and equationHeader::indTerm. |
|
|
Remove a variable (unknown) from this Equation.
Definition at line 250 of file Equation.hpp. |
|
|
Set the independent term of this Equation.
Definition at line 199 of file Equation.hpp. |
|
|
Set the value of the constant weight associated to this equation.
Definition at line 212 of file Equation.hpp. Referenced by GeneralEquations::getPPPEquations(). |
1.3.9.1