Commit Graph

2033 Commits (fd2f39e271a13a8755329023e36d88c920635d18)

Author SHA1 Message Date
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
Varun Agrawal 4711f5807d discrete error method that returns an ADT 2023-11-11 10:32:33 -05:00
Varun Agrawal b5d19fb446
Merge pull request #1650 from borglab/factor-typecast 2023-10-18 13:45:51 -04:00
Varun Agrawal e4fff74690 update gtsamAddExamplesGlob and gtsamAddTimingGlob to take an additional argument rather than using a global variable 2023-10-08 12:16:24 -04:00
Varun Agrawal f875662040 Merge branch 'develop' into fixes 2023-10-08 11:01:39 -04:00
Varun Agrawal 790e3d515c add templated at methods for FactorGraph so it can perform typecasting for us 2023-10-06 12:34:49 -04:00
Tal Regev 2c4cdbb8c1
Fix windows tests 2023-09-25 20:33:35 +03:00
Varun Agrawal c25f8a60b7 fix warnings 2023-09-21 13:56:20 -04:00
Varun Agrawal ac3f3dbd60 clean up GTSAM version setting 2023-09-05 06:48:24 -04:00
Varun Agrawal e4ff39cd42 Merge branch 'develop' into fix/windows-tests 2023-07-27 12:06:12 -04:00