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

Method setNewErrorModel

include/FactorGraph.h:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 /** replace error models which are given as pointer of vectors */
122 template <typename ErrorType>
123 void setNewErrorModel(std::vector<ErrorModelBase*> ErrorModels, const ErrorType &NoiseModel)
124 {
125 for (const auto &ErrorModel : ErrorModels)
126 {
127 *static_cast<ErrorType*>(ErrorModel) = NoiseModel;
128 }
129 }
130 /** replace error model of all factors of a specific type */
131 template <typename ErrorType>
132 void setNewErrorModel(FactorType CurrentFactorType, const ErrorType &NoiseModel)

Callers 3

TuneErrorModelFunction · 0.80
TuneErrorModelFunction · 0.80
TuneErrorModelFunction · 0.80

Calls 2

getErrorModelsMethod · 0.80
getErrorModelMethod · 0.45

Tested by

no test coverage detected