-
Notifications
You must be signed in to change notification settings - Fork 779
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 Pruning #1309
Hybrid Pruning #1309
Conversation
@dellaert FYI this PR gets the 1D robot example working extremely well! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question
gtsam::HybridBayesNet newConditionals; | ||
|
||
// NOTE(Varun) Using a for-range loop doesn't work since some of the | ||
// conditionals are invalid pointers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I don't think this is possible in a Hybrid Bayes Net?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is! I was able to get a simple example up and running with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no other explanation why a for-range loop doesn't work, unfortunately...
Got hybrid pruning to work and this PR is the result of it!