Commit Graph

496 Commits (411e9343856c65c06cfd5e54fe3f7ae75de3c76c)

Author SHA1 Message Date
Richard Roberts 375f7c16e6 Working on fixing ISAM 2013-08-06 19:56:48 +00:00
Richard Roberts b823354e44 Exclude null factors from remaining factors when building elimination tree 2013-08-06 18:21:54 +00:00
Alex Cunningham cee0a234ac Fixing compile problems 2013-08-06 17:50:50 +00:00
Alex Cunningham dde245ef3b Merging 2013-08-06 17:50:49 +00:00
Alex Cunningham db287b0d73 Fixing compile problems 2013-08-06 17:50:47 +00:00
Richard Roberts 1424c01fa9 Renamed all typedefs of specific EliminationTraits to EliminationTraitsType to avoid name problem on GCC 2013-08-06 17:09:20 +00:00
Richard Roberts b6c404ff79 Fix in BayesTree shortcuts 2013-08-06 16:10:12 +00:00
Richard Roberts 61fe49ab7e Added EliminateableFactorGraph::marginal and eliminatePartialSequential with vector of keys instead of ordering 2013-08-06 16:10:11 +00:00
Richard Roberts 8bd19e5ef8 Added Ordering::COLAMDConstrainedFirst function 2013-08-06 16:10:08 +00:00
Richard Roberts e39d100b6a Made most global unit tests compile, includes dogleg, iterative, kalman filter, etc 2013-08-06 13:44:22 +00:00
Richard Roberts 09643929fd Making some tests compile 2013-08-05 22:31:26 +00:00
Richard Roberts 0e80fe6418 Moved ordering tests, fixed serialization and constructors, to make all inference, symbolic, and linear tests pass 2013-08-05 22:31:09 +00:00
Richard Roberts 5eb7613f5c Started to fix errors resulting from removing Ordered classes 2013-08-02 22:09:49 +00:00
Richard Roberts be0b27a003 Removed obsolete Ordered classes and unit tests that have already been converted 2013-08-02 22:09:40 +00:00
Richard Roberts 1f6ca330ee Cleanups 2013-08-02 22:09:30 +00:00
Richard Roberts afb8a9aa1b Using 1 thread for now for profiling 2013-08-01 21:57:59 +00:00
Richard Roberts 12de12f045 Added Ordering::COLAMDConstrained and more detailed comments on other COLAMD functions 2013-08-01 21:57:22 +00:00
Richard Roberts 4ea83e8939 Added FactorGraph += for plain const ref to shared_ptr of same type 2013-08-01 21:57:21 +00:00
Richard Roberts 79a3b8dd30 Derive BayesTreeOrphanWrapper from conditional instead of factor 2013-08-01 21:57:18 +00:00
Richard Roberts 60d5feb5cf Working on ISAM 2013-07-29 23:56:04 +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
Richard Roberts 5746dedacb Enabled and made GaussianBayesTree unit tests pass 2013-07-29 23:54:38 +00:00
Richard Roberts a7540a7305 Removed unused code 2013-07-27 18:35:31 +00:00
Richard Roberts 619c772a80 Updated and made removeTop unit tests pass 2013-07-27 18:33:43 +00:00
Richard Roberts 594c0412cb Adjusted parameters 2013-07-27 18:33:42 +00:00
Richard Roberts 1ee51fb6f5 A couple cleanups 2013-07-26 21:03:10 +00:00
Richard Roberts d3afcf9770 Changed parameter 2013-07-26 18:00:36 +00:00
Richard Roberts 3118f6bb9f JunctionTree keeps track of "problem size" at each node 2013-07-26 01:10:16 +00:00
Richard Roberts 0b13c437fe Updated print functions 2013-07-26 01:10:12 +00:00
Richard Roberts c788c525ea Added timing statements in new code 2013-07-23 18:34:23 +00:00
Richard Roberts 65657916ab SymbolicBayesTreeUnordered shortcut and marginal unit tests pass 2013-07-23 16:14:56 +00:00
Richard Roberts aef3ba5e56 Fixed bug in COLAMD ordering (unordered branch) 2013-07-23 03:53:00 +00:00
Richard Roberts a28b9152e6 Fixed BayedTreeUnordered copying, a few small bugs 2013-07-23 02:17:11 +00:00
Richard Roberts 472f246b97 Combined changes - fixed up push_back and += functions in FactorGraphUnordered, enabled BayesTree marginals/shortcut code and unit tests, and cleaned up other template arguments, etc. 2013-07-23 02:17:09 +00:00
Richard Roberts 25de39c481 Added typedef 2013-07-23 02:17:04 +00:00
Richard Roberts b0f0c71d01 Added constrained COLAMD functions 2013-07-23 02:17:03 +00:00
Richard Roberts 38c1066750 Readded BayesTree operator[] 2013-07-23 02:17:01 +00:00
Richard Roberts 6842f4a13b Made argument order in elimination functions consistent 2013-07-17 03:13:26 +00:00
Richard Roberts b857dab6a9 Renamed unit tests already converted to 'Obsolete' 2013-07-17 03:13:00 +00:00
Richard Roberts dae249be2e Tweak with push_back 2013-07-16 20:22:04 +00:00
Richard Roberts 3f73d7801c Fixed eliminating empty graph 2013-07-16 20:22:02 +00:00
Richard Roberts 132cc2ea72 Fixes in EliminateableFactorGraph header 2013-07-16 20:22:01 +00:00
Richard Roberts 333903c4aa Fixed factor graph construction and push_back from iterators and containers over plain and shared_ptr objects 2013-07-16 17:37:08 +00:00
Richard Roberts e9f30660b3 Fixing constructors and unit tests 2013-07-16 03:57:32 +00:00
Richard Roberts c954b87441 Interface tweaks 2013-07-16 00:33:25 +00:00
Richard Roberts 82df8193b6 Changed back to single-threaded elimination for now, until the code is optimized 2013-07-12 22:27:52 +00:00
Richard Roberts 3d62299789 Fixed bugs and compile errors for elimination and back-sub 2013-07-09 17:50:51 +00:00
Richard Roberts db8fcfaa4f Switched to parallel elimination 2013-07-09 17:50:49 +00:00
Richard Roberts 74c503faaa Formatting 2013-07-09 17:50:42 +00:00
Richard Roberts 40bf395856 Serialization fix 2013-07-09 17:50:40 +00:00
Richard Roberts 9bdc5f1113 Small cleanups and fixes in included header files, functions in header file vs cpp/inst file, formatting, private/public, and inheritance. 2013-07-09 17:50:38 +00:00
Richard Roberts b0836ac57c Commented out Hessian, cholesky, and gradient code so that library compiles 2013-07-09 17:50:32 +00:00
Richard Roberts 21f8079924 Standardizing interfaces 2013-07-08 01:33:43 +00:00
Richard Roberts ed6a077e9e Made FactorGraph equals protected since it should be overridden 2013-07-05 20:45:56 +00:00
Richard Roberts 79ce96dceb Cleanups in BayesTree and SymbolicBayesTree 2013-07-02 14:54:20 +00:00
Richard Roberts 4fa8332c77 Fixed errors and warnings in new unordered code 2013-07-01 20:19:41 +00:00
Richard Roberts 67f3109e75 Fixed warnings in preexisting code 2013-07-01 20:19:36 +00:00
Richard Roberts 5cc13abbf1 Fixed size_t/Key/Index types 2013-07-01 20:19:31 +00:00
Richard Roberts 878f87fd25 Added invert to OrderingUnordered 2013-07-01 20:19:29 +00:00
Richard Roberts 115768abc6 Comment formatting 2013-06-28 18:14:04 +00:00
Richard Roberts 317ce7ada5 Finished elimination traits class 2013-06-28 18:14:03 +00:00
Richard Roberts 7b3ef381c1 Starting to add elimination traits class 2013-06-27 23:03:38 +00:00
Richard Roberts b9016adbd6 Tweaks to factor constructors and other small cleanups 2013-06-27 23:03:36 +00:00
Richard Roberts 99b1ab4754 Added FactorGraph constructor from BayesTree in unordered code. Made FactorGraph += operator templated so can += any type that works with push_back. 2013-06-24 19:30:18 +00:00
Richard Roberts 9882d8b34e public addClique function 2013-06-24 19:30:15 +00:00
Richard Roberts 9e373437a7 Removed unused BayesTreeCliqueDefault 2013-06-24 19:30:12 +00:00
Richard Roberts 123657e3d0 Merged from branch 'trunk' 2013-06-24 15:28:16 +00:00
Alex Cunningham 12d083e476 Added serialize() 2013-06-20 17:08:31 +00:00
Richard Roberts d85a437c90 public/protected/private visibility fixes and fixes with base/derived classes 2013-06-17 21:16:08 +00:00
Richard Roberts 642eca5fc5 Added partial sequential and multifrontal elimination and const fixes 2013-06-17 21:16:06 +00:00
Richard Roberts 8f9d5ec2e2 Merge branch 'trunk' 2013-06-17 21:15:57 +00:00
Alex Cunningham 23b326824a Added actual check to a test 2013-06-11 20:26:34 +00:00
Alex Cunningham ee21ef61a6 Added exists() to FactorGraph to allow for checking whether a factor exists at a given index. Necessary for matlab interface. 2013-06-06 18:07:55 +00:00
Richard Roberts 71dd480b95 Fixed bug in JunctionTree construction with merging the wrong children - cleaned up some unit tests and added a sequential elimination ASIA test. 2013-06-06 15:36:58 +00:00
Richard Roberts 7f3d62eccd Copied over all existing inference and symbolic unit tests that should now be symbolic. More work on multifrontal elimination. 2013-06-06 15:36:55 +00:00
Richard Roberts ec2df2df3c More work on elimination and BayesTree 2013-06-06 15:36:51 +00:00
Richard Roberts f2fbd14f96 More work on BayesTree, replaced some print functions with generic tree print, moved Key, and some formatting fixes. 2013-06-06 15:36:43 +00:00
Richard Roberts d11833317f Adding elimination algorithms to factor graph eliminateable base class 2013-06-06 15:36:38 +00:00
Richard Roberts 626d66bdf4 Working on BayesTreeUnordered 2013-06-06 15:36:37 +00:00
Richard Roberts 3c7558d4be Created BayesTreeUnordered 2013-06-06 15:36:35 +00:00
Richard Roberts 12ba0351d0 Using CloneForest in EliminationTree and JunctionTree 2013-06-06 15:36:33 +00:00
Richard Roberts fb3dc0778d Removed cvsignore in svn 2013-06-06 15:36:25 +00:00
Richard Roberts bbad690f65 Working on JunctionTree elimination / BayesTree 2013-06-06 15:36:24 +00:00
Richard Roberts b4d282f67e Started implementing junction tree construction 2013-06-06 15:36:21 +00:00
Richard Roberts 5b1ac91c85 Converted elimination and printing of elimination trees to use generic DFS code 2013-06-06 15:36:20 +00:00
Richard Roberts df728a969c In the middle of converting to generic DFS code but committing to save history 2013-06-06 15:36:18 +00:00
Richard Roberts 7dfd999673 Changed order of conditionals created during elimination. Added unit test for disconnected graphs 2013-06-06 15:36:13 +00:00
Richard Roberts 9bd7af848c Fixed remaining problems in elimination 2013-06-06 15:36:12 +00:00
Richard Roberts d5e721a1d0 Continued work on unordered classes and elimination algorithm 2013-06-06 15:36:11 +00:00
Richard Roberts 5d05737798 Continued work on unordered classes and elimination algorithm 2013-06-06 15:36:02 +00:00
Richard Roberts ffc55ad026 Added a bunch of Unordered classes, elimination algorithm in progress 2013-06-06 15:35:58 +00:00
Alex Cunningham 228a26947f Removed checkConsistency() from BayesTree 2013-05-22 17:27:44 +00:00
Alex Cunningham 15fb7234e6 Added check to prevent trying to add disconnected factors in iSAM1 2013-05-22 17:27:43 +00:00
Alex Cunningham 41b0b90376 Added nrNodes() and checkConsistency() to BayesTree 2013-05-22 17:27:42 +00:00
Richard Roberts e6993668ef Disabled extra debug-mode consistency checks that may affect runtime complexity, these are now only enabled when GTSAM_EXTRA_CONSISTENCY_CHECKS is defined 2013-05-20 17:26:53 +00:00
Stephen Williams 07c4c95f18 Added serialization unit tests for binary files 2013-05-08 13:23:46 +00:00
Richard Roberts eeef9eab32 Generating config.h file in CMake with quaternion mode flag, dataset paths. Also added CMake option to use system-installed Eigen, which works by generating a global eigen include file containing the corresponding include paths. 2013-04-25 15:57:15 +00:00
Richard Roberts 547323cc79 Fixed a bunch of compiler warnings 2013-04-05 21:34:04 +00:00
Richard Roberts 18f417581a Changed missed std::list to FastList iterator 2013-04-05 21:33:58 +00:00
Richard Roberts 67e36febf2 Added DLL export annotations on new code 2013-04-01 19:29:53 +00:00