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

Function computeDeltaWeight

clio/src/ib_utils.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112double computeDeltaWeight(const SceneGraphLayer& layer,
113 const std::vector<NodeId>& nodes) {
114 return static_cast<double>(nodes.size()) / static_cast<double>(layer.numNodes());
115}
116
117} // namespace clio

Callers 2

ComponentInfoMethod · 0.85
TESTFunction · 0.85

Calls 1

sizeMethod · 0.80

Tested by 1

TESTFunction · 0.68