Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Member Functions | Public Attributes | Private Attributes
mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF Struct Reference

Detailed Description

Definition at line 363 of file maps/CRandomFieldGridMap2D.h.

#include <mrpt/maps/CRandomFieldGridMap2D.h>

Inheritance diagram for mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF:
Inheritance graph

Public Member Functions

double evaluateResidual () const MRPT_OVERRIDE
 Return the residual/error of this observation. More...
 
double getInformation () const MRPT_OVERRIDE
 Return the inverse of the variance of this constraint. More...
 
void evalJacobian (double &dr_dx) const MRPT_OVERRIDE
 Returns the derivative of the residual wrt the node value. More...
 
 TObservationGMRF (CRandomFieldGridMap2D &parent)
 

Public Attributes

double obsValue
 Observation value. More...
 
double Lambda
 "Information" of the observation (=inverse of the variance) More...
 
bool time_invariant
 whether the observation will lose weight (lambda) as time goes on (default false) More...
 
size_t node_id
 

Private Attributes

CRandomFieldGridMap2Dm_parent
 

Constructor & Destructor Documentation

◆ TObservationGMRF()

mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF::TObservationGMRF ( CRandomFieldGridMap2D parent)
inline

Definition at line 373 of file maps/CRandomFieldGridMap2D.h.

Member Function Documentation

◆ evalJacobian()

void CRandomFieldGridMap2D::TObservationGMRF::evalJacobian ( double &  dr_dx) const
virtual

Returns the derivative of the residual wrt the node value.

Implements mrpt::graphs::ScalarFactorGraph::UnaryFactorVirtualBase.

Definition at line 2333 of file CRandomFieldGridMap2D.cpp.

◆ evaluateResidual()

double CRandomFieldGridMap2D::TObservationGMRF::evaluateResidual ( ) const
virtual

Return the residual/error of this observation.

Implements mrpt::graphs::ScalarFactorGraph::FactorBase.

Definition at line 2325 of file CRandomFieldGridMap2D.cpp.

◆ getInformation()

double CRandomFieldGridMap2D::TObservationGMRF::getInformation ( ) const
virtual

Return the inverse of the variance of this constraint.

Implements mrpt::graphs::ScalarFactorGraph::FactorBase.

Definition at line 2329 of file CRandomFieldGridMap2D.cpp.

Member Data Documentation

◆ Lambda

double mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF::Lambda

"Information" of the observation (=inverse of the variance)

Definition at line 366 of file maps/CRandomFieldGridMap2D.h.

Referenced by mrpt::maps::CRandomFieldGridMap2D::insertObservation_GMRF(), and mrpt::maps::CRandomFieldGridMap2D::internal_clear().

◆ m_parent

CRandomFieldGridMap2D* mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF::m_parent
private

Definition at line 375 of file maps/CRandomFieldGridMap2D.h.

◆ node_id

size_t mrpt::graphs::ScalarFactorGraph::UnaryFactorVirtualBase::node_id
inherited

◆ obsValue

double mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF::obsValue

◆ time_invariant

bool mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF::time_invariant

whether the observation will lose weight (lambda) as time goes on (default false)

Definition at line 367 of file maps/CRandomFieldGridMap2D.h.

Referenced by mrpt::maps::CRandomFieldGridMap2D::insertObservation_GMRF(), and mrpt::maps::CRandomFieldGridMap2D::internal_clear().




Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019