MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / isConnected

Method isConnected

src/binder/query/query_graph.cpp:229–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229bool 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
238void QueryGraphCollection::merge(const QueryGraphCollection& other) {
239 for (auto& queryGraph : other.queryGraphs) {

Callers 2

mergeGraphsMethod · 0.80

Calls 2

containsQueryNodeMethod · 0.80
getUniqueNameMethod · 0.45

Tested by

no test coverage detected