Main MRPT website > C++ reference for MRPT 1.5.5
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:
Inheritance graph

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 1.5.5 Git: e06b63dbf Fri Dec 1 14:41:11 2017 +0100 at lun oct 28 01:31:35 CET 2019