| 350 | } |
| 351 | |
| 352 | bool FactorGraph::marginalizeState(const string Name, const double Timestamp, const int Number) |
| 353 | { |
| 354 | std::vector<StateID> SingleState; |
| 355 | SingleState.emplace_back(StateID(Name, Timestamp, Number)); |
| 356 | |
| 357 | return this->marginalizeStates(SingleState); |
| 358 | } |
| 359 | |
| 360 | bool FactorGraph::marginalizeAllStatesOutsideWindow(const double TimeWindow, const double CurrentTime, const double Inflation) |
| 361 | { |