logic: Only request unconnected child nodes when expanding node

* increases graph performance by ~30%
This commit is contained in:
Eberhard Graether
2017-06-01 14:48:03 +02:00
parent 8660ab5b14
commit aaca8618e2
13 changed files with 336 additions and 219 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ void Graph::removeNode(Node* node)
}
);
if (node->getEdges().size())
if (node->getEdgeCount())
{
LOG_ERROR("Node still has edges.");
}