MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / getTimesBelow

Method getTimesBelow

src/FactorGraphStructure.cpp:231–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 void FactorGraphStructure::getTimesBelow(const FactorType Type, const double EndTime, std::vector<double> &Times) const
232 {
233 double StartTime;
234 if(_FactorList.getTimeFirst(Type, StartTime))
235 {
236 if(StartTime <= EndTime)
237 {
238 this->getTimesBetween(Type, StartTime, EndTime, Times);
239 }
240 else
241 {
242 PRINT_WARNING("There is now element of type ", Type, " below timestamp ", EndTime, ".");
243 }
244 }
245 }
246
247 bool FactorGraphStructure::getTimeFirst(const FactorType Type, double& FirstTime) const
248 {

Callers 1

Calls 2

getTimesBetweenMethod · 0.95
getTimeFirstMethod · 0.45

Tested by

no test coverage detected