Main MRPT website > C++ reference for MRPT 1.5.8
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 63 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.5.8 Git: f67d0f871 Wed Sep 25 18:32:17 2019 +0200 at lun oct 28 01:58:29 CET 2019