Store nameID with Edge
This commit is contained in:
parent
11653ef58f
commit
eca2c0c5ef
@ -156,6 +156,7 @@ void EdgeBasedGraphFactory::Run() {
|
||||
//create Edge for NearestNeighborlookup
|
||||
edgeBasedEdges.push_back(newEdge);
|
||||
EdgeBasedNode currentNode;
|
||||
currentNode.nameID = newEdge.data.nameID1;
|
||||
if(_nodeBasedGraph->GetEdgeData(e1).type != 14) {
|
||||
currentNode.lat1 = inputNodeInfoList[u].lat;
|
||||
currentNode.lon1 = inputNodeInfoList[u].lon;
|
||||
|
@ -78,6 +78,7 @@ public:
|
||||
int lon1;
|
||||
int lon2;
|
||||
NodeID id;
|
||||
NodeID nameID;
|
||||
};
|
||||
|
||||
typedef DynamicGraph< _EdgeBasedEdgeData> _EdgeBasedDynamicGraph;
|
||||
|
Loading…
Reference in New Issue
Block a user