Commit Graph

37 Commits (aab6af3368ead2be9ef0aa885de5a4777e0c79a4)

Author SHA1 Message Date
Varun Agrawal aab6af3368 replace boost::function with std::function 2022-07-03 11:09:46 -04:00
Varun Agrawal 8482cee10b improvements made during the old hybrid scheme implementation 2022-06-03 13:53:25 -04:00
Varun Agrawal 039ecfc3c3 add new visitLeaf method that provides the leaf as the function argument 2022-03-31 10:03:23 -04:00
Varun Agrawal d5d5ecc3b3 refactor DecisionTree to make a distinction between leaves and assignments 2022-03-31 06:10:40 -04:00
Varun Agrawal d5cc4554db add new nrLeaves method for DecisionTree 2022-03-24 14:35:50 -04:00
Varun Agrawal a7f65c21bb New apply method which takes op with Assignment 2022-03-19 12:56:06 -04:00
Frank Dellaert fa1cde2f60 Added cautionary notes about fold/visit 2022-01-22 14:53:20 -05:00
Frank Dellaert d0ff3ab97e Fix most lint errors 2022-01-22 14:52:32 -05:00
Frank Dellaert deae4499a1 remove export, typo 2022-01-22 11:07:09 -05:00
Frank Dellaert b453152f3e Use template parameter for functions, enables auto
# Conflicts:
#	gtsam/discrete/DecisionTree-inl.h
#	gtsam/discrete/DecisionTree.h
2022-01-03 23:56:18 -05:00
Frank Dellaert 5de3dc42bd visit and visitWith 2022-01-03 23:50:58 -05:00
Frank Dellaert 15850333b4 Straight-up depth-first fold method
# Conflicts:
#	gtsam/discrete/tests/testDecisionTree.cpp
2022-01-03 23:50:43 -05:00
Frank Dellaert 6cd3eeb692 Some small doc changes 2022-01-03 11:07:28 -05:00
Varun Agrawal 022b719560 Undo DefaultFormatter change 2022-01-03 09:50:46 -05:00
Varun Agrawal cfb6011560 replace typedef with using and improve docstrings 2022-01-03 00:04:06 -05:00
Varun Agrawal a9b2c32669 Move DefaultFormatter to base class and add defaults. Also replace Super with Base and add using. 2022-01-02 23:45:01 -05:00
Frank Dellaert 6c23fd1e86 Renamed protected method convert -> convertFrom 2022-01-02 18:08:45 -05:00
Frank Dellaert db3cb4d9ac Refactor print, equals, convert 2022-01-02 16:41:30 -05:00
Frank Dellaert 78f8cc948d Define empty and check for it in apply variants 2022-01-02 16:41:13 -05:00
Frank Dellaert 7f3f332d09 Removed copy/paste convert 2022-01-02 16:41:04 -05:00
Varun Agrawal 731cff746b rename comparator to compare and capture tol in the function lambda.
# Conflicts:
#	gtsam/hybrid/DCMixtureFactor.h
2022-01-02 16:40:24 -05:00
Varun Agrawal 26c48a8c1f address more review comments
# Conflicts:
#	gtsam/hybrid/DCGaussianMixtureFactor.h
#	gtsam/hybrid/DCMixtureFactor.h
2022-01-02 16:39:50 -05:00
Varun Agrawal b24da8399a add comparator as argument to equals method
# Conflicts:
#	gtsam/hybrid/DCMixtureFactor.h
2022-01-02 16:38:56 -05:00
Varun Agrawal ed839083e2 formatter passed as reference and added a default formatter method 2022-01-02 16:38:18 -05:00
Varun Agrawal bb6e489c37 new DecisionTree constructor and methods that takes an op to convert from one type to another
# Conflicts:
#	gtsam/hybrid/DCMixtureFactor.h
2022-01-02 16:36:27 -05:00
Varun Agrawal ddaf9608d0 add formatting capabilities to DecisionTree 2022-01-02 16:34:54 -05:00
Varun Agrawal 94f21358f4 fix decision tree equality and move default constructor to public 2022-01-02 16:34:30 -05:00
Frank Dellaert 598c81f38f
Merge pull request #975 from borglab/fix/warnings 2021-12-20 22:53:27 -05:00
Varun Agrawal af598abc04 add class-level GTSAM_EXPORT 2021-12-20 21:13:57 -05:00
Frank Dellaert 81b9724225 Added dot methods 2021-12-17 17:12:44 -05:00
Varun Agrawal dc8b5e58ff replaced boost with std for placeholders, bind and function 2021-07-10 21:01:20 -04:00
Frank Dellaert 7f9036386c Targets and comments only 2013-10-25 05:58:32 +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
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +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