| 223 | } |
| 224 | |
| 225 | void FactorGraph::setLowerBound(const string &Name, const double Timestamp, const int StateNumber, const Vector &Bound) |
| 226 | { |
| 227 | const int Dim = _StateData.getElement(Name, Timestamp, StateNumber).getMean().size(); |
| 228 | |
| 229 | if (Bound.size() == Dim) |
| 230 | { |
| 231 | for (int n = 0; n < Dim; n++) |
| 232 | { |
| 233 | _Graph.SetParameterLowerBound(_StateData.getElement(Name, Timestamp, StateNumber).getMeanPointer(), n, Bound(n)); |
| 234 | } |
| 235 | } |
| 236 | else |
| 237 | { |
| 238 | PRINT_ERROR("Dimension of bounding vector is ", Bound.size(), " instead of ", Dim, "!") ; |
| 239 | } |
| 240 | } |
| 241 | |
| 242 | bool FactorGraph::marginalizeStates(std::vector<StateID> States, const double Inflation) |
| 243 | { |
nothing calls this directly
no test coverage detected