| 723 | } |
| 724 | |
| 725 | void FactorGraph::enableErrorModel(FactorType CurrentFactorType) |
| 726 | { |
| 727 | /** loop over all models */ |
| 728 | std::vector<ErrorModelBase*> ErrorModels; |
| 729 | _Structure.getErrorModels(CurrentFactorType, ErrorModels); |
| 730 | for (const auto &ErrorModel : ErrorModels) |
| 731 | { |
| 732 | ErrorModel->enable(); |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | void FactorGraph::disableErrorModel(FactorType CurrentFactorType) |
| 737 | { |
no test coverage detected