MRPT  1.9.9
TNodeID.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://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 }
Abstract graph and tree data structures, plus generic graph algorithms.
unsigned __int64 uint64_t
Definition: rptypes.h:50
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 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020