Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hybrid Elimination #1339

Merged
merged 12 commits into from
Dec 10, 2022
Prev Previous commit
remove commented out code
  • Loading branch information
varunagrawal committed Dec 10, 2022
commit 6beffeb0c1d0eb4d098aef7ac88d198e9b3bd9c6
7 changes: 1 addition & 6 deletions gtsam/hybrid/HybridGaussianFactorGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,8 @@ discreteElimination(const HybridGaussianFactorGraph &factors,
}
}

// std::cout << "Eliminate For MPE" << std::endl;
auto result = EliminateForMPE(dfg, frontalKeys);
// std::cout << "discrete elimination done!" << std::endl;
// dfg.print();
// std::cout << "\n\n\n" << std::endl;
// result.first->print();
// result.second->print();

return {boost::make_shared<HybridConditional>(result.first),
boost::make_shared<HybridDiscreteFactor>(result.second)};
}
Expand Down