4 #include "TiledGraphNode.h"
15 , TransportNetworkType(TransportNetwork::TransportRoad)
19 TransportNetwork::Type transportNetworkType,
21 TransportLocalNodeId localNodeId
24 , LocalNodeId(localNodeId)
25 , TransportNetworkType(transportNetworkType)
29 TransportNetwork::Type transportNetworkType,
32 : CellKey(graphNodeId.CellKey)
33 , LocalNodeId(graphNodeId.LocalNodeId)
34 , TransportNetworkType(transportNetworkType)
38 TransportLocalNodeId LocalNodeId;
39 TransportNetwork::Type TransportNetworkType;
44 return (lhs.LocalNodeId == rhs.LocalNodeId) &&
45 (lhs.CellKey == rhs.CellKey) &&
46 (lhs.TransportNetworkType == rhs.TransportNetworkType);
55 std::size_t h2 = std::hash<int>{}(nodeId.LocalNodeId);
56 std::size_t h3 = std::hash<int>{}(nodeId.TransportNetworkType);
57 return (h1 ^ (h2 << 1)) ^ (h3 << 1);