MRPT  1.9.9
mrpt::graphs::ScalarFactorGraph::BinaryFactorVirtualBase Struct Referenceabstract

Detailed Description

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

Definition at line 64 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: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020