Commit Graph

50 Commits (7c9d04fb65b3d595a8d1b08a54d023d72cc87576)

Author SHA1 Message Date
Varun Agrawal 7c9d04fb65 conditional switch for hybrid timing 2024-12-27 12:02:21 -05:00
Varun Agrawal 748db19795 rename normalization to normalizer 2024-12-25 13:13:21 -05:00
Varun Agrawal 588533751b add another pointer check 2024-12-10 14:10:33 -05:00
Varun Agrawal 62008fc995 add return 2024-12-10 11:10:25 -05:00
Varun Agrawal 372b133366 formatting 2024-12-10 11:05:50 -05:00
Varun Agrawal 590293bb92 return tau factor as DiscreteFactor for discrete elimination 2024-12-10 10:52:15 -05:00
Varun Agrawal dea9c7f765 common function for product and normalization 2024-12-10 10:49:08 -05:00
Varun Agrawal 92e0a55e78 generalize discreteKeys method 2024-12-10 10:41:57 -05:00
Varun Agrawal 80b1fe569a use product method since it has a nullptr check 2024-12-10 10:41:36 -05:00
Kevin 70fa568131 Normalize products by max in discrete elimination. 2023-02-11 19:59:16 -05:00
Kevin 0710a8a893 Add normalization trick to sum-product. 2023-02-08 14:15:32 -05:00
Kevin 9d0be8f2b2 Use simpler normalization for max-product. 2023-02-08 08:55:03 -05:00
Kevin 148d99f1d1 Add normalization to max-product, avoiding underflow. 2023-02-07 10:15:57 -05:00
Frank Dellaert 6c0cab25a3 Replace make_pair with {} 2023-02-04 09:08:34 -08:00
kartik arcot c037e0a1fc replaced casts 2023-01-22 08:40:02 -08:00
kartik arcot 852e8768c0 shared_ptr, make_shared, allocate_shared 2023-01-22 08:40:02 -08:00
Frank Dellaert d6b977927e Fix return type 2022-01-25 23:47:53 -05:00
Frank Dellaert 9eea6cf21a Added sumProduct as a convenient alias 2022-01-25 17:15:52 -05:00
Frank Dellaert 6aeb3db8f6 Merge branch 'develop' into feature/hybrid_base
# Conflicts:
#	gtsam/discrete/DecisionTreeFactor.cpp
2022-01-22 14:50:57 -05:00
Frank Dellaert 785b39d3c0 discreteKeys method 2022-01-22 11:06:06 -05:00
Frank Dellaert 2ac79af17f Added optimize variants that take custom ordering 2022-01-21 14:47:46 -05:00
Frank Dellaert 5add858c24 Now doing MPE with DAG class 2022-01-21 13:18:28 -05:00
Frank Dellaert ec39197cc3 `optimize` now computes MPE 2022-01-21 10:12:31 -05:00
Frank Dellaert 3ea5aed26e html for all graphs 2022-01-09 11:42:56 -05:00
Frank Dellaert 8eb623b58f Added an optional names argument for discrete markdown renderers 2022-01-02 21:34:22 -05:00
Frank Dellaert 38f0a40fbc Fix markdown names (that somehow reverted) 2021-12-25 10:46:49 -05:00
Frank Dellaert 042cb9d902 markdown for DiscreteFactorGraph 2021-12-24 13:27:02 -05:00
Frank Dellaert e89a294376 Use DiscreteValues everywhere 2021-12-13 13:46:53 -05:00
Frank Dellaert 9fe6d23d9f Got rid of sharedValues 2021-11-20 16:15:05 -05:00
Jose Luis Blanco Claraco 76b29b78af
Prefer C++11 nullptr 2020-04-06 23:31:05 +02:00
Yao Chen ce2cd71112 Replaced BOOSE_FOREACH with for in gtsam folder. 2016-05-20 23:41:22 -04:00
dellaert 128bac616c Globally replaced FastSet<Key> with KeySet. 2015-06-20 18:38:25 -07:00
Richard Roberts 686051c032 Convert DOS line endings to UNIX 2014-01-09 16:39:27 -05:00
Richard Roberts ec78d54f37 Removed old Index typedef and IndexFormatter 2013-11-08 16:35:28 +00:00
Duy-Nguyen Ta 223da3e34f fixed DiscreteBayesNet::sample. 2013-10-12 20:23:04 +00:00
Duy-Nguyen Ta 9aede467d2 revive discrete, except testDiscreteBayesNet::sample, and the whole testDiscreteBayesTree, currently disabled. It's still a mess!!! 2013-10-10 21:59:49 +00:00
Richard Roberts 8d9d17ce33 Revert "Working on converting discrete"
This reverts commit 50a3602874aa2cc0fd0aed4d838668af263a3d03.
2013-08-05 22:30:50 +00:00
Richard Roberts 667facdbce Working on converting discrete 2013-08-02 22:09:45 +00:00
Richard Roberts 3ade190128 Renamed old classes to "Ordered" and removed "Unordered" name from new classes 2013-07-29 23:55:40 +00:00
Frank Dellaert 458707ed45 Small changes for Qualifier 2013 Scheduling 2013-03-19 18:05:13 +00:00
Richard Roberts 89b50e7679 Renamed tic -> gttic and toc -> gttoc to avoid conflict with PCL tic/toc 2012-10-02 20:18:41 +00:00
Richard Roberts 4876cc7ff7 Revamped timing statements - much easier to use, exception-safe (see email to frankcvs list) 2012-10-02 18:36:39 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Richard Roberts fb409a2cc7 Implemented partial elimination and sparse variable index remapping (Reduction) to enable Frank's new marginal code 2012-10-01 16:12:41 +00:00
Alex Cunningham b98f60ddb5 Added more flexible print interface with optional key formatter 2012-06-27 19:16:18 +00:00
Richard Roberts a23127a315 Removed using namespace in header files 2012-06-08 14:33:36 +00:00
Abhijit Kundu c31ef559f8 Merging all Discrete changes 2012-06-06 03:10:13 +00:00
Frank Dellaert 5d5bb0e1a8 Fixed headers, both license and doxygen 2012-05-15 09:22:55 +00:00
Richard Roberts 9ec030dcf3 Updated gtsam build files for discrete 2012-04-15 23:12:17 +00:00
Richard Roberts 444c7fccf1 Moving discrete files into gtsam 2012-04-15 22:35:28 +00:00