General Purpose Geodetic Library
SgPwlStorage Class Referenceabstract

#include <SgPwlStorage.h>

Inheritance diagram for SgPwlStorage:
SgPwlStorageBSplineL SgPwlStorageBSplineQ SgPwlStorageIncRates

Public Member Functions

 SgPwlStorage ()
 
virtual ~SgPwlStorage ()
 
virtual SgPwlStorageoperator= (const SgPwlStorage &)
 
int getNumOfNodes () const
 
int getNumOfPolynomials () const
 
double step () const
 
const SgMJDtStart () const
 
const SgMJDtFinis () const
 
const SgMJDtRefer () const
 
SgMJD tMean () const
 
SgParametergetP_Ai (int)
 
SgParametergetP_Bi (int)
 
SgParametergetPOrig ()
 
void setNumOfPolynomials (int)
 
double trace () const
 
virtual void deployParameters (SgParameter *, const SgMJD &tStart, const SgMJD &tFinis, const SgMJD &tRefer, const SgTaskConfig *)=0
 
virtual void propagatePartials (const SgMJD &t)=0
 
int calcCurrentIdx (const SgMJD &t)
 
virtual int getNumOfActiveParameters (const SgMJD &t)=0
 
virtual int getNumOfSegments ()=0
 
virtual void getListOfActiveParameters (const SgMJD &t, QList< SgParameter * > &pars)=0
 
void zerofy ()
 
virtual double calcAX (const SgMJD &, bool)=0
 
virtual double calc_P_a (const SgSymMatrix &, int, const SgMJD &)=0
 
virtual double calc_aT_P_a (const SgVector &, const SgMJD &)=0
 
virtual double calcRateRms4Sfo ()
 
void collectTraces4Sfo (const QList< SgParameter * > *listX, const SgSymMatrix &mPx)
 
double calcPolySolution (const SgMJD &)
 
virtual double calcRateSolution (const SgMJD &)=0
 
virtual double calcSolution (const SgMJD &)
 
virtual double calcRateSigma (const SgMJD &)
 
double calcMean ()
 
double calcWRMS ()
 

Static Public Member Functions

static const QString className ()
 

Protected Attributes

SgParameterpOrig_
 
SgParameterpAi_
 
SgParameterpBi_
 
int numOfPolynomials_
 
int numOfNodes_
 
SgMJD tStart_
 
SgMJD tFinis_
 
SgMJD tRefer_
 
double step_
 
double sumP2_
 
double sumX1P2_
 
double sumX2P2_
 
double sumT1P2_
 
bool isPOrigOwner_
 
double trace_
 

Detailed Description

SgPwlStorage – virtual class, a skeleton for a specialized parameter to estimate. ====================================================================================================

Definition at line 46 of file SgPwlStorage.h.

Constructor & Destructor Documentation

◆ SgPwlStorage()

SgPwlStorage::SgPwlStorage ( )
inline

A constructor. Creates a default object.

Definition at line 204 of file SgPwlStorage.h.

References isPOrigOwner_, numOfNodes_, numOfPolynomials_, pAi_, pBi_, pOrig_, sumP2_, sumT1P2_, sumX1P2_, sumX2P2_, and trace_.

◆ ~SgPwlStorage()

SgPwlStorage::~SgPwlStorage ( )
inlinevirtual

A destructor. Frees allocated memory.

Definition at line 225 of file SgPwlStorage.h.

References isPOrigOwner_, numOfNodes_, numOfPolynomials_, pAi_, pBi_, and pOrig_.

Member Function Documentation

◆ calc_aT_P_a()

virtual double SgPwlStorage::calc_aT_P_a ( const SgVector ,
const SgMJD  
)
pure virtual

◆ calc_P_a()

virtual double SgPwlStorage::calc_P_a ( const SgSymMatrix ,
int  ,
const SgMJD  
)
pure virtual

◆ calcAX()

virtual double SgPwlStorage::calcAX ( const SgMJD ,
bool   
)
pure virtual

◆ calcCurrentIdx()

◆ calcMean()

double SgPwlStorage::calcMean ( )
inline

Definition at line 359 of file SgPwlStorage.h.

References sumP2_, and sumX1P2_.

Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ calcPolySolution()

double SgPwlStorage::calcPolySolution ( const SgMJD t)

◆ calcRateRms4Sfo()

double SgPwlStorage::calcRateRms4Sfo ( )
virtual

◆ calcRateSigma()

◆ calcRateSolution()

virtual double SgPwlStorage::calcRateSolution ( const SgMJD )
pure virtual

◆ calcSolution()

