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

Method enableErrorModel

src/FactorGraph.cpp:725–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

enableErrorModelsMethod · 0.95

Calls 2

getErrorModelsMethod · 0.80
enableMethod · 0.80

Tested by

no test coverage detected