Commit Graph

2042 Commits (a3f2bddb66d107a76e8143cbc9a19f37f76265b6)

Author SHA1 Message Date
Catalina e7c532ed31
Merge branch 'borglab:develop' into develop 2025-01-22 16:50:42 +08:00
JokerJohn 140984d2d9 move the IncrementalFixedLagExample example to unstable module to fix the link error 2025-01-22 16:48:17 +08:00
Varun Agrawal d5f304ef50
Merge pull request #1974 from borglab/fix-examples 2025-01-21 00:27:56 -05:00
JokerJohn 49abc02b4e remove unitest of issue1452 2025-01-21 04:02:54 +08:00
JokerJohn 3743b562c1 Move the example to the appropriate folder, and modify the code for reading files and adding factors. 2025-01-15 13:17:21 +08:00
JokerJohn c2355fd95a add IncrementalFixedLagExample to show the issue #1452 2025-01-14 19:47:30 +08:00
JokerJohn a4f88d2d25 add IncrementalFixedLagExample to showcase how setting addresses the issue #1452 2025-01-14 19:44:16 +08:00
Frank Dellaert 088332978b Check issue 1452 2025-01-13 13:02:39 -05:00
Varun Agrawal 3c9b2a2351 fix examples using discrete factor graph product 2025-01-11 17:48:10 -05:00
Matt Morley fd2f39e271 Add misc explicit operators 2025-01-09 07:21:21 -07:00
Gold856 0435efdebc Remove PREFIX "" 2025-01-07 08:27:19 -05:00
Gold856 6bb70df05b Use newer binary output directory variables and don't specify output directory on each target 2025-01-07 07:53:33 -05:00
Varun Agrawal ff5371fd4a move sum, max and nrValues to Constraint class as well 2025-01-06 13:38:45 -05:00
Varun Agrawal 7561da4df2 move operator/ to Constraint.h 2025-01-06 13:35:45 -05:00
Varun Agrawal ab2fe3707c Merge branch 'discrete-multiply' into discrete-elimination-refactor 2025-01-06 13:32:52 -05:00
Varun Agrawal 43f755d9d8 move multiply to Constraint.h 2025-01-06 11:17:03 -05:00
Varun Agrawal 2f8c8ddb75 update tests 2025-01-05 20:50:40 -05:00
Varun Agrawal 4ebca71146 divide operator for DiscreteFactor::shared_ptr 2025-01-05 20:44:10 -05:00
Varun Agrawal b5128b2c9f use DecisionTreeFactor version of sum and max where not available 2025-01-05 19:40:37 -05:00
Varun Agrawal 5e9c1300db Merge branch 'discrete-multiply' into discrete-elimination-refactor 2025-01-05 18:22:01 -05:00
Varun Agrawal 8390ffa2cb revert previous commit 2025-01-05 15:19:16 -05:00
Varun Agrawal a7fc6e3763 convert everything to DecisionTreeFactor so we can use override operator* method 2025-01-05 15:08:58 -05:00
Varun Agrawal a02baec011 naive implementation of multiply for unstable 2025-01-05 14:23:34 -05:00
Varun Agrawal d3901be1c1 Merge branch 'develop' into discrete-elimination-refactor 2025-01-05 08:51:11 -05:00
Varun Agrawal 90d8486224 Merge branch 'develop' into discrete-elimination-refactor 2024-12-30 15:04:16 -05:00
Matt 846c29fa2e Fix deperecated copies and redundant moves 2024-12-29 15:58:32 -08:00
Varun Agrawal ae213dd464 replace #ifdef with #if for GTSAM_ENABLE_BOOST_SERIALIZATION 2024-12-26 23:44:00 -05:00
Fan Jiang 456df093f1 Change all occurances of unnamed enum (deprecated in C++20) to `constexpr` 2024-12-12 10:27:42 -05:00
Fan Jiang ed098eaec6 Cleanup some includes and fix cassert 2024-12-11 14:05:05 -05:00
Varun Agrawal cc4e9cb4db Merge branch 'develop' into discrete-elimination-refactor 2024-12-10 10:26:39 -05:00
Varun Agrawal a98ac0fdb2 make evaluate the overriden method 2024-12-09 21:09:00 -05:00
Varun Agrawal 88b36da602 make evaluate a common base method 2024-12-09 16:55:15 -05:00
Varun Agrawal 214bf4ec1a more fixes 2024-12-08 17:15:40 -05:00
Varun Agrawal 975fe627d9 add methods in gtsam_unstable 2024-12-08 16:58:19 -05:00
Varun Agrawal 90d7e21941 change from DiscreteValues to Assignment<Key> 2024-12-08 11:19:35 -05:00
Varun Agrawal d1d440ad34 add nrValues method 2024-12-07 10:53:32 -05: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 14c3467520 Remove old marginalization code in IncrementalFixedLagSmoother.cpp 2024-10-31 19:05:54 +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
Jeffrey 1dd3b180b1 update testIncrementalFixedLagSmoother.cpp to reproduce the bug in marginalization 2024-10-28 20:33:06 +08:00
Varun Agrawal 2e39fef721 wrap PartialPriorFactor 2024-08-25 04:35:16 -04:00
Varun Agrawal bf70087fff Make default PartialPriorFactor constructor public 2024-08-25 04:35:02 -04:00
Varun Agrawal 2916841f12 update gtsam:: namespace in gtsam_unstable.i 2024-06-28 16:18:04 -04:00
Varun Agrawal bc3b96a6e8 rename error to errorTree when it returns an AlgebraicDecisionTree 2024-01-05 03:24:50 -05:00
Varun Agrawal 7d4dcf80d1 Merge branch 'develop' into discrete-error 2024-01-04 13:46:36 -05:00
Frank Dellaert 6f89bd8ddf
Merge pull request #1678 from kkelchte/develop 2023-11-30 07:53:45 -08:00