Skip to content

Conversation

varunagrawal
Copy link
Contributor

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

@varunagrawal varunagrawal self-assigned this Oct 20, 2022
@varunagrawal
Copy link
Contributor 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
Contributor 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
Contributor 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