MCPcopy Create free account
hub / github.com/bab2min/tomotopy / getMetadataRange

Method getMetadataRange

src/python/handler/py_GDMR.cpp:270–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270std::vector<std::pair<float, float>> GDMRModelObject::getMetadataRange() const
271{
272 auto* inst = getInst<tomoto::IGDMRModel>();
273 vector<float> vMin, vMax;
274 inst->getMdRange(vMin, vMax);
275 vector<pair<float, float>> ret;
276 for (size_t i = 0; i < vMin.size(); ++i)
277 {
278 ret.emplace_back(vMin[i], vMax[i]);
279 }
280 return ret;
281}
282
283void GDMRModelObject::getTopicPrior() const
284{

Callers

nothing calls this directly

Calls 3

getMdRangeMethod · 0.80
emplace_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected