Commit Graph

7240 Commits (d62033a856f4e78ce0625ff9dd43539d30e39a2a)

Author SHA1 Message Date
Frank Dellaert 3ea5aed26e html for all graphs 2022-01-09 11:42:56 -05:00
Frank Dellaert a7b7a8b0fa Working html for conditionals 2022-01-09 10:20:59 -05:00
Frank Dellaert e8127792f2 Refactor of markdown 2022-01-09 09:10:08 -05:00
Frank Dellaert bd53a0a6d9 Remove styling: use css 2022-01-09 08:24:06 -05:00
Frank Dellaert 9087d3d81b Initial attempt at html 2022-01-09 08:19:44 -05:00
lcarlone c407609b8f moved invDepth-related variables 2022-01-08 20:27:27 -05:00
lcarlone 3ef6974235 added robustness to triangulation 2022-01-08 20:25:00 -05:00
Varun Agrawal 79cb4d067f undo deprecation in BayesTree until later 2022-01-07 12:40:49 -05:00
Fan Jiang 3fe3a47221 Address comments 2022-01-07 10:39:11 -05:00
Fan Jiang f7f208e0f5 remove Potentials.cpp 2022-01-06 20:12:10 -05:00
Fan Jiang f65bd4d90d Remove Potentials 2022-01-06 20:10:03 -05:00
Frank Dellaert 6f2c9f3815 Added tests 2022-01-04 18:40:32 -05:00
Frank Dellaert 541127f855 Fix segfault when showZero==false 2022-01-04 18:40:08 -05:00
Frank Dellaert 17e3955c05 Fix small bug with names not being passed if no parents 2022-01-04 13:15:08 -05:00
Frank Dellaert 7f87a4c722 Avoid internal warnings with GTSAM_ALLOW_DEPRECATED_SINCE_V42 ON 2022-01-04 10:44:31 -05:00
Frank Dellaert 40e3b0ff0d Use make-shared where possible 2022-01-04 10:43:02 -05:00
Frank Dellaert 517fe3963e Fix compile issues on Ubuntu/windows 2022-01-04 10:42:54 -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 53b4053c20
Merge pull request #1001 from borglab/feature/markdown_values 2022-01-03 19:11:10 -05:00
Frank Dellaert 15742270de
Merge pull request #1000 from borglab/feature/decison_tree 2022-01-03 17:57:59 -05:00
Frank Dellaert 0631193415 Added test and fixed constructor 2022-01-03 12:06:35 -05:00
Frank Dellaert 9d6f9f647a Address comments 2022-01-03 11:13:32 -05:00
Frank Dellaert 6cd3eeb692 Some small doc changes 2022-01-03 11:07:28 -05:00
Frank Dellaert cf50d10fab Added more GTSAM_DEPRECATED directives 2022-01-03 10:32:55 -05:00
Frank Dellaert 754d03696d Undo changes in 3dparty 2022-01-03 10:27:42 -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 174490eb51 kill commented out code 2022-01-02 23:49:47 -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 53a6523943 Fixed issues with sample 2022-01-02 23:23:51 -05:00
Frank Dellaert fca23e0559 italicized parent values 2022-01-02 22:38:39 -05:00
Frank Dellaert c51bba81d8 Fix sample() 2022-01-02 22:30:26 -05:00
Frank Dellaert 8eb623b58f Added an optional names argument for discrete markdown renderers 2022-01-02 21:34:22 -05:00
Frank Dellaert 636425404d Fix compile error on windows 2022-01-02 19:57:07 -05:00
Frank Dellaert 6c23fd1e86 Renamed protected method convert -> convertFrom 2022-01-02 18:08:45 -05:00
Frank Dellaert 5c4038c7c0 Fixed dot to have right arguments 2022-01-02 18:08:09 -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 9982057a2b undo dot changes 2022-01-02 16:38:29 -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 573d0d1773 undo change to test 2022-01-02 16:38:10 -05:00
Varun Agrawal 1c76de40d1 minor fix 2022-01-02 16:37:44 -05:00
Varun Agrawal f1dedca2b7 replace dot with DOT to prevent collision with vector dot product 2022-01-02 16:37:37 -05:00
Varun Agrawal 28071ed23d added SFINAE methods for Leaf node equality checks 2022-01-02 16:37:20 -05:00
Varun Agrawal 315b10bb96 minor format 2022-01-02 16:37:08 -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 8b5d93ad37 revert incorrect change 2022-01-02 16:35:20 -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 a25e3f6d38 Remove deprecated methods from wrapper 2022-01-02 16:23:56 -05:00
Frank Dellaert 906176291f Fix everything to work with no deprecated methods allowed. 2022-01-02 16:19:17 -05:00
Frank Dellaert 6d0c55901c Global replace to V42 2022-01-02 15:49:47 -05:00
Frank Dellaert a38de28535 Tested python wrapper without Lie* 2022-01-02 15:00:49 -05:00
Frank Dellaert 70092ca18a Remove Deprecated Lie* classes 2022-01-02 14:43:48 -05:00
Frank Dellaert 09573a36c9 Moved empty to Factor base class. 2021-12-31 16:16:56 -05:00
John Lambert fa38b297af forece nonnegative scale for Sim(3) 2021-12-30 12:50:26 -05:00
Frank Dellaert fceb65a908 Fix wrap of subgraph 2021-12-30 12:32:35 -05:00
Frank Dellaert 910f879a0b Fix compilation issues 2021-12-30 12:18:49 -05:00
Frank Dellaert c659336cf8 Removed shared_ptr from Bayes nets and factor graphs 2021-12-30 12:12:54 -05:00
Frank Dellaert 00f8d90223 Fix ambiguity 2021-12-30 10:30:02 -05:00
Frank Dellaert a6ea6f9153 single-value sample() 2021-12-28 17:49:18 -05:00
Frank Dellaert 340ac7569d Removed 2 and 3 key constructors for DecisionTreeFactor because wrapper is awesome! 2021-12-28 13:00:14 -05:00
Frank Dellaert 93e9756ef0 Removed all specialized constructors, because wrapper is awesome! 2021-12-28 09:47:18 -05:00
Frank Dellaert 911819c7f2 enumerate 2021-12-27 13:55:11 -05:00
Frank Dellaert 457d074858 likelihood 2021-12-27 13:01:29 -05:00
Frank Dellaert dbe5c0fa81 Allow a vector of doubles for single-variable factors 2021-12-26 23:42:12 -05:00
Frank Dellaert 34c3d6af5e Replaced add variants with single variadic template 2021-12-26 23:14:35 -05:00
Frank Dellaert 5882847604 Specialized DecisionTreeFactor constructors 2021-12-26 23:14:22 -05:00
Frank Dellaert 1d12995be5 Add no-argument solve and sample to DiscretePrior 2021-12-26 18:23:48 -05:00
Frank Dellaert 075a7cd0fd markdown that renders better on github/pages 2021-12-26 18:03:17 -05:00
Frank Dellaert 3339517340 Additional DiscreteConditional constructors to support wrapper. 2021-12-26 16:54:21 -05:00
Frank Dellaert a1b8f52da8 Wrap single-argument methods 2021-12-26 15:25:33 -05:00
Frank Dellaert 10628a0ddc cpp file 2021-12-26 15:22:57 -05:00
Frank Dellaert 4bc7b0ba85 single argument variants 2021-12-26 15:21:02 -05:00
Frank Dellaert 4727783304 Wrap DiscretePrior 2021-12-26 14:11:46 -05:00
Frank Dellaert 268a49ec1c DiscretePrior class 2021-12-26 14:11:35 -05:00
Frank Dellaert 6b9a4969b9 Fix some typos 2021-12-26 13:59:33 -05:00
Frank Dellaert 44d66ddbe1 Fix test 2021-12-25 16:46:31 -05:00
Frank Dellaert 6225700bb7 Fix missing argument 2021-12-25 14:12:43 -05:00
Frank Dellaert c27cd7a2e8 switch formatter and writer arguments 2021-12-25 13:51:13 -05:00
Frank Dellaert 38f0a40fbc Fix markdown names (that somehow reverted) 2021-12-25 10:46:49 -05:00
Varun Agrawal 2422e113ca replace _repr_markdown_ with markdown 2021-12-25 09:33:04 -05:00
Frank Dellaert 00c4af16ec markdown for DiscreteBayesTree 2021-12-24 14:34:47 -05:00
Frank Dellaert 1ab8a23792 Made parent-less vertical, like a factor 2021-12-24 14:33:08 -05:00
Frank Dellaert 042cb9d902 markdown for DiscreteFactorGraph 2021-12-24 13:27:02 -05:00
Frank Dellaert edadd352af markdown for Bayes nets 2021-12-24 13:25:19 -05:00
Frank Dellaert 3bdb585185 Push fix for windows 2021-12-24 11:48:25 -05:00
Frank Dellaert 839679eb7d More sophisticated markdown 2021-12-24 11:15:34 -05:00
Frank Dellaert 791e04e9f3 Expose key formatter in wrapper 2021-12-24 08:17:52 -05:00
Frank Dellaert a6e842d9da Fix compilation issues 2021-12-24 08:17:52 -05:00
Frank Dellaert ff730a7184 Added conditional markdown formatter 2021-12-24 08:17:52 -05:00
Frank Dellaert c5e6650d67 Add formatter 2021-12-24 08:17:52 -05:00
Frank Dellaert c6925987e1 Added print with keyformatter 2021-12-24 08:17:52 -05:00
Frank Dellaert 1eb27ed90a Formatting, unused variable 2021-12-24 08:17:52 -05:00
Frank Dellaert a27437690c Create markdown representation in DTFactor 2021-12-24 08:17:52 -05:00
Frank Dellaert b098b77fe7 Better Bayestree wrapping 2021-12-23 17:47:01 -05:00
Frank Dellaert 8291b31cb5
Merge pull request #969 from PeterQFR/barometric_factor 2021-12-21 12:41:06 -05:00
Varun Agrawal 86039bf282
Merge pull request #976 from borglab/fix/spherical-camera 2021-12-21 06:35:41 -05:00
Frank Dellaert 598c81f38f
Merge pull request #975 from borglab/fix/warnings 2021-12-20 22:53:27 -05:00
Frank Dellaert 168a67da05
Merge pull request #971 from borglab/feature/notebook_dot 2021-12-20 22:43:54 -05:00
Varun Agrawal d42044f22e initialize all EmptyCal shared pointers 2021-12-20 21:19:54 -05:00
Varun Agrawal 8ddfd8135b use passed in calibration for initialization and add EmptyCal serialization 2021-12-20 21:19:26 -05:00
Varun Agrawal 384494dd8b remove unnecessary instantiations 2021-12-20 21:14:11 -05:00
Varun Agrawal af598abc04 add class-level GTSAM_EXPORT 2021-12-20 21:13:57 -05:00
Varun Agrawal e8e4bea84c add alignment macro and modernize typedefs 2021-12-20 17:57:24 -05:00
peterQFR cc5c5c06ea Apply google format 2021-12-21 08:41:47 +10:00
peterQFR 66c8ca4af0 Use translation method to get jacobian for pose in pose coordinates 2021-12-21 08:33:09 +10:00
Varun Agrawal 1af040b9d1 fix axpy warning 2021-12-20 16:52:46 -05:00
Frank Dellaert e6ca595921 fixed method naming convention 2021-12-20 00:48:40 -05:00
Frank Dellaert cab0dd0fa1 GraphvizFormatting refactor
- separate file
- inherit from DotWriter
- made dot/dot/saveGraph the pattern
- deprecated saveGraph(ostream) method
2021-12-20 00:27:40 -05:00
Frank Dellaert a5351137ab Show factor graph in notebook 2021-12-20 00:26:13 -05:00
Frank Dellaert 9d2b627c09 Generic dot export with DotWriter 2021-12-20 00:04:22 -05:00
Frank Dellaert e45641e71a compilation issue 2021-12-19 22:40:18 -05:00
Frank Dellaert 74951bee33 wrap and notebook 2021-12-19 22:39:22 -05:00
peterQFR cf0830084d Apply Google Format 2021-12-20 07:24:52 +10:00
peterQFR a7f6856d6a Add non-zero tests, error 2021-12-20 06:50:29 +10:00
Frank Dellaert 46080d7d5a reversed order of nodes in dot 2021-12-19 10:20:05 -05:00
Frank Dellaert d85a1e68e4 dot methods for Bayes tree 2021-12-19 09:37:30 -05:00
Frank Dellaert 352268448c wrap and test dot method 2021-12-18 23:48:40 -05:00
Frank Dellaert d41ab8addb dot methods 2021-12-18 23:48:23 -05:00
Varun Agrawal 7d4d718c9f remove pickle declarations from interface files 2021-12-17 20:50:08 -05:00
Frank Dellaert 81b9724225 Added dot methods 2021-12-17 17:12:44 -05:00
Frank Dellaert 0bab7b00c8
Merge pull request #967 from borglab/feature/discrete_wrapper 2021-12-16 21:20:40 -05:00
peterQFR 6813e2a3fc Add Barometric Factor 2021-12-17 11:58:21 +10:00
Varun Agrawal 7401b6e0c2 Merge branch 'feature/discrete_wrapper' into feature/discrete_wrapper_2 2021-12-16 15:02:27 -05:00
Frank Dellaert 6bcd1296c0 Attempt at fixing CI issue 2021-12-16 13:54:49 -05:00
Frank Dellaert 7257797a5f Wrap () operators 2021-12-16 13:52:58 -05:00
Frank Dellaert b2e3654960 Add documentation and test for it 2021-12-16 13:52:35 -05:00
Frank Dellaert fefa99193b Add operators 2021-12-16 13:52:08 -05:00
Varun Agrawal 995e7a511f add default constructor for DiscreteKeys and minor improvements 2021-12-16 12:30:52 -05:00
Varun Agrawal e18ecc3a50
Merge pull request #959 from borglab/values/upsert
Add new insert_or_assign method to Values
2021-12-15 22:02:14 -05:00
Frank Dellaert a4dab12bb0 Wrapped and test Discrete Bayes Nets 2021-12-15 21:57:58 -05:00
Frank Dellaert 8f4b15b780 Added chooseAsFactor method for wrapper 2021-12-15 21:55:02 -05:00
Varun Agrawal 96652cad07 replace upsert with insert_or_assign 2021-12-15 17:19:13 -05:00
Frank Dellaert 4e5530b6d5 New, non-fancy constructors 2021-12-15 08:55:33 -05:00
Frank Dellaert fd7640b1b7 Simplified parsing as we moved on from this boost version 2021-12-15 07:06:13 -05:00
Frank Dellaert f59342882a Use evaluate not value 2021-12-15 06:34:46 -05:00
Frank Dellaert ebc37eeba5 Wrapped more DiscreteFactorGraph functionality 2021-12-15 06:07:20 -05:00
Frank Dellaert e22f3893c6 Added value, for wrapper 2021-12-13 19:38:07 -05:00
Frank Dellaert 44b4f21ad8 Merge branch 'feature/DiscreteValues' into feature/discrete_wrapper 2021-12-13 17:29:19 -05:00
Frank Dellaert 0694bd85cb Moved traits 2021-12-13 17:14:28 -05:00
Frank Dellaert e89a294376 Use DiscreteValues everywhere 2021-12-13 13:46:53 -05:00
Frank Dellaert c63c1167ba Added DiscreteValues file 2021-12-13 08:59:29 -05:00
Frank Dellaert 16672daf83 Merge branch 'develop' into feature/discrete_wrapper 2021-12-13 08:42:42 -05:00