MRPT  2.0.4
List of all members | Public Member Functions | Public Attributes
mrpt::graphs::ScalarFactorGraph::UnaryFactorVirtualBase Struct Referenceabstract

Detailed Description

Simple, scalar (1-dim) constraint (edge) for a GMRF.

Definition at line 56 of file ScalarFactorGraph.h.

#include <mrpt/graphs/ScalarFactorGraph.h>

Inheritance diagram for mrpt::graphs::ScalarFactorGraph::UnaryFactorVirtualBase:

Public Member Functions

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

Public Attributes

size_t node_id

Member Function Documentation

◆ evalJacobian()

virtual void mrpt::graphs::ScalarFactorGraph::UnaryFactorVirtualBase::evalJacobian ( double &  dr_dx) const
pure virtual

Returns the derivative of the residual wrt the node value.

Implemented in mrpt::maps::CRandomFieldGridMap2D::TObservationGMRF, and mrpt::maps::CRandomFieldGridMap3D::TObservationGMRF.

◆ evaluateResidual()

virtual double mrpt::graphs::ScalarFactorGraph::FactorBase::evaluateResidual ( ) const
pure virtualinherited

◆ getInformation()

virtual double mrpt::graphs::ScalarFactorGraph::FactorBase::getInformation ( ) const
pure virtualinherited

Member Data Documentation

◆ node_id

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

Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 3e8ecd670 Mon May 18 14:23:19 2020 +0200 at lun may 18 14:30:11 CEST 2020