Commit Graph

7 Commits (release/4.3a0)

Author SHA1 Message Date
p-zach a832a52f37 Move bayes tree marg helper (no .i presence) 2025-04-06 15:35:04 -04:00
Jeffrey 06dac43cae Some refinement in BayesTreeMarginalizationHelper:
1. Skip subtrees that have already been visited when searching for
   dependent cliques;
2. Avoid copying shared_ptrs (which needs extra expensive atomic
   operations) in the searching. Use const Clique* instead of
   sharedClique whenever possible;
3. Use std::unordered_set instead of std::set to improve average
   searching speed.
2024-11-02 17:14:01 +08:00
Jeffrey 0d9c3a9958 Remove unused variable 2024-10-31 22:23:22 +08:00
Jeffrey 1a5e711f0e Further optimize the implementation of BayesTreeMarginalizationHelper:
Now we won't re-emilinate any unnecessary nodes (we re-emilinated
whole subtrees in the previous commits, which is not optimal)
2024-10-31 21:52:45 +08:00
Jeffrey 67b0b78ea1 Update BayesTreeMarginalizationHelper:
1. Refactor code in BayesTreeMarginalizationHelper;
2. And avoid the unnecessary re-elimination of subtrees
   that only contain marginalizable variables;
2024-10-31 18:58:49 +08:00
Jeffrey c6ba2b5fd8 update doc string in BayesTreeMarginalizationHelper.h 2024-10-29 15:13:09 +08:00
Jeffrey 896e52ca27 Fix marginalization in IncrementalFixedLagSmoother.
Add BayesTreeMarginalizationHelper.h and use the new helper
to gather the additional keys to re-eliminate when marginalizing
variables in IncrementalFixedLagSmoother.
2024-10-28 23:38:04 +08:00