MRPT  2.0.0
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 64 of file ScalarFactorGraph.h.

#include <mrpt/graphs/ScalarFactorGraph.h>

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

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 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020