MCPcopy Create free account
hub / github.com/MIT-SPARK/Clio / keysIntersect

Function keysIntersect

clio/src/clustering_workspace.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using EmbeddingMap = std::map<NodeId, Eigen::VectorXf>;
13
14bool keysIntersect(EdgeKey key1, EdgeKey key2) {
15 return key1.k1 == key2.k1 || key1.k1 == key2.k2 || key1.k2 == key2.k1 ||
16 key1.k2 == key2.k2;
17}
18
19EmbeddingMap getEmbeddingMap(const std::map<NodeId, SceneGraphNode::Ptr>& nodes) {
20 EmbeddingMap features;

Callers 1

addMergeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected