| 227 | } |
| 228 | |
| 229 | bool QueryGraph::isConnected(const QueryGraph& other) const { |
| 230 | for (auto& queryNode : queryNodes) { |
| 231 | if (other.containsQueryNode(queryNode->getUniqueName())) { |
| 232 | return true; |
| 233 | } |
| 234 | } |
| 235 | return false; |
| 236 | } |
| 237 | |
| 238 | void QueryGraphCollection::merge(const QueryGraphCollection& other) { |
| 239 | for (auto& queryGraph : other.queryGraphs) { |
no test coverage detected