MRPT  2.0.4
TNodeID.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2020, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 #include <cstdint>
11 #include <utility> // pair
12 
13 namespace mrpt::graphs
14 {
15 /** A generic numeric type for unique IDs of nodes or entities */
16 using TNodeID = uint64_t;
17 /** A pair of node IDs */
18 using TPairNodeIDs = std::pair<TNodeID, TNodeID>;
19 #define INVALID_NODEID static_cast<mrpt::graphs::TNodeID>(-1)
20 } // namespace mrpt::graphs
Abstract graph and tree data structures, plus generic graph algorithms.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
Definition: TNodeID.h:16
std::pair< TNodeID, TNodeID > TPairNodeIDs
A pair of node IDs.
Definition: TNodeID.h:18



Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020