Commit Graph

18137 Commits (d4726cfd1f15efaead1a32f15fbb1ed309cdaaae)

Author SHA1 Message Date
Varun Agrawal d4726cfd1f fix some regressions 2025-01-09 08:57:45 -05:00
Varun Agrawal 41280d4d1e update tests that failed and add shonan averaging test 2025-01-08 18:33:46 -05:00
Varun Agrawal d9106fd190 add numeric header for std::accumulate 2025-01-08 13:32:34 -05:00
Varun Agrawal 212c79289f support Windows 2025-01-08 12:57:30 -05:00
Varun Agrawal c00f6631ad other tests 2025-01-08 12:52:44 -05:00
Varun Agrawal 72da68ebf3 platform specific #ifs 2025-01-08 12:47:00 -05:00
Varun Agrawal 8cf2123b5c
Merge pull request #1953 from borglab/discrete-table-conditional
TableFactor and TableDistribution
2025-01-08 11:25:27 -05:00
Varun Agrawal 3ecc232c0a fix tests 2025-01-07 15:21:24 -05:00
Varun Agrawal 4fc2387a63 fix relinearization in HybridNonlinearISAM 2025-01-07 15:15:16 -05:00
Varun Agrawal 9c2ecc3c15 simplify multiplication 2025-01-07 14:55:30 -05:00
Varun Agrawal 9dfdf552e1 add hack to multiply DiscreteConditional with TableDistribution 2025-01-07 14:54:49 -05:00
Varun Agrawal 3629c33ecd override sample in TableDistribution 2025-01-07 14:53:28 -05:00
Varun Agrawal b81ab86b69 make ADT with nullptr in TableDistribution 2025-01-07 14:52:48 -05:00
Varun Agrawal 9228f0f771 fix headers 2025-01-07 11:19:21 -05:00
Varun Agrawal 3d2dd7c619 update scaledProduct docs 2025-01-07 10:52:05 -05:00
Varun Agrawal 3fb6f39b30 override operator/ in TableDistribution 2025-01-06 23:13:06 -05:00
Varun Agrawal 96a136b4e3 override sum and max in TableDistribution 2025-01-06 23:07:47 -05:00
Varun Agrawal 9960f2d8dc kill TableProduct in favor of DiscreteFactorGraph::scaledProduct 2025-01-06 22:18:14 -05:00
Varun Agrawal 82dba6322f new scaledProduct method instead of DiscreteProduct 2025-01-06 22:14:59 -05:00
Varun Agrawal 90825b96af remove hybrid timing flag from DiscreteFactorGraph 2025-01-06 21:08:27 -05:00
Varun Agrawal 5913fd120d updates to get things working 2025-01-06 21:06:22 -05:00
Varun Agrawal 8658f25edd Merge branch 'hybrid-timing' into discrete-table-conditional 2025-01-06 20:38:38 -05:00
Varun Agrawal edef8c8481 Merge branch 'develop' into hybrid-timing 2025-01-06 20:38:10 -05:00
Varun Agrawal 82d0ebc8fe
Merge pull request #1919 from borglab/discrete-elimination-refactor 2025-01-06 20:33:59 -05:00
Varun Agrawal c754f9bfdc add comments 2025-01-06 18:47:44 -05:00
Varun Agrawal f8dedb5035 use DiscreteFactor for DiscreteConditional constructor 2025-01-06 18:37:40 -05:00
Varun Agrawal f932945652 check pointer casts 2025-01-06 18:30:34 -05:00
Varun Agrawal 47074bd0c2
Merge pull request #1963 from borglab/discrete-multiply
DiscreteFactor multiply method
2025-01-06 15:21:52 -05:00
Varun Agrawal f043ac43a7 address review comments 2025-01-06 14:08:08 -05:00
Varun Agrawal ab90e0b0f3 move include to .cpp 2025-01-06 13:44:55 -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 ffd04fd454
Merge pull request #1962 from borglab/fix-dtf-division
Fix DecisionTreeFactor division
2025-01-06 10:26:20 -05:00
Varun Agrawal 2434e248e9 undo print change in DiscreteLookupTable 2025-01-05 20:54:56 -05:00
Varun Agrawal 2f8c8ddb75 update tests 2025-01-05 20:50:40 -05:00
Varun Agrawal e9822a70d2 update DiscreteFactorGraph to use DiscreteFactor::shared_ptr for elimination 2025-01-05 20:50:24 -05:00
Varun Agrawal fb1d52a18e fix constructor 2025-01-05 20:49:24 -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 b83aadb204 remove accidental type change 2025-01-05 15:37:37 -05:00
Varun Agrawal 713c49c915 more robust product 2025-01-05 15:20:09 -05:00
Varun Agrawal bc63cc8cb8 use double dispatch for else case 2025-01-05 15:19:57 -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 13bafb0a48 Revert "simplify to remove DiscreteProduct static function"
This reverts commit 453059bd61.
2025-01-05 14:28:57 -05:00
Varun Agrawal a02baec011 naive implementation of multiply for unstable 2025-01-05 14:23:34 -05:00
Varun Agrawal 453059bd61 simplify to remove DiscreteProduct static function 2025-01-05 14:03:08 -05:00