Commit Graph

4292 Commits (133dd1cae555330ef845205243a1a99768da9e6c)

Author SHA1 Message Date
Alex Cunningham 4865f1a64d Added more serialization functionality to noiseModel, but SharedGaussians segfault on test, so tests for Nonlinear graphs are commented out 2011-02-23 05:19:07 +00:00
Chris Beall f7e30a5d52 added missing include 2011-02-22 00:32:26 +00:00
Richard Roberts 1c27b1021f Removed incorrect dynamic_pointer_cast that caused a compile error for non-virtual derived factors. 2011-02-18 22:10:21 +00:00
Alex Cunningham 299ce59c61 Used Boost.MPL to make the char value from a TypedSymbol available as a type to templated functions/classes 2011-02-18 19:57:19 +00:00
Julian Straub 02fe443b44 fixed bug when reorder/relinearize is called with no factors 2011-02-16 22:59:09 +00:00
Alex Cunningham ff0cb3eafb Added convenience constructor for Rot3 2011-02-16 13:34:36 +00:00
Richard Roberts 7212d65d8c Updated BayesNet documentation. 2011-02-15 17:45:07 +00:00
Richard Roberts 62b3db9535 Documentation for FactorBase, ConditionalBase, IndexFactor, IndexConditional 2011-02-15 16:22:35 +00:00
Richard Roberts 09f25edcbb Fixed warnings, comments, and removed redundant debug code in Cholesky 2011-02-15 15:21:09 +00:00
Alex Cunningham a5e14f2c47 Changed default solver to use QR instead of Cholesky 2011-02-15 14:07:20 +00:00
Richard Roberts b0c5173bcf Debug flags unit test and fixed macros 2011-02-15 00:36:29 +00:00
Richard Roberts 71007d4550 Debugging switches in timing statements, and additional timing statements 2011-02-14 17:02:50 +00:00
Alex Cunningham be6bec2630 fixed constness bug in NonlinearISAM marginals 2011-02-12 18:08:21 +00:00
Alex Cunningham 61d3d30f3b Added a marginalCovariance function directly to NonlinearISAM 2011-02-11 22:23:42 +00:00
Alex Cunningham d8f05f78ff Added marginal function to GaussianISAM, renamed and added comments to bayes tree 2011-02-11 22:08:07 +00:00
Alex Cunningham 9f4661544f VariableIndex is now constructed at the creation of a NonlinearOptimizer and passed in at solver creation. 2011-02-10 16:51:56 +00:00
Alex Cunningham 7407843214 Reworked nonlinear optimizer so that it only uses a solver member variable if you are using spcg. SPCG may be broken at this point, and its member variable will be removed soon. 2011-02-10 16:01:29 +00:00
Alex Cunningham 06b08c6f85 Fixed bug with shared solvers in recursive LM nonlinear optimizer 2011-02-10 16:01:28 +00:00
Richard Roberts 7404f78bc1 Added "FastVector", an std::vector using a boost pool_allocator 2011-02-10 01:52:01 +00:00
Richard Roberts 312867ed41 Timing previously-hidden cost of constructing VariableIndex in JunctionTree 2011-02-09 16:22:56 +00:00
Richard Roberts 010c9b3b1c Extra assertion 2011-02-08 18:25:20 +00:00
Richard Roberts 5b3000fe0a More use of FastList, FastSet 2011-02-08 01:36:51 +00:00
Richard Roberts 12664813d4 Avoiding extra work of converting from JacobianFactor to HessianFactor, instead updating HessianFactor directly 2011-02-07 22:30:31 +00:00
John Rogers 8e27acf27a Removing some typename keywords which are not allowed on my compiler g++ 4.4.5 2011-02-07 17:47:56 +00:00
John Rogers 190a612086 Temporarily overriding the FastMap use in LieValues so that LieValues can be serialized properly 2011-02-07 17:12:53 +00:00
Richard Roberts 06db4ac770 Optimized version of symbolic elimination 2011-02-07 16:39:37 +00:00
John Rogers 5abe56aaab Changed serialization of FastMap to correctly chain the base Map class serialization included with boost::serialization 2011-02-07 16:23:06 +00:00
Richard Roberts fff86f98b5 Optimizations converting JacobianFactor to HessianFactor (i.e. forming A^T * A) 2011-02-07 06:09:16 +00:00
Richard Roberts cd27192ade Indented timing printout 2011-02-07 06:08:14 +00:00
Richard Roberts 0339a33de0 Using Eigen to combine HessianFactors 2011-02-07 02:49:58 +00:00
Richard Roberts ab3dd665a5 Min/max times are now per time step, not per timing function call, to help identify the cause for costly steps. tictoc_finishedIteration() signals the end of a time step. 2011-02-06 20:38:51 +00:00
Richard Roberts 0648605f2f Dense Cholesky solving now uses Eigen 2011-02-06 19:42:15 +00:00
Alex Cunningham 719e851643 Added a functional version of LM optimization for comparison 2011-02-06 04:13:32 +00:00
Richard Roberts ea2f0e10e1 Improved timing statements 2011-02-04 22:31:12 +00:00
John Rogers 8bec3821df Added serialization support for FastMap so that LieValues can be serialized. 2011-02-04 20:48:16 +00:00
Alex Cunningham 251d83b41a Disabled unit test for serialization of Values, as FastMap does not have serialization 2011-02-04 05:45:42 +00:00
Richard Roberts 24b5ab7439 Back to using FastList 2011-02-04 04:52:22 +00:00
Richard Roberts bdbc09ba42 Added GaussianFactorGraph::sparseJacobian function to create a sparse Jacobian matrix suitable for Matlab 2011-02-04 03:56:47 +00:00
Alex Cunningham 900227234f added an accessor for the nonlinear graph in NonlinearOptimizer 2011-02-04 03:39:45 +00:00
Alex Cunningham 752e812895 Fixed a bug in the expm function that assumed a fixed matrix size 2011-02-04 03:32:39 +00:00
Richard Roberts 78b0fa054c Properly handling zero range in Pose2::bearing, Pose2::range, and Rot2::relativeBearing. Also debugging check for normalized matrix in Pose2::between 2011-02-04 03:32:27 +00:00
Richard Roberts 62f716002a Further cleanup of fast_pool_allocator 2011-02-04 03:10:29 +00:00
Richard Roberts 31ffd3877f Cleaned up use of fast_pool_allocator to gtsam::FastMap, List, and Set instead 2011-02-04 02:56:12 +00:00
Richard Roberts 7dac32c53b Fix in debugging code 2011-02-04 02:46:23 +00:00
Richard Roberts b73af0159d Adding debugging code from branch in case problems reoccur, will clean this out in the future because it makes the code ugly 2011-02-04 02:40:23 +00:00
Richard Roberts a67d974254 Only check for non-finite values when debugging 2011-02-04 02:38:55 +00:00
Richard Roberts a208515055 Made zero thresholds in Cholesky smaller to fix failing unit test 2011-02-04 02:38:35 +00:00
Richard Roberts 689adead55 Using granular debugging flags, fixed code comment 2011-02-04 02:36:14 +00:00
Richard Roberts 161058e402 Added debug check for non-finite values and replace memset with std::fill 2011-02-04 02:34:03 +00:00
Richard Roberts f89262bd13 Option to use careful Cholesky instead of lapack Cholesky, more debug checks in Cholesky, and addional use of ublas instead of regular blas. 2011-02-04 01:05:52 +00:00