MRPT
1.9.9
|
Base class for user-supplied objects capable of describing cells connectivity, used to build prior factors of the MRF graph.
Definition at line 337 of file CRandomFieldGridMap2D.h.
#include <mrpt/maps/CRandomFieldGridMap2D.h>
Public Types | |
using | Ptr = std::shared_ptr< ConnectivityDescriptor > |
Public Member Functions | |
ConnectivityDescriptor () | |
virtual | ~ConnectivityDescriptor () |
virtual bool | getEdgeInformation (const CRandomFieldGridMap2D *parent, size_t icx, size_t icy, size_t jcx, size_t jcy, double &out_edge_information)=0 |
Implement the check of whether node i=(icx,icy) is connected with node j=(jcx,jcy). More... | |
using mrpt::maps::CRandomFieldGridMap2D::ConnectivityDescriptor::Ptr = std::shared_ptr<ConnectivityDescriptor> |
Definition at line 339 of file CRandomFieldGridMap2D.h.
CRandomFieldGridMap2D::ConnectivityDescriptor::ConnectivityDescriptor | ( | ) |
Definition at line 2779 of file CRandomFieldGridMap2D.cpp.
|
virtual |
Definition at line 2780 of file CRandomFieldGridMap2D.cpp.
|
pure virtual |
Implement the check of whether node i=(icx,icy) is connected with node j=(jcx,jcy).
This visitor method will be called only for immediate neighbors.
parent | The parent map on which we are running |
icx | (cx,cy) for node "i" |
jcx | (cx,cy) for node "j" |
out_edge_information | Must output here the inverse of the variance of the constraint edge. |
Implemented in MyConnectivityVisitor.
Referenced by mrpt::maps::CRandomFieldGridMap2D::internal_clear().
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 |