Description
Tasks,
- 1. Second example from Confirm clique sub-graphs only use priors once #458 (resolved by ex2 test from #458 #516)
- 2. Add more Factor checks to tree tests (partially resolved ex2 test from #458 #516)
- 3. Additional consolidation of previous half-baked tests
- 4. Check to ensure Previous Factor and Subgraph Factors match (partial ex2 test from #458 #516 )
1: Include second example from #458
Example 2 from #458 (comment) should be included here:
Note that Example 1 is already built just above:
2. Add more Factor checks to tree tests
Many tests on trees but these do not yet check which factors are in which clique (as was done in example above):
3. Additional consolidation of previous half-baked tests
previous Kaess test case:
Can readily be merged with this newer and improved testing here:
4. Check to ensure Previous Factor and Subgraph Factors match
This "newer" factor per clique test:
IncrementalInference.jl/test/testCliqueFactors.jl
Lines 62 to 68 in f6f164e
does not yet cover the previous main use case where factors were separately searched and described in the
BayesTreeNodeData.potentials
field:IncrementalInference.jl/src/JunctionTree.jl
Lines 810 to 827 in f6f164e
Clearly some consolidation is required between new CSM code, and previous .potentials
list approach -- but that can be done later after sufficient tests are in place that ensure a few test trees are being built properly. Starting with a simple tests that compares buildCliqSubgraph
with existing BTND.potentials
is probably easiest way to go.