Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Member Functions | Public Attributes
mrpt::graphs::ScalarFactorGraph::BinaryFactorVirtualBase Struct Referenceabstract

Detailed Description

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

Definition at line 66 of file ScalarFactorGraph.h.

#include <mrpt/graphs/ScalarFactorGraph.h>

Inheritance diagram for mrpt::graphs::ScalarFactorGraph::BinaryFactorVirtualBase:
Inheritance graph

Public Member Functions

virtual void evalJacobian (double &dr_dxi, double &dr_dxj) const =0
 Returns the derivative of the residual wrt the node values. 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_i
size_t node_id_j

Member Function Documentation

◆ evalJacobian()

virtual void mrpt::graphs::ScalarFactorGraph::BinaryFactorVirtualBase::evalJacobian ( double &  dr_dxi,
double &  dr_dxj 
) const
pure virtual

Returns the derivative of the residual wrt the node values.

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

◆ 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_i

size_t mrpt::graphs::ScalarFactorGraph::BinaryFactorVirtualBase::node_id_i

◆ node_id_j

size_t mrpt::graphs::ScalarFactorGraph::BinaryFactorVirtualBase::node_id_j

Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019