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

Method setConstant

src/FactorGraph.cpp:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 void FactorGraph::setConstant(const string Name, const double Timestamp)
187 {
188 for (int StateNumber = _StateData.countElement(Name, Timestamp); StateNumber > 0; --StateNumber)
189 {
190 _Graph.SetParameterBlockConstant(_StateData.getElement(Name, Timestamp, StateNumber - 1).getMeanPointer());
191 }
192 }
193
194 void FactorGraph::setVariable(const string Name, const double Timestamp)
195 {

Callers

nothing calls this directly

Calls 3

countElementMethod · 0.80
getMeanPointerMethod · 0.80
getElementMethod · 0.80

Tested by

no test coverage detected