| 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 | { |
no test coverage detected