double SgPwlStorage::calcSolution ( const SgMJD t)
virtual

◆ calcWRMS()

double SgPwlStorage::calcWRMS ( )
inline

Definition at line 367 of file SgPwlStorage.h.

References sumP2_, sumX1P2_, and sumX2P2_.

Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ className()

const QString SgPwlStorage::className ( )
static

Returns name of the class (for debug output).

Definition at line 39 of file SgPwlStorage.cpp.

◆ collectTraces4Sfo()

void SgPwlStorage::collectTraces4Sfo ( const QList< SgParameter * > *  listX,
const SgSymMatrix mPx 
)

◆ deployParameters()

virtual void SgPwlStorage::deployParameters ( SgParameter ,
const SgMJD tStart,
const SgMJD tFinis,
const SgMJD tRefer,
const SgTaskConfig  
)
pure virtual

◆ getListOfActiveParameters()

virtual void SgPwlStorage::getListOfActiveParameters ( const SgMJD t,
QList< SgParameter * > &  pars 
)
pure virtual

◆ getNumOfActiveParameters()

virtual int SgPwlStorage::getNumOfActiveParameters ( const SgMJD t)
pure virtual

◆ getNumOfNodes()

int SgPwlStorage::getNumOfNodes ( ) const
inline

Returns a number of nodes in the PWL model.

Definition at line 251 of file SgPwlStorage.h.

References numOfNodes_.

Referenced by SgEstimator::deployPwlParameters(), operator=(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ getNumOfPolynomials()

◆ getNumOfSegments()

◆ getP_Ai()

SgParameter * SgPwlStorage::getP_Ai ( int  idx)
inline

◆ getP_Bi()

SgParameter * SgPwlStorage::getP_Bi ( int  idx)
inline

Returns a pointer on the Bi parameter.

Definition at line 307 of file SgPwlStorage.h.

References numOfNodes_, and pBi_.

Referenced by SgEstimator::calc_aT_P_a_opt(), SgEstimator::deployPwlParameters(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ getPOrig()

SgParameter * SgPwlStorage::getPOrig ( )
inline

◆ operator=()

SgPwlStorage & SgPwlStorage::operator= ( const SgPwlStorage s)
virtual

◆ propagatePartials()

virtual void SgPwlStorage::propagatePartials ( const SgMJD t)
pure virtual

Propagates the partials.

Implemented in SgPwlStorageIncRates, SgPwlStorageBSplineQ, and SgPwlStorageBSplineL.

◆ setNumOfPolynomials()

void SgPwlStorage::setNumOfPolynomials ( int  n)
inline

Definition at line 334 of file SgPwlStorage.h.

References numOfPolynomials_.

◆ step()

double SgPwlStorage::step ( ) const
inline

Definition at line 267 of file SgPwlStorage.h.

References step_.

Referenced by operator=(), SgSolutionReporter::reportAtmo(), and SgSolutionReporter::reportCloc().

◆ tFinis()

const SgMJD & SgPwlStorage::tFinis ( ) const
inline

Definition at line 283 of file SgPwlStorage.h.

References tFinis_.

Referenced by operator=(), and SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ tMean()

SgMJD SgPwlStorage::tMean ( ) const
inline

Definition at line 299 of file SgPwlStorage.h.

References sumP2_, sumT1P2_, and tZero.

Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ trace()

double SgPwlStorage::trace ( ) const
inline

Definition at line 100 of file SgPwlStorage.h.

References trace_.

Referenced by SgSolutionReporter::reportEstimationBlock_Output4Spoolfile().

◆ tRefer()

const SgMJD & SgPwlStorage::tRefer ( ) const
inline

◆ tStart()

const SgMJD & SgPwlStorage::tStart ( ) const
inline

◆ zerofy()

void SgPwlStorage::zerofy ( )

Clear info.

Definition at line 83 of file SgPwlStorage.cpp.

References numOfNodes_, numOfPolynomials_, pAi_, and pBi_.

Member Data Documentation

◆ isPOrigOwner_

◆ numOfNodes_

◆ numOfPolynomials_

◆ pAi_

◆ pBi_

◆ pOrig_

◆ step_

◆ sumP2_

◆ sumT1P2_

◆ sumX1P2_

◆ sumX2P2_

◆ tFinis_

◆ trace_

double SgPwlStorage::trace_
protected

Definition at line 182 of file SgPwlStorage.h.

Referenced by SgPwlStorage(), collectTraces4Sfo(), operator=(), and trace().

◆ tRefer_

◆ tStart_


The documentation for this class was generated from the following files: