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 Pruning #1309

Merged
merged 11 commits into from
Nov 3, 2022
Merged

Hybrid Pruning #1309

merged 11 commits into from
Nov 3, 2022

Conversation

varunagrawal
Copy link
Collaborator

Got hybrid pruning to work and this PR is the result of it!

@varunagrawal varunagrawal self-assigned this Oct 20, 2022
@varunagrawal
Copy link
Collaborator Author

@dellaert FYI this PR gets the 1D robot example working extremely well!

Copy link
Collaborator

@ProfFan ProfFan left a 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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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...

@varunagrawal varunagrawal requested a review from ProfFan November 2, 2022 23:11
@varunagrawal varunagrawal merged commit 256c664 into develop Nov 3, 2022
@varunagrawal varunagrawal deleted the varun/pruning-fix branch November 3, 2022 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants