Commit Graph

2023 Commits (5e9c1300dbc684fc5068af6d7bea0084c5fa000f)

Author SHA1 Message Date
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
Tal Regev 62d59c62d4
Fix windows test 2023-07-20 08:28:23 +03:00
Frank Dellaert 6eeceb679a Fix unit tests 2023-07-17 16:55:20 +02:00
Varun Agrawal 5fa889b035 add GTSAM_EXPORT tags 2023-06-21 17:32:26 -04:00
Varun Agrawal 57311281fb use std::map<Key, uint32_t> for Key-Dim maps 2023-06-21 09:56:16 -04:00
Varun Agrawal fbf155d91e undo changes 2023-06-21 09:55:52 -04:00
Varun Agrawal 62fe1a9379 add todo for error in SmartStereoProjectionFactorPP.h 2023-06-20 17:35:57 -04:00
Varun Agrawal 254e3128e6 fix for multiply defined symbol error in LPInitSolver 2023-06-20 17:35:57 -04:00
Varun Agrawal b0404aa109 small improvements 2023-06-20 17:35:57 -04:00
klaas kelchtermans 8aff7b52f0 typo 2023-05-04 13:46:35 +02:00
klaas kelchtermans d472362614 add ProjectionFactorPPPCal3Fisheye 2023-05-04 11:11:45 +02:00