MRPT
2.0.1
|
Custom exception class that passes information in case an unconnected graph is passed to a Dijkstra instance.
Definition at line 30 of file dijkstra.h.
#include <mrpt/graphs/dijkstra.h>
Public Member Functions | |
NotConnectedGraph (const std::set< mrpt::graphs::TNodeID > &unconnected_nodeIDs, std::string err) | |
const char * | what () |
~NotConnectedGraph () noexcept override=default | |
void | getUnconnectedNodeIDs (std::set< mrpt::graphs::TNodeID > *set_nodeIDs) const |
Fill set with the nodeIDs Dijkstra algorithm could not reach starting from the root node. More... | |
Private Attributes | |
std::set< mrpt::graphs::TNodeID > | m_unconnected_nodeIDs |
std::string | m_err |
|
inlineexplicit |
Definition at line 33 of file dijkstra.h.
|
overridedefaultnoexcept |
|
inline |
Fill set with the nodeIDs Dijkstra algorithm could not reach starting from the root node.
Definition at line 46 of file dijkstra.h.
References ASSERTMSG_, and m_unconnected_nodeIDs.
Referenced by mrpt::graphs::CNetworkOfPoses< CPOSE, MAPS_IMPLEMENTATION, NODE_ANNOTATIONS, EDGE_ANNOTATIONS >::extractSubGraph().
|
inline |
Definition at line 41 of file dijkstra.h.
References m_err.
|
private |
Definition at line 61 of file dijkstra.h.
Referenced by what().
|
private |
Definition at line 60 of file dijkstra.h.
Referenced by getUnconnectedNodeIDs().
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |