31 Values smootherValues, filterSeparatorValues, smootherSeparatorValues;
39 filter.
synchronize(smootherSummarization, smootherSeparatorValues);
44 smoother.
synchronize(smootherFactors, smootherValues, filterSumarization, filterSeparatorValues);
61 std::set_intersection(allKeys.begin(), allKeys.end(), remainingKeys.begin(), remainingKeys.end(), std::inserter(rootKeys, rootKeys.end()));
65 std::set_difference(allKeys.begin(), allKeys.end(), remainingKeys.begin(), remainingKeys.end(), std::inserter(marginalizeKeys, marginalizeKeys.end()));
67 if(marginalizeKeys.size() == 0) {
75 KeyVector(marginalizeKeys.begin(), marginalizeKeys.end()), eliminateFunction).second;
79 marginalFactors.
reserve(marginalLinearFactors.
size());
84 return marginalFactors;