Skip to content

Conversation

varunagrawal
Copy link
Contributor

I pulled all the tests from the previous hybrid mechanism and updated them so they work.

@varunagrawal varunagrawal self-assigned this Jun 7, 2022
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.

Great PR

using symbol_shorthand::X;

/* ************************************************************************* */
TEST(GaussianConditional, Equals) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document the equations here (2 gaussians)

TestResult tr;
return TestRegistry::runAllTests(tr);
}
/* ************************************************************************* */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline


// TODO(Frank): why specify keys at all? And: keys in factor should be *all*
// keys, deviating from Kevin's scheme. Should we index DT on DiscreteKey?
// Design review!
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the DiscreteKey is probably a suboptimal design, since that killed the consistency of API. I would argue that maybe in GTSAM 5 we should have the discrete values hold their cardinalities...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you write up an issue for this? We're definitely going to forget in the far future. 😅

@varunagrawal varunagrawal merged commit 784f16f into develop Jun 10, 2022
@varunagrawal varunagrawal deleted the hybrid/tests branch June 10, 2022 11:19
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