5bde26a885 
								
							
								 
							
						 
						
							
							
								
								odprintf is an auxiliary function to printf for Win32 compatibility  
							
							
							
						 
						
							2009-12-02 19:37:54 +00:00  
				
					
						
							
							
								 
						
							
							
								e26acc0d8d 
								
							
								 
							
						 
						
							
							
								
								Changed nonlinear constraints to use boost.bind to handle arbitrary function objects for evaluating cost, useful for parameterizing cost functions.  
							
							
							
						 
						
							2009-12-01 19:45:47 +00:00  
				
					
						
							
							
								 
						
							
							
								c00252a8f6 
								
							
								 
							
						 
						
							
							
								
								add method combine to GaussianFactorGraph in gtsam.h  
							
							
							
						 
						
							2009-12-01 16:01:29 +00:00  
				
					
						
							
							
								 
						
							
							
								a3ce3f31c8 
								
							
								 
							
						 
						
							
							
								
								Cleanup with NonlinearConstraints to make the active() function do thresholding for inequality constraints, rather than constraint function itself.  
							
							... 
							
							
							
							testSQP now has all tests active and passing.
Added greaterThanOrEqual() for vector comparison. 
							
						 
						
							2009-11-30 17:36:34 +00:00  
				
					
						
							
							
								 
						
							
							
								1799f59388 
								
							
								 
							
						 
						
							
							
								
								Added a function for the SQPOptimizer that will iterate until convergence.  At the moment, the convergence conditions are quite simple (error below threshold or too many iterations).  The system does, however, strictly limit the number of iterations.  
							
							
							
						 
						
							2009-11-28 22:49:14 +00:00  
				
					
						
							
							
								 
						
							
							
								1525253123 
								
							
								 
							
						 
						
							
							
								
								Inequality Constraints now work in a simple obstacle-avoidance demo in testSQPOptimizer.  It should be noted that convergence conditions are still not implemented.  
							
							
							
						 
						
							2009-11-28 21:44:07 +00:00  
				
					
						
							
							
								 
						
							
							
								395e4ae3f1 
								
							
								 
							
						 
						
							
							
								
								Fixed sign issue on nonlinear constraints, so that that it is not necessary to flip the sign on the delta configs before using exmap.  
							
							
							
						 
						
							2009-11-28 21:00:09 +00:00  
				
					
						
							
							
								 
						
							
							
								0ff7e3a5d9 
								
							
								 
							
						 
						
							
							
								
								Changed interface on constraint g(x) and grad_g(x) functions to take a list of keys, so that all of the variables in a factor can be used as necessary.  Moved g(x) into base NonlinearConstraint class and some cleanup.  
							
							
							
						 
						
							2009-11-28 19:18:02 +00:00  
				
					
						
							
							
								 
						
							
							
								107c6846fb 
								
							
								 
							
						 
						
							
							
								
								Added basic inequality constraint handling to NonlinearConstraint.  Demo still in progress, but now constraints are explicitly handled as either equality or inequality constraints, with an active() function to determine if it is necessary to use the constraint.  
							
							... 
							
							
							
							Created testOrdering for new subtract() function to remove parts of an ordering. 
							
						 
						
							2009-11-28 18:35:36 +00:00  
				
					
						
							
							
								 
						
							
							
								f3e825767b 
								
							
								 
							
						 
						
							
							
								
								NonlinearConstraints now handle inactive constraints (when the state is already in the feasible region) by returning empty factors on linearization.  
							
							
							
						 
						
							2009-11-27 18:42:01 +00:00  
				
					
						
							
							
								 
						
							
							
								cf6474c99b 
								
							
								 
							
						 
						
							
							
								
								Added a graph implementation for multi-robot control systems.  Currently can only really constrain the ends of a trajectory.  
							
							... 
							
							
							
							Made a number of fixes and updates to the ControlConfig as well. 
							
						 
						
							2009-11-27 17:59:03 +00:00  
				
					
						
							
							
								 
						
							
							
								2a2e11d05d 
								
							
								 
							
						 
						
							
							
								
								Added the config and units for a robot control system example that keeps a position and velocity model of a robot's motion.  
							
							
							
						 
						
							2009-11-26 05:52:17 +00:00  
				
					
						
							
							
								 
						
							
							
								43e4c66407 
								
							
								 
							
						 
						
							
							
								
								Added more detail to VSLAM test that diverges.  
							
							
							
						 
						
							2009-11-24 16:03:57 +00:00  
				
					
						
							
							
								 
						
							
							
								d788e9833d 
								
							
								 
							
						 
						
							
							
								
								Added tests to ensure that configs will only update existing values when using exmap and not add new ones if there are more values in the delta config.  VectorConfig and VSLAMConfig both do this properly now.  
							
							
							
						 
						
							2009-11-24 15:12:59 +00:00  
				
					
						
							
							
								 
						
							
							
								e3e79e3888 
								
							
								 
							
						 
						
							
							
								
								Added lagrange access function to the SQPOptimizer  
							
							... 
							
							
							
							Added a test testSQP to try changing the initial Lagrange multiplier values to find a way around the stability problem, but there is no effect. 
							
						 
						
							2009-11-24 14:44:46 +00:00  
				
					
						
							
							
								 
						
							
							
								140e79572f 
								
							
								 
							
						 
						
							
							
								
								Added a test to testSQP to check VSLAM solution stability when the initial config is away from the ground truth.  The test without the nonlinear constraints has the same stability problem, and both the constrained and unconstrained versions are in place and disabled.  
							
							
							
						 
						
							2009-11-24 14:14:03 +00:00  
				
					
						
							
							
								 
						
							
							
								fec280db8e 
								
							
								 
							
						 
						
							
							
								
								Added a nonlinear constraint version of the stereo SQP example, but the test when the initial configuration is incorrect is not stable and the points continue moving away indefinitely.  
							
							
							
						 
						
							2009-11-24 06:39:27 +00:00  
				
					
						
							
							
								 
						
							
							
								31856ce598 
								
							
								 
							
						 
						
							
							
								
								SQPOptimizer can now do its own initialization of the Lagrange multipliers.  
							
							... 
							
							
							
							Cleaned up NonlinearConstraint 
							
						 
						
							2009-11-23 22:10:52 +00:00  
				
					
						
							
							
								 
						
							
							
								a5515d9d57 
								
							
								 
							
						 
						
							
							
								
								SQPoptimizer can now perform optimization, and has a test using the linear map-warping example.  
							
							
							
						 
						
							2009-11-23 21:25:31 +00:00  
				
					
						
							
							
								 
						
							
							
								ac315082aa 
								
							
								 
							
						 
						
							
							
								
								new example from RSS sqrtSAM in testBayesTree  
							
							
							
						 
						
							2009-11-23 20:11:10 +00:00  
				
					
						
							
							
								 
						
							
							
								0b333630e7 
								
							
								 
							
						 
						
							
							
								
								Added an SQPOptimizer class with accompanying test - currently doesn't do much  
							
							
							
						 
						
							2009-11-23 19:57:35 +00:00  
				
					
						
							
							
								 
						
							
							
								d15a7a073c 
								
							
								 
							
						 
						
							
							
								
								SymbolicFactor works in Matlab  
							
							
							
						 
						
							2009-11-23 19:45:09 +00:00  
				
					
						
							
							
								 
						
							
							
								36877532ad 
								
							
								 
							
						 
						
							
							
								
								Added ground truth for VSLAM example in testSQP  
							
							
							
						 
						
							2009-11-23 16:45:53 +00:00  
				
					
						
							
							
								 
						
							
							
								f272e2f6fe 
								
							
								 
							
						 
						
							
							
								
								Added a second smoother test  
							
							
							
						 
						
							2009-11-23 05:27:37 +00:00  
				
					
						
							
							
								 
						
							
							
								9bac438dbe 
								
							
								 
							
						 
						
							
							
								
								Play nice with BOOST_FOREACH: non-const begin/end. Also removed buggy clear().  
							
							
							
						 
						
							2009-11-23 05:27:19 +00:00  
				
					
						
							
							
								 
						
							
							
								10a8ac34ec 
								
							
								 
							
						 
						
							
							
								
								iSAM smoother test  
							
							
							
						 
						
							2009-11-23 01:16:58 +00:00  
				
					
						
							
							
								 
						
							
							
								4951a25453 
								
							
								 
							
						 
						
							
							
								
								More efficient removeTop  
							
							
							
						 
						
							2009-11-23 00:02:06 +00:00  
				
					
						
							
							
								 
						
							
							
								35af122e83 
								
							
								 
							
						 
						
							
							
								
								Added a new version of removeTop and simplified update  
							
							
							
						 
						
							2009-11-22 23:50:01 +00:00  
				
					
						
							
							
								 
						
							
							
								7d384488e3 
								
							
								 
							
						 
						
							
							
								
								BayesTree::update generalized and moved from testIncremental to BayesTree; testIncremental removed  
							
							
							
						 
						
							2009-11-22 23:35:13 +00:00  
				
					
						
							
							
								 
						
							
							
								64a43b0492 
								
							
								 
							
						 
						
							
							
								
								removeTop now does not bomb when a clique does not exist: it just does nothing  
							
							
							
						 
						
							2009-11-22 22:59:56 +00:00  
				
					
						
							
							
								 
						
							
							
								4e74edba72 
								
							
								 
							
						 
						
							
							
								
								Some simplification  
							
							
							
						 
						
							2009-11-22 22:39:32 +00:00  
				
					
						
							
							
								 
						
							
							
								ab117947d7 
								
							
								 
							
						 
						
							
							
								
								update now takes a factor graph, rather than an individual factor  
							
							
							
						 
						
							2009-11-22 22:26:24 +00:00  
				
					
						
							
							
								 
						
							
							
								a3de1df5a4 
								
							
								 
							
						 
						
							
							
								
								adding orphans assuming that the first separator key refers to the parent; GTSAM_PRINT define  
							
							
							
						 
						
							2009-11-22 21:18:31 +00:00  
				
					
						
							
							
								 
						
							
							
								198f73a05f 
								
							
								 
							
						 
						
							
							
								
								Insert conditionals straight into the topless bayesTree  
							
							
							
						 
						
							2009-11-22 18:40:55 +00:00  
				
					
						
							
							
								 
						
							
							
								32db0595f4 
								
							
								 
							
						 
						
							
							
								
								using removeTop now  
							
							
							
						 
						
							2009-11-22 18:27:14 +00:00  
				
					
						
							
							
								 
						
							
							
								952798e751 
								
							
								 
							
						 
						
							
							
								
								fixed orphans bug  
							
							
							
						 
						
							2009-11-22 18:22:17 +00:00  
				
					
						
							
							
								 
						
							
							
								9da2f16f4d 
								
							
								 
							
						 
						
							
							
								
								Removed copy/paste in unit tests  
							
							
							
						 
						
							2009-11-22 18:12:29 +00:00  
				
					
						
							
							
								 
						
							
							
								d4aaa5d114 
								
							
								 
							
						 
						
							
							
								
								Added two more removePath tests and fixed bug in removeTop. But orphan list is still incorrect.  
							
							
							
						 
						
							2009-11-22 18:06:28 +00:00  
				
					
						
							
							
								 
						
							
							
								45292f7bd6 
								
							
								 
							
						 
						
							
							
								
								Cliques implemented; unit test on orphans for removePath; bug fix in removePath/orphans  
							
							
							
						 
						
							2009-11-22 17:40:24 +00:00  
				
					
						
							
							
								 
						
							
							
								53754ccbb8 
								
							
								 
							
						 
						
							
							
								
								removeTop with one factor implemented and one test works (orphans not yet checked)  
							
							
							
						 
						
							2009-11-22 17:34:59 +00:00  
				
					
						
							
							
								 
						
							
							
								6f11c0803b 
								
							
								 
							
						 
						
							
							
								
								Cliques class  
							
							
							
						 
						
							2009-11-22 16:46:29 +00:00  
				
					
						
							
							
								 
						
							
							
								7ce62f1626 
								
							
								 
							
						 
						
							
							
								
								Some template magic and boost:tie cleared up the compile issues in removePath  
							
							
							
						 
						
							2009-11-22 16:04:51 +00:00  
				
					
						
							
							
								 
						
							
							
								4449cfd30c 
								
							
								 
							
						 
						
							
							
								
								remove_path now also returns list of orphaned subtree roots; compile problem...  
							
							
							
						 
						
							2009-11-21 23:41:43 +00:00  
				
					
						
							
							
								 
						
							
							
								82aae3c161 
								
							
								 
							
						 
						
							
							
								
								Some re-factoring (using BOOST_FOREACH to loop over string list), root is now NULL after removing root clique  
							
							
							
						 
						
							2009-11-21 21:48:10 +00:00  
				
					
						
							
							
								 
						
							
							
								1fd0404ec9 
								
							
								 
							
						 
						
							
							
								
								Cleanup in testSQP, also demoed the unary constraint, as well.  
							
							
							
						 
						
							2009-11-21 19:05:24 +00:00  
				
					
						
							
							
								 
						
							
							
								00b5b25591 
								
							
								 
							
						 
						
							
							
								
								Awesome recursive version of removePath  
							
							
							
						 
						
							2009-11-21 06:14:53 +00:00  
				
					
						
							
							
								 
						
							
							
								072846a70f 
								
							
								 
							
						 
						
							
							
								
								moved addClique and removeClique implementations to inl.h,  
							
							... 
							
							
							
							removePath takes clique argument now 
							
						 
						
							2009-11-21 06:07:46 +00:00  
				
					
						
							
							
								 
						
							
							
								286d826119 
								
							
								 
							
						 
						
							
							
								
								removed print  
							
							
							
						 
						
							2009-11-21 06:06:30 +00:00  
				
					
						
							
							
								 
						
							
							
								b113194e58 
								
							
								 
							
						 
						
							
							
								
								While watching TV :-) added some constructors for more readable tests.  
							
							
							
						 
						
							2009-11-21 04:59:50 +00:00  
				
					
						
							
							
								 
						
							
							
								a0a250750b 
								
							
								 
							
						 
						
							
							
								
								compare config  
							
							
							
						 
						
							2009-11-21 04:22:59 +00:00  
				
					
						
							
							
								 
						
							
							
								0286bc27eb 
								
							
								 
							
						 
						
							
							
								
								removePath mostly working  
							
							
							
						 
						
							2009-11-21 03:38:13 +00:00  
				
					
						
							
							
								 
						
							
							
								08f5b074a0 
								
							
								 
							
						 
						
							
							
								
								Added verbosity selector for the SQP demo to remove printouts every time it runs  
							
							
							
						 
						
							2009-11-20 14:29:11 +00:00  
				
					
						
							
							
								 
						
							
							
								715dc4474d 
								
							
								 
							
						 
						
							
							
								
								functional STL magic  
							
							
							
						 
						
							2009-11-20 14:18:26 +00:00  
				
					
						
							
							
								 
						
							
							
								d234365d53 
								
							
								 
							
						 
						
							
							
								
								involves is const  
							
							
							
						 
						
							2009-11-20 14:17:52 +00:00  
				
					
						
							
							
								 
						
							
							
								5f848f272b 
								
							
								 
							
						 
						
							
							
								
								SQP demo that moves maps into the correct reference frames is now working using the NonlinearConstraint machinery.  
							
							
							
						 
						
							2009-11-20 14:05:21 +00:00  
				
					
						
							
							
								 
						
							
							
								e440767db9 
								
							
								 
							
						 
						
							
							
								
								Use [involves], and now updating orphan list  
							
							
							
						 
						
							2009-11-20 05:23:47 +00:00  
				
					
						
							
							
								 
						
							
							
								55e85fd8a5 
								
							
								 
							
						 
						
							
							
								
								[involves] checks whether variable with that key is involved in any factor  
							
							
							
						 
						
							2009-11-20 05:14:34 +00:00  
				
					
						
							
							
								 
						
							
							
								6aba2f1c1c 
								
							
								 
							
						 
						
							
							
								
								Changed initial SQP example to use exmap using the new scaling function for VectorConfig  
							
							
							
						 
						
							2009-11-20 05:13:32 +00:00  
				
					
						
							
							
								 
						
							
							
								acfe742c29 
								
							
								 
							
						 
						
							
							
								
								Added a simple scaling function for VectorConfigs  
							
							
							
						 
						
							2009-11-20 05:10:55 +00:00  
				
					
						
							
							
								 
						
							
							
								714edb57f0 
								
							
								 
							
						 
						
							
							
								
								Basic implementation of a binary nonlinear constraint, with working linearization of a binary constraint.  
							
							
							
						 
						
							2009-11-20 03:50:48 +00:00  
				
					
						
							
							
								 
						
							
							
								ee4a066275 
								
							
								 
							
						 
						
							
							
								
								Implemented linearization and equality for unary NonlinearConstraints.  Current tests use a scalar example.  Split out implementation into a separate implementation file.  
							
							
							
						 
						
							2009-11-20 03:04:49 +00:00  
				
					
						
							
							
								 
						
							
							
								4ca1dbf325 
								
							
								 
							
						 
						
							
							
								
								generalized most of the update algorithm  
							
							
							
						 
						
							2009-11-19 23:25:03 +00:00  
				
					
						
							
							
								 
						
							
							
								429f27550c 
								
							
								 
							
						 
						
							
							
								
								Added a NonlinearConstraint and testNonlinearConstraint.  There is currently an abstract base class for constraints and a partially implemented unary constraint.  
							
							
							
						 
						
							2009-11-19 16:50:18 +00:00  
				
					
						
							
							
								 
						
							
							
								cd913566f2 
								
							
								 
							
						 
						
							
							
								
								I now use push_back to add factors to the new factor graph, and called getOrdering to compute a colamd order. I fixed the test so it checks the right order. Unfortunately colamd is a worse ordering, and the two cliques from before are merged into one.  
							
							
							
						 
						
							2009-11-19 06:37:06 +00:00  
				
					
						
							
							
								 
						
							
							
								8d8503bd99 
								
							
								 
							
						 
						
							
							
								
								constructor with three parents  
							
							
							
						 
						
							2009-11-19 06:34:28 +00:00  
				
					
						
							
							
								 
						
							
							
								b2eee54b5a 
								
							
								 
							
						 
						
							
							
								
								push_back an entire factor graph  
							
							
							
						 
						
							2009-11-19 06:34:07 +00:00  
				
					
						
							
							
								 
						
							
							
								e2a3d1cb8f 
								
							
								 
							
						 
						
							
							
								
								Fixed test  
							
							
							
						 
						
							2009-11-19 04:52:46 +00:00  
				
					
						
							
							
								 
						
							
							
								f98f49381a 
								
							
								 
							
						 
						
							
							
								
								Added an example to testSQP to use for combining graphs  
							
							
							
						 
						
							2009-11-18 21:57:59 +00:00  
				
					
						
							
							
								 
						
							
							
								d700cd2cac 
								
							
								 
							
						 
						
							
							
								
								Made some small changes to testSQP to simplify the system and improve convergence.  
							
							
							
						 
						
							2009-11-18 20:23:07 +00:00  
				
					
						
							
							
								 
						
							
							
								7fc68e2d90 
								
							
								 
							
						 
						
							
							
								
								Updated testSQP to use a real SQP implementation as separate factors on the previous problem.  SQP now works.  
							
							
							
						 
						
							2009-11-18 19:42:14 +00:00  
				
					
						
							
							
								 
						
							
							
								76d0a60b88 
								
							
								 
							
						 
						
							
							
								
								commented out all print statements  
							
							
							
						 
						
							2009-11-18 18:22:08 +00:00  
				
					
						
							
							
								 
						
							
							
								f40182518a 
								
							
								 
							
						 
						
							
							
								
								size() now returns correct nr. of cliques, not number of keys  
							
							
							
						 
						
							2009-11-18 18:05:12 +00:00  
				
					
						
							
							
								 
						
							
							
								d0efe2da5e 
								
							
								 
							
						 
						
							
							
								
								update almost correct, except for order  
							
							
							
						 
						
							2009-11-18 17:40:05 +00:00  
				
					
						
							
							
								 
						
							
							
								23031fbc04 
								
							
								 
							
						 
						
							
							
								
								convert clique into factor graph  
							
							
							
						 
						
							2009-11-18 17:28:07 +00:00  
				
					
						
							
							
								 
						
							
							
								1edcdb6f80 
								
							
								 
							
						 
						
							
							
								
								added SymbolicFactor constructor that takes a SymbolicConditional  
							
							
							
						 
						
							2009-11-18 17:27:27 +00:00  
				
					
						
							
							
								 
						
							
							
								c7e76891da 
								
							
								 
							
						 
						
							
							
								
								skeleton hardcoded version  
							
							
							
						 
						
							2009-11-18 17:03:19 +00:00  
				
					
						
							
							
								 
						
							
							
								bed219c997 
								
							
								 
							
						 
						
							
							
								
								no printout  
							
							
							
						 
						
							2009-11-18 16:32:45 +00:00  
				
					
						
							
							
								 
						
							
							
								21974f95e1 
								
							
								 
							
						 
						
							
							
								
								test for incremental update  
							
							
							
						 
						
							2009-11-18 16:31:19 +00:00  
				
					
						
							
							
								 
						
							
							
								bef2efacb7 
								
							
								 
							
						 
						
							
							
								
								fixed equals  
							
							
							
						 
						
							2009-11-18 16:30:57 +00:00  
				
					
						
							
							
								 
						
							
							
								ceed2ae17d 
								
							
								 
							
						 
						
							
							
								
								symbolic tree in testIncremental  
							
							
							
						 
						
							2009-11-18 15:37:19 +00:00  
				
					
						
							
							
								 
						
							
							
								f56bf8c79f 
								
							
								 
							
						 
						
							
							
								
								added missing include to satisfy stricter compiler; added isam test file  
							
							
							
						 
						
							2009-11-17 21:47:42 +00:00  
				
					
						
							
							
								 
						
							
							
								4f7d31986c 
								
							
								 
							
						 
						
							
							
								
								added cameraConstraint and corresponding unit test based on same 2 camera/4 landmark example, but now there are constraints on the two cameras and none of the landmarks.  
							
							
							
						 
						
							2009-11-17 17:19:54 +00:00  
				
					
						
							
							
								 
						
							
							
								e4eaae4605 
								
							
								 
							
						 
						
							
							
								
								Added equals function and serialization capability  
							
							
							
						 
						
							2009-11-17 01:19:55 +00:00  
				
					
						
							
							
								 
						
							
							
								d24846d9a0 
								
							
								 
							
						 
						
							
							
								
								fixed errors due to shared pointer change in VSLAMFactor  
							
							
							
						 
						
							2009-11-17 01:02:55 +00:00  
				
					
						
							
							
								 
						
							
							
								e312252006 
								
							
								 
							
						 
						
							
							
								
								Changed camera matrix to a shared pointer  
							
							
							
						 
						
							2009-11-17 00:51:27 +00:00  
				
					
						
							
							
								 
						
							
							
								256c094039 
								
							
								 
							
						 
						
							
							
								
								Added default constructor and Serialization  
							
							
							
						 
						
							2009-11-16 23:49:04 +00:00  
				
					
						
							
							
								 
						
							
							
								20830a1534 
								
							
								 
							
						 
						
							
							
								
								Added testSQP demo to show a simple problem solved by Sequential Quadratic Programming.  To see the outputs, set verbose=true at the start of the test.  
							
							
							
						 
						
							2009-11-16 19:12:56 +00:00  
				
					
						
							
							
								 
						
							
							
								27a47c6535 
								
							
								 
							
						 
						
							
							
								
								Constructor now takes Point2  
							
							
							
						 
						
							2009-11-13 06:19:21 +00:00  
				
					
						
							
							
								 
						
							
							
								d5ada2a80c 
								
							
								 
							
						 
						
							
							
								
								Test now succeeds after adding 3 landmark constraints  
							
							... 
							
							
							
							Also cleaned up a bit 
							
						 
						
							2009-11-13 06:19:08 +00:00  
				
					
						
							
							
								 
						
							
							
								d26abf3ccf 
								
							
								 
							
						 
						
							
							
								
								addLandmarkConstraint  
							
							
							
						 
						
							2009-11-13 06:18:27 +00:00  
				
					
						
							
							
								 
						
							
							
								309f2151cf 
								
							
								 
							
						 
						
							
							
								
								Clean-up  
							
							
							
						 
						
							2009-11-13 06:17:59 +00:00  
				
					
						
							
							
								 
						
							
							
								fe974a3e72 
								
							
								 
							
						 
						
							
							
								
								Rank test needs to be re-thought  
							
							
							
						 
						
							2009-11-13 06:17:19 +00:00  
				
					
						
							
							
								 
						
							
							
								f5fc14c0f4 
								
							
								 
							
						 
						
							
							
								
								Fixed bug in revealing rank, even simpler than before.  
							
							
							
						 
						
							2009-11-13 06:16:56 +00:00  
				
					
						
							
							
								 
						
							
							
								7c045a0802 
								
							
								 
							
						 
						
							
							
								
								Fixed compile errors due to remaining VectorConfigs, and removed div0 warning  
							
							
							
						 
						
							2009-11-13 06:15:48 +00:00  
				
					
						
							
							
								 
						
							
							
								17aaae42d8 
								
							
								 
							
						 
						
							
							
								
								Refactoring of weightedPseudoInverse, emul, sum  
							
							
							
						 
						
							2009-11-13 06:14:55 +00:00  
				
					
						
							
							
								 
						
							
							
								2178589263 
								
							
								 
							
						 
						
							
							
								
								Debug printout and variable names  
							
							
							
						 
						
							2009-11-13 06:13:58 +00:00  
				
					
						
							
							
								 
						
							
							
								67c2ea8263 
								
							
								 
							
						 
						
							
							
								
								NonlinearEquality factor is now working for generic configs.  Currently, the feasible point must be specified in the form of a full config with the point in it, but this avoid needing to increase the requirements on the configs.  
							
							
							
						 
						
							2009-11-13 02:06:52 +00:00  
				
					
						
							
							
								 
						
							
							
								cba4a536bb 
								
							
								 
							
						 
						
							
							
								
								includes Ordering.h  
							
							
							
						 
						
							2009-11-13 01:56:09 +00:00  
				
					
						
							
							
								 
						
							
							
								6252ff2497 
								
							
								 
							
						 
						
							
							
								
								added testVSLAMGraph unit test. will fail until we can add a constraint to either one of the two cameras.  
							
							
							
						 
						
							2009-11-12 18:55:03 +00:00  
				
					
						
							
							
								 
						
							
							
								ef0fc9fbac 
								
							
								 
							
						 
						
							
							
								
								added testVSLAMGraph unit test. will fail until we can add a constraint to either one of the two cameras.  
							
							
							
						 
						
							2009-11-12 18:54:46 +00:00  
				
					
						
							
							
								 
						
							
							
								03f865d4b1 
								
							
								 
							
						 
						
							
							
								
								Used typedefs with similar naming convention.  
							
							
							
						 
						
							2009-11-12 18:33:14 +00:00  
				
					
						
							
							
								 
						
							
							
								5857635ca1 
								
							
								 
							
						 
						
							
							
								
								Fixed renaming error with NonlinearFactors sometimes becoming NonGaussianFactors  
							
							
							
						 
						
							2009-11-12 16:47:12 +00:00  
				
					
						
							
							
								 
						
							
							
								c7b86cec97 
								
							
								 
							
						 
						
							
							
								
								Renamed ConditionalGaussian -> GaussianConditional  
							
							
							
						 
						
							2009-11-12 16:41:18 +00:00  
				
					
						
							
							
								 
						
							
							
								77a1754b69 
								
							
								 
							
						 
						
							
							
								
								Renamed LinearFactor -> GaussianFactor, LinearFactorGraph -> GaussianFactorGraph  
							
							
							
						 
						
							2009-11-12 16:16:32 +00:00  
				
					
						
							
							
								 
						
							
							
								1ae6bb4030 
								
							
								 
							
						 
						
							
							
								
								Added push_fron convenience method to add ConditionalGaussians into a Bayes net with much less clutter. Modernized some very old tests in the process.  
							
							
							
						 
						
							2009-11-12 06:09:03 +00:00  
				
					
						
							
							
								 
						
							
							
								f677341108 
								
							
								 
							
						 
						
							
							
								
								Moved inference methods to new compilation unit. Added [factor], and [marginalize] now returns a factor graph.  
							
							
							
						 
						
							2009-11-12 04:56:30 +00:00  
				
					
						
							
							
								 
						
							
							
								c85f5445db 
								
							
								 
							
						 
						
							
							
								
								Re-organized makefile  
							
							
							
						 
						
							2009-11-12 04:54:31 +00:00  
				
					
						
							
							
								 
						
							
							
								81a353dd2c 
								
							
								 
							
						 
						
							
							
								
								eliminate is now const  
							
							
							
						 
						
							2009-11-12 04:53:28 +00:00  
				
					
						
							
							
								 
						
							
							
								a38ebece1e 
								
							
								 
							
						 
						
							
							
								
								New compilation unit that collects generic, templated inference methods that go between factor graphs and Bayes nets. These used to be in BayesNet-inl.h and FactorGraph-inl.h  
							
							
							
						 
						
							2009-11-12 04:52:40 +00:00  
				
					
						
							
							
								 
						
							
							
								4a7e05fffa 
								
							
								 
							
						 
						
							
							
								
								change all print() to print(string s) and create SymbolicFactor  
							
							
							
						 
						
							2009-11-11 22:45:08 +00:00  
				
					
						
							
							
								 
						
							
							
								70efccefbc 
								
							
								 
							
						 
						
							
							
								
								VSLAMFactor Testable  
							
							
							
						 
						
							2009-11-11 21:09:43 +00:00  
				
					
						
							
							
								 
						
							
							
								8c695a778c 
								
							
								 
							
						 
						
							
							
								
								Implemented a rank deficient constraint test in testLinearFactor: note that it is possible to reorder elimination to make a system solvable or rank-deficient  
							
							
							
						 
						
							2009-11-11 19:00:39 +00:00  
				
					
						
							
							
								 
						
							
							
								ab65dfb4dd 
								
							
								 
							
						 
						
							
							
								
								Adding include file stdio.h to resolve compiling issue when upgrading to Ubuntu 9.10. The printf() compiles on ubuntu 9.04 and mac machines.  
							
							
							
						 
						
							2009-11-11 17:15:17 +00:00  
				
					
						
							
							
								 
						
							
							
								f51614813e 
								
							
								 
							
						 
						
							
							
								
								Improved weighted eliminate to handle arbitrary linear equality constraints  
							
							
							
						 
						
							2009-11-11 14:42:09 +00:00  
				
					
						
							
							
								 
						
							
							
								d585a329dc 
								
							
								 
							
						 
						
							
							
								
								Added MATLAB-friendly versions of eliminate and optimize in LinearFactorGraph (with trailing underscore). Also fixed some MATLAB code.  
							
							
							
						 
						
							2009-11-11 07:14:13 +00:00  
				
					
						
							
							
								 
						
							
							
								ac840d6f0a 
								
							
								 
							
						 
						
							
							
								
								1) DCVectorConfig I believe was obsolete as well as any conversion from and to Vectors, which I removed  
							
							... 
							
							
							
							2) load and flush are gone. 
3) I made a VSLAMConfig "Testable". 
4) I added an explicit template instantiation to avoid having to include -inl.h files
5) I added some more test code in testVSLAMFactor 
							
						 
						
							2009-11-11 05:14:03 +00:00  
				
					
						
							
							
								 
						
							
							
								00ff066b33 
								
							
								 
							
						 
						
							
							
								
								Fixed compile error  
							
							
							
						 
						
							2009-11-11 05:13:25 +00:00  
				
					
						
							
							
								 
						
							
							
								8d2d48d252 
								
							
								 
							
						 
						
							
							
								
								made removeAndCombineFactors a function, not a method  
							
							
							
						 
						
							2009-11-11 05:12:45 +00:00  
				
					
						
							
							
								 
						
							
							
								710d396d0b 
								
							
								 
							
						 
						
							
							
								
								cleaned up a few includes to make VSLAMGraph work properly after the move into gtsam.  
							
							
							
						 
						
							2009-11-10 22:49:22 +00:00  
				
					
						
							
							
								 
						
							
							
								dc3b85e43d 
								
							
								 
							
						 
						
							
							
								
								Todo: make wrapper for GaussianBayesNet. For now eliminate returns void in gtsam.h  
							
							
							
						 
						
							2009-11-10 21:15:28 +00:00  
				
					
						
							
							
								 
						
							
							
								08c9718b12 
								
							
								 
							
						 
						
							
							
								
								Moving VSLAMConfig into gtsam. VSLAMFactor lived there already, but was using VectorConfig directly... now using VSLAMConfig.  
							
							
							
						 
						
							2009-11-10 20:19:00 +00:00  
				
					
						
							
							
								 
						
							
							
								0d928035e0 
								
							
								 
							
						 
						
							
							
								
								added empty constructors for serialization, also made sure SymbolicConditional.h was installed  
							
							
							
						 
						
							2009-11-10 14:55:07 +00:00  
				
					
						
							
							
								 
						
							
							
								1f15650da0 
								
							
								 
							
						 
						
							
							
								
								Added serialization of base class  
							
							
							
						 
						
							2009-11-10 14:44:53 +00:00  
				
					
						
							
							
								 
						
							
							
								ddc0173671 
								
							
								 
							
						 
						
							
							
								
								Basic handling of constraints now works in factor graphs, assuming there is only one constraint on any given variable.  
							
							
							
						 
						
							2009-11-10 04:36:07 +00:00  
				
					
						
							
							
								 
						
							
							
								a7b711db37 
								
							
								 
							
						 
						
							
							
								
								Removed constraint variations on graphs/factors  
							
							
							
						 
						
							2009-11-10 04:33:39 +00:00  
				
					
						
							
							
								 
						
							
							
								2c37c94b5d 
								
							
								 
							
						 
						
							
							
								
								Replaced the householder transform with the weighted system  
							
							... 
							
							
							
							Removed constrained components from makefile, they will disappear shortly 
							
						 
						
							2009-11-09 21:34:20 +00:00  
				
					
						
							
							
								 
						
							
							
								03985d16f6 
								
							
								 
							
						 
						
							
							
								
								Fixed equality checking with NaNs in Matrix  
							
							... 
							
							
							
							removed extraneous print statement in Vector 
							
						 
						
							2009-11-09 16:57:30 +00:00  
				
					
						
							
							
								 
						
							
							
								01ee9246d7 
								
							
								 
							
						 
						
							
							
								
								fix Matlab toolbox to work with Frank's recent changes to gtsam.  
							
							
							
						 
						
							2009-11-09 16:53:13 +00:00  
				
					
						
							
							
								 
						
							
							
								1ae81b59d8 
								
							
								 
							
						 
						
							
							
								
								Fixed vector comparisons that will erroneously return true when there are NaN values.  
							
							
							
						 
						
							2009-11-09 16:47:37 +00:00  
				
					
						
							
							
								 
						
							
							
								a3de1964d7 
								
							
								 
							
						 
						
							
							
								
								BIG CHANGE:  
							
							... 
							
							
							
							1) eliminate methods no longer return a shared pointer. Shared pointers are good for Factors and Conditionals (which are also non-copyable), because these are often passed around under the hood. However, a BayesNet is simple a list of shared pointers and hence does not cost a lot to return as an object (which is compiler-optimized anyway: there is no copy). So, the signature of all eliminate methods changed to simply return a BayesNet<> object (not a shared pointer).
2) GaussianBayesNet::optimize is now replaced by optimize(GaussianBayesNet) and returns a VectorConfig and not a shared pointer
3) GaussianBayesNet and SymbolicBayesNet are now simply typedefs, not derived classes. This is desirable because the BayesTree class uses templated methods that return BayesNet<Conditional>, not a specific BayesNet derived class. 
							
						 
						
							2009-11-09 07:04:26 +00:00  
				
					
						
							
							
								 
						
							
							
								7bd40e836d 
								
							
								 
							
						 
						
							
							
								
								Cleaned up and added test for VSLAMFactor  
							
							
							
						 
						
							2009-11-09 04:46:34 +00:00  
				
					
						
							
							
								 
						
							
							
								e340178de5 
								
							
								 
							
						 
						
							
							
								
								Easy constructor  
							
							
							
						 
						
							2009-11-09 04:46:08 +00:00  
				
					
						
							
							
								 
						
							
							
								dd1b023ca9 
								
							
								 
							
						 
						
							
							
								
								Fixed special case for root  
							
							
							
						 
						
							2009-11-09 04:45:38 +00:00  
				
					
						
							
							
								 
						
							
							
								cc22e82ca6 
								
							
								 
							
						 
						
							
							
								
								Joint densities (covariances) now done. Was exceedingly easy :-)  
							
							
							
						 
						
							2009-11-09 00:13:44 +00:00  
				
					
						
							
							
								 
						
							
							
								3464c6a36f 
								
							
								 
							
						 
						
							
							
								
								Create from a single string  
							
							
							
						 
						
							2009-11-08 22:51:29 +00:00  
				
					
						
							
							
								 
						
							
							
								86173b66af 
								
							
								 
							
						 
						
							
							
								
								Clique marginal and dramatically simplified single variable marginal.  
							
							
							
						 
						
							2009-11-08 22:51:12 +00:00  
				
					
						
							
							
								 
						
							
							
								10e618f360 
								
							
								 
							
						 
						
							
							
								
								New function marginals. Also: combine entire Bayes nets with push_back and push_front. And finally: some convenience constructors in GaussianBayesNet.  
							
							
							
						 
						
							2009-11-08 22:50:26 +00:00  
				
					
						
							
							
								 
						
							
							
								58007a8167 
								
							
								 
							
						 
						
							
							
								
								Working recursive (but not cached) shortcut.  
							
							
							
						 
						
							2009-11-08 04:41:01 +00:00  
				
					
						
							
							
								 
						
							
							
								d1b8925617 
								
							
								 
							
						 
						
							
							
								
								Construct symbolic version of any Bayes net  
							
							
							
						 
						
							2009-11-08 04:39:54 +00:00  
				
					
						
							
							
								 
						
							
							
								532be063f9 
								
							
								 
							
						 
						
							
							
								
								new templated function combine  
							
							
							
						 
						
							2009-11-08 02:50:19 +00:00  
				
					
						
							
							
								 
						
							
							
								93da9e0f2c 
								
							
								 
							
						 
						
							
							
								
								pop_front  
							
							
							
						 
						
							2009-11-08 02:49:18 +00:00  
				
					
						
							
							
								 
						
							
							
								cc5a2c3183 
								
							
								 
							
						 
						
							
							
								
								Renamed double-templated functions to _eliminate and _eliminateOne, and created FactorGraph-specific eliminateOne methods to make life easier  
							
							
							
						 
						
							2009-11-07 21:03:30 +00:00  
				
					
						
							
							
								 
						
							
							
								df3e5f2416 
								
							
								 
							
						 
						
							
							
								
								BIG: eliminate and eliminateOne now doubly templated functions, not methods.  
							
							... 
							
							
							
							Minor: Standardized on new shared_ptr naming convention:
shared_factor -> sharedFactor
conditional_ptr -> sharedConditional
node_ptr -> sharedClique 
							
						 
						
							2009-11-07 19:31:39 +00:00  
				
					
						
							
							
								 
						
							
							
								f5d186522e 
								
							
								 
							
						 
						
							
							
								
								Standardized on new shared_ptr naming convention  
							
							
							
						 
						
							2009-11-07 17:24:05 +00:00  
				
					
						
							
							
								 
						
							
							
								6339b5d19d 
								
							
								 
							
						 
						
							
							
								
								Made Node public  
							
							
							
						 
						
							2009-11-07 15:58:45 +00:00  
				
					
						
							
							
								 
						
							
							
								7ef9ed950b 
								
							
								 
							
						 
						
							
							
								
								Improved performance of matrix scaling in LinearFactor::matrix_augmented  
							
							... 
							
							
							
							Added matrix scaling functions to scale either the rows or columns by values from a vector 
							
						 
						
							2009-11-06 13:43:39 +00:00  
				
					
						
							
							
								 
						
							
							
								cd313e2f82 
								
							
								 
							
						 
						
							
							
								
								operator[] to retrieve clique  
							
							
							
						 
						
							2009-11-06 05:55:29 +00:00  
				
					
						
							
							
								 
						
							
							
								e1716a39cd 
								
							
								 
							
						 
						
							
							
								
								Two changes: LinearFactor::sparse and LinearFactorGraph:sparse, and renamed VariableSet -> Dimensions, which is now a map from keys to integer variable dimensions.  Merged in from the "sparse" branch created with Viorela.  
							
							
							
						 
						
							2009-11-06 05:43:03 +00:00  
				
					
						
							
							
								 
						
							
							
								fb74ef03b2 
								
							
								 
							
						 
						
							
							
								
								Added to LinearFactor a matrix_augmented() function to get a single augmented matrix [A b]  
							
							... 
							
							
							
							Removed extra copying in LinearFactor::eliminate() 
							
						 
						
							2009-11-05 15:08:58 +00:00  
				
					
						
							
							
								 
						
							
							
								6c5603de0c 
								
							
								 
							
						 
						
							
							
								
								Fixed remaining LinearFactor unit tests  
							
							... 
							
							
							
							Added equality check for Variable 
							
						 
						
							2009-11-05 13:52:12 +00:00  
				
					
						
							
							
								 
						
							
							
								d9289d14b3 
								
							
								 
							
						 
						
							
							
								
								marginals on any scalar now work  
							
							
							
						 
						
							2009-11-05 08:06:32 +00:00  
				
					
						
							
							
								 
						
							
							
								beabb62f29 
								
							
								 
							
						 
						
							
							
								
								More informative print  
							
							
							
						 
						
							2009-11-05 08:05:54 +00:00  
				
					
						
							
							
								 
						
							
							
								bd54c39a73 
								
							
								 
							
						 
						
							
							
								
								Fixed bug in smoother example  
							
							
							
						 
						
							2009-11-05 08:05:34 +00:00  
				
					
						
							
							
								 
						
							
							
								e87c19ed7a 
								
							
								 
							
						 
						
							
							
								
								ConditionalGaussian now stores sigmas  
							
							
							
						 
						
							2009-11-05 06:59:59 +00:00  
				
					
						
							
							
								 
						
							
							
								88b8f4e16b 
								
							
								 
							
						 
						
							
							
								
								fixed unit test  
							
							
							
						 
						
							2009-11-05 06:34:43 +00:00  
				
					
						
							
							
								 
						
							
							
								cabcda5a96 
								
							
								 
							
						 
						
							
							
								
								marginal compiles and runs for frontal node in clique  
							
							
							
						 
						
							2009-11-05 06:30:50 +00:00  
				
					
						
							
							
								 
						
							
							
								7f516394df 
								
							
								 
							
						 
						
							
							
								
								Added dummy argument to work around compile conundrum  
							
							
							
						 
						
							2009-11-05 06:30:10 +00:00  
				
					
						
							
							
								 
						
							
							
								06f07420d1 
								
							
								 
							
						 
						
							
							
								
								back()  
							
							
							
						 
						
							2009-11-05 06:29:32 +00:00  
				
					
						
							
							
								 
						
							
							
								11fcd5a69d 
								
							
								 
							
						 
						
							
							
								
								KISS: just a map of pointers in BayesTree now  
							
							
							
						 
						
							2009-11-05 05:29:47 +00:00  
				
					
						
							
							
								 
						
							
							
								3d334401f5 
								
							
								 
							
						 
						
							
							
								
								Constructor from BayesNet now in FactorGraph base class  
							
							... 
							
							
							
							FactorGraph::eliminate
Removed eliminate_partially 
							
						 
						
							2009-11-05 04:56:59 +00:00  
				
					
						
							
							
								 
						
							
							
								e650676da7 
								
							
								 
							
						 
						
							
							
								
								Moved header to .h to fix MATLAB toolbox compilation  
							
							
							
						 
						
							2009-11-05 03:51:08 +00:00  
				
					
						
							
							
								 
						
							
							
								3b258be8c4 
								
							
								 
							
						 
						
							
							
								
								about a dozen changes to make Matlab toolbox work again, but one error remains having to do with the forward declaration of class GaussianBayesNet.  
							
							
							
						 
						
							2009-11-05 03:26:04 +00:00  
				
					
						
							
							
								 
						
							
							
								0ef7fe4a01 
								
							
								 
							
						 
						
							
							
								
								changed case of foreach ( it was capitals before and will not compile on linux )  
							
							
							
						 
						
							2009-11-04 22:19:16 +00:00  
				
					
						
							
							
								 
						
							
							
								e2414561be 
								
							
								 
							
						 
						
							
							
								
								Merged r895:900 from branch weightedQR - LinearFactorGraph now has sigmas and ConditionalGaussian now has precisions  
							
							
							
						 
						
							2009-11-04 20:59:16 +00:00  
				
					
						
							
							
								 
						
							
							
								4865edb883 
								
							
								 
							
						 
						
							
							
								
								Removed debug code, added marginal function  
							
							
							
						 
						
							2009-11-04 03:22:29 +00:00  
				
					
						
							
							
								 
						
							
							
								e9d942f81e 
								
							
								 
							
						 
						
							
							
								
								BayesNet is now list-based for fast bi-directional access  
							
							... 
							
							
							
							SLOW O(n) random access operator[key] provided 
(should maybe be called [at] as it does bounds checking)
I also fixed a bug in equals. 
							
						 
						
							2009-11-03 06:29:56 +00:00  
				
					
						
							
							
								 
						
							
							
								eab038651e 
								
							
								 
							
						 
						
							
							
								
								Renamed BayesNet::insert -> push_back. BayesTree now uses Bayes nets as nodes.  
							
							
							
						 
						
							2009-11-02 05:17:44 +00:00  
				
					
						
							
							
								 
						
							
							
								a8d267c4ca 
								
							
								 
							
						 
						
							
							
								
								Small change necessitating lots of edits: Conditionals now include key of random variable  
							
							... 
							
							
							
							This simplifies Bayes nets quite a bit. Also created a Conditional base class, derived classes ConditionalGaussian and SymbolicConditional
Finally, some changes were needed because I moved some headers to .cpp 
							
						 
						
							2009-11-02 03:50:30 +00:00  
				
					
						
							
							
								 
						
							
							
								943b692a6b 
								
							
								 
							
						 
						
							
							
								
								BIG CHANGE: I got rid of the BayesChain/ChordalBayesNet classes and we now simply have a BayesNet class. It will just happen to be chordal when it is the result of an elimination. This will simplify a lot of things.  
							
							... 
							
							
							
							The main renaming that happened is
BayesChain -> BayesNet
ChordalBayesNet -> GaussianBayesNet == BayesNet<ConditionalGaussian>
SymbolicBayesChain -> SymbolicBayesNet == BayesNet<SymbolicConditional> 
							
						 
						
							2009-10-31 19:53:20 +00:00  
				
					
						
							
							
								 
						
							
							
								921cb0a8fc 
								
							
								 
							
						 
						
							
							
								
								Got rid of (defunct) "dump" methods  
							
							
							
						 
						
							2009-10-31 17:13:36 +00:00  
				
					
						
							
							
								 
						
							
							
								c046fed37c 
								
							
								 
							
						 
						
							
							
								
								Bayes tree constructor implemented and tested with ASIA, as well as smoother example from frankcvs meeting  
							
							
							
						 
						
							2009-10-31 16:57:36 +00:00  
				
					
						
							
							
								 
						
							
							
								1e5a2d692a 
								
							
								 
							
						 
						
							
							
								
								const  
							
							
							
						 
						
							2009-10-31 16:56:06 +00:00  
				
					
						
							
							
								 
						
							
							
								040f407b0b 
								
							
								 
							
						 
						
							
							
								
								Removed constructor, use eliminate  
							
							
							
						 
						
							2009-10-31 16:55:44 +00:00  
				
					
						
							
							
								 
						
							
							
								0f688302ad 
								
							
								 
							
						 
						
							
							
								
								Fixed bug in [parents]  
							
							
							
						 
						
							2009-10-31 16:55:17 +00:00  
				
					
						
							
							
								 
						
							
							
								68d2f81f0a 
								
							
								 
							
						 
						
							
							
								
								Smoother now creates x1...xT, not x0 anymore  
							
							
							
						 
						
							2009-10-31 16:54:38 +00:00  
				
					
						
							
							
								 
						
							
							
								fd5f43092f 
								
							
								 
							
						 
						
							
							
								
								Ordering is now a list and Testable  
							
							
							
						 
						
							2009-10-31 15:24:22 +00:00  
				
					
						
							
							
								 
						
							
							
								e1f14b34c3 
								
							
								 
							
						 
						
							
							
								
								Implemented [equals] using binary predicate and STL's equal  
							
							
							
						 
						
							2009-10-31 14:12:41 +00:00  
				
					
						
							
							
								 
						
							
							
								b9ceca7dc6 
								
							
								 
							
						 
						
							
							
								
								Templated binary predicate [equals] for use with STL's equal(...)  
							
							
							
						 
						
							2009-10-31 14:11:48 +00:00  
				
					
						
							
							
								 
						
							
							
								53890c4ba6 
								
							
								 
							
						 
						
							
							
								
								Symbolic Bayes Tree successfully constructed  
							
							
							
						 
						
							2009-10-31 05:12:39 +00:00  
				
					
						
							
							
								 
						
							
							
								cefeca149b 
								
							
								 
							
						 
						
							
							
								
								Moved template definitions to BayesTree-inl.h  
							
							
							
						 
						
							2009-10-30 13:03:38 +00:00  
				
					
						
							
							
								 
						
							
							
								0d7d0e2161 
								
							
								 
							
						 
						
							
							
								
								Explicit template instantiation in .cpp files, so we can link with the code without having to include -inl.h everywhere...  
							
							
							
						 
						
							2009-10-30 05:45:22 +00:00  
				
					
						
							
							
								 
						
							
							
								83e5286710 
								
							
								 
							
						 
						
							
							
								
								ChordalBayesNet is now derived from BayesChain  
							
							... 
							
							
							
							Explicit template instantiations 
							
						 
						
							2009-10-30 04:54:11 +00:00  
				
					
						
							
							
								 
						
							
							
								dd3795ad5a 
								
							
								 
							
						 
						
							
							
								
								Symbolic eliminate now works, new compilation unit SymbolicFactor  
							
							
							
						 
						
							2009-10-30 03:48:32 +00:00  
				
					
						
							
							
								 
						
							
							
								65b949c008 
								
							
								 
							
						 
						
							
							
								
								Fixed flaw in pseudoinverse calculation, and updated tests for Matrix and Vector  
							
							
							
						 
						
							2009-10-29 20:12:07 +00:00  
				
					
						
							
							
								 
						
							
							
								80b162a412 
								
							
								 
							
						 
						
							
							
								
								LinearFactorGraph::eliminate_one is now FactorGraph::eliminateOne<ConditionalGaussian>  
							
							... 
							
							
							
							Symbolic version FactorGraph::eliminateOne<SymbolicConditional> also implemented and tested 
							
						 
						
							2009-10-29 14:34:34 +00:00  
				
					
						
							
							
								 
						
							
							
								4c48bb08e1 
								
							
								 
							
						 
						
							
							
								
								Vector and Matrix updated with improved weighted householder operations and more tests.  
							
							
							
						 
						
							2009-10-29 12:52:27 +00:00  
				
					
						
							
							
								 
						
							
							
								a513ae0287 
								
							
								 
							
						 
						
							
							
								
								Changed names and moved two LinearFactorGraph functions to FactorGraph  
							
							... 
							
							
							
							Added SymbolicFactorGraph compiulation unit and unit tests
Added symbolic combine constructor 
							
						 
						
							2009-10-29 05:39:13 +00:00  
				
					
						
							
							
								 
						
							
							
								f0c23a2828 
								
							
								 
							
						 
						
							
							
								
								Moved [factors] to FactorGraph  
							
							
							
						 
						
							2009-10-29 04:49:13 +00:00  
				
					
						
							
							
								 
						
							
							
								b6cee73571 
								
							
								 
							
						 
						
							
							
								
								Significant change: Made FactorGraph templated on Factor only, and moved error and probPrime to derived classes  
							
							... 
							
							
							
							Moved find_and_remove_factors to base class
Added and tested symbolic factor graph constructor and conversion from any factor graph type 
							
						 
						
							2009-10-29 04:11:23 +00:00  
				
					
						
							
							
								 
						
							
							
								1f792a53ea 
								
							
								 
							
						 
						
							
							
								
								Made some progress on symbolic analysis  
							
							
							
						 
						
							2009-10-28 02:57:38 +00:00  
				
					
						
							
							
								 
						
							
							
								50763ef764 
								
							
								 
							
						 
						
							
							
								
								Prototype for Bayes nets for Manohar  
							
							
							
						 
						
							2009-10-27 20:44:40 +00:00  
				
					
						
							
							
								 
						
							
							
								bb15697cf9 
								
							
								 
							
						 
						
							
							
								
								Prototype framework for Bayes chain (new name for Chordal Bayes net) and Bayes tree class hierarchy  
							
							
							
						 
						
							2009-10-27 20:23:19 +00:00  
				
					
						
							
							
								 
						
							
							
								94da98411c 
								
							
								 
							
						 
						
							
							
								
								Fixed NULL problem  
							
							
							
						 
						
							2009-10-27 20:22:02 +00:00  
				
					
						
							
							
								 
						
							
							
								e37e771c8e 
								
							
								 
							
						 
						
							
							
								
								My last commit broke the linearFactorN unit test, fixed now.  
							
							
							
						 
						
							2009-10-27 15:31:45 +00:00  
				
					
						
							
							
								 
						
							
							
								cb22a0bc52 
								
							
								 
							
						 
						
							
							
								
								Renamed variables in linearFactorN unit test  
							
							
							
						 
						
							2009-10-27 15:13:13 +00:00  
				
					
						
							
							
								 
						
							
							
								37bc303492 
								
							
								 
							
						 
						
							
							
								
								Added weighted Householder transforms that use precisions perform QDR factorization.  Functions create a weighted vector pseudoinverse, and then use the pseudoinverse to substitute a solution into system.  
							
							
							
						 
						
							2009-10-27 14:21:22 +00:00  
				
					
						
							
							
								 
						
							
							
								626d06905c 
								
							
								 
							
						 
						
							
							
								
								Removed obsolete optimize call and documented better  
							
							
							
						 
						
							2009-10-27 14:14:36 +00:00  
				
					
						
							
							
								 
						
							
							
								4d9ff77249 
								
							
								 
							
						 
						
							
							
								
								moved timing example here from EasySLAM  
							
							
							
						 
						
							2009-10-27 13:34:36 +00:00  
				
					
						
							
							
								 
						
							
							
								422169873c 
								
							
								 
							
						 
						
							
							
								
								moved [symbol] function to LinearFactor  
							
							
							
						 
						
							2009-10-27 13:33:44 +00:00  
				
					
						
							
							
								 
						
							
							
								11f0d04cb6 
								
							
								 
							
						 
						
							
							
								
								made all classes that currently have an assert_equal "Testable"  
							
							... 
							
							
							
							- derive from testable as in class Point2 : Testable<Point2>
- moved print and equal declarations in .h right after the constructor
- similarly, moved implementations after constructors in .cpp file
- removed obsolete assert_equal 
							
						 
						
							2009-10-26 19:26:51 +00:00  
				
					
						
							
							
								 
						
							
							
								3b30fe50b0 
								
							
								 
							
						 
						
							
							
								
								Moved print and equals to -inl.h  
							
							
							
						 
						
							2009-10-25 22:27:18 +00:00  
				
					
						
							
							
								 
						
							
							
								7a968962db 
								
							
								 
							
						 
						
							
							
								
								Order of arguments = expected, then actual  
							
							
							
						 
						
							2009-10-25 22:26:56 +00:00  
				
					
						
							
							
								 
						
							
							
								57bc102548 
								
							
								 
							
						 
						
							
							
								
								Equals now checks for NULLs  
							
							
							
						 
						
							2009-10-25 14:25:17 +00:00  
				
					
						
							
							
								 
						
							
							
								f54ba387fe 
								
							
								 
							
						 
						
							
							
								
								FactorGraph, ChordalBayesNet, and ConditionalGaussian now Testable  
							
							
							
						 
						
							2009-10-24 23:14:14 +00:00  
				
					
						
							
							
								 
						
							
							
								3792c79706 
								
							
								 
							
						 
						
							
							
								
								Fixed NonlinearFactor2 equals and added some unit tests for equals  
							
							
							
						 
						
							2009-10-24 20:01:47 +00:00  
				
					
						
							
							
								 
						
							
							
								563abc2b3f 
								
							
								 
							
						 
						
							
							
								
								formatting only  
							
							
							
						 
						
							2009-10-24 04:07:32 +00:00  
				
					
						
							
							
								 
						
							
							
								baef89ccf0 
								
							
								 
							
						 
						
							
							
								
								updated find_factors_and_remove to use map of factor indices to gather factors connected to a variable. factors are set to null instead of being erased. also updated size() to count non-NULL factors, and print() to only print non-NULL factors. added new unit test which tries to remove the same variable twice.  
							
							
							
						 
						
							2009-10-23 00:56:40 +00:00  
				
					
						
							
							
								 
						
							
							
								52bedcad3a 
								
							
								 
							
						 
						
							
							
								
								order 1 factors by using map  
							
							
							
						 
						
							2009-10-22 21:33:00 +00:00  
				
					
						
							
							
								 
						
							
							
								cd3e3d8a86 
								
							
								 
							
						 
						
							
							
								
								Fairly substantial change: Factor now Testable, MutableLinearFactor gone  
							
							... 
							
							
							
							The latter was prompted by the fact that assert_equal did not like mixing LinearFactor and MutableLinearFactor
But MutableLinearFactor always was a bit of a kluge. We should eradicate all non-const on LinearFactor some other way. 
							
						 
						
							2009-10-22 17:23:24 +00:00  
				
					
						
							
							
								 
						
							
							
								0d580032c5 
								
							
								 
							
						 
						
							
							
								
								Added unit test for creating an n-ary LinearFactor  
							
							
							
						 
						
							2009-10-22 15:52:39 +00:00  
				
					
						
							
							
								 
						
							
							
								2aec16d3cf 
								
							
								 
							
						 
						
							
							
								
								Combined evaluation/derivatives now return the function value instead of using a pointer  
							
							
							
						 
						
							2009-10-22 14:44:27 +00:00  
				
					
						
							
							
								 
						
							
							
								6c8531ed9c 
								
							
								 
							
						 
						
							
							
								
								Point2 now Testable, removed obsolete assert_equal, as every testable class can use the template version in Testable.h  
							
							
							
						 
						
							2009-10-22 14:43:36 +00:00  
				
					
						
							
							
								 
						
							
							
								9a579fcdaf 
								
							
								 
							
						 
						
							
							
								
								No need for Testable constructors  
							
							
							
						 
						
							2009-10-22 14:42:19 +00:00  
				
					
						
							
							
								 
						
							
							
								e52c574e46 
								
							
								 
							
						 
						
							
							
								
								Added an empty virtual destructor to fix a compile warning  
							
							
							
						 
						
							2009-10-22 14:27:44 +00:00  
				
					
						
							
							
								 
						
							
							
								ae57441c3d 
								
							
								 
							
						 
						
							
							
								
								Added a constructor to create an n-ary factor from an std::vector of key/A-matrix pairs  
							
							
							
						 
						
							2009-10-22 14:27:03 +00:00  
				
					
						
							
							
								 
						
							
							
								c3b8a20b5c 
								
							
								 
							
						 
						
							
							
								
								Added new test for find_factors_and_remove and deleted obsolete one  
							
							
							
						 
						
							2009-10-22 13:28:37 +00:00  
				
					
						
							
							
								 
						
							
							
								1b199a4d3b 
								
							
								 
							
						 
						
							
							
								
								Added a "factors" function that returns indices to all factors connected to a variable.  
							
							
							
						 
						
							2009-10-22 05:02:31 +00:00  
				
					
						
							
							
								 
						
							
							
								3e6739f2fd 
								
							
								 
							
						 
						
							
							
								
								Now Matlab toolbox compiles!!  
							
							
							
						 
						
							2009-10-20 20:41:45 +00:00  
				
					
						
							
							
								 
						
							
							
								019a05d93d 
								
							
								 
							
						 
						
							
							
								
								mex: compile of ' "eliminate.cpp"' error fixed. but still not compiling  
							
							
							
						 
						
							2009-10-20 18:57:33 +00:00  
				
					
						
							
							
								 
						
							
							
								543ad1409f 
								
							
								 
							
						 
						
							
							
								
								Changing from set to vector: insert -> push_back  
							
							
							
						 
						
							2009-10-20 15:22:06 +00:00  
				
					
						
							
							
								 
						
							
							
								19bdb5c2f9 
								
							
								 
							
						 
						
							
							
								
								Better name for delta: linearizeAndOptimizeForDelta  
							
							
							
						 
						
							2009-10-19 19:12:48 +00:00  
				
					
						
							
							
								 
						
							
							
								d8c04ecfcb 
								
							
								 
							
						 
						
							
							
								
								Fixed serialization include header.  
							
							
							
						 
						
							2009-10-18 17:35:15 +00:00  
				
					
						
							
							
								 
						
							
							
								ed616a26ed 
								
							
								 
							
						 
						
							
							
								
								Finally gave in and made LinearFactorSet into a vector. Pragmatism wins.  
							
							
							
						 
						
							2009-10-18 16:49:10 +00:00  
				
					
						
							
							
								 
						
							
							
								0d66ee8f72 
								
							
								 
							
						 
						
							
							
								
								comments only  
							
							
							
						 
						
							2009-10-15 14:56:40 +00:00  
				
					
						
							
							
								 
						
							
							
								485f8d003b 
								
							
								 
							
						 
						
							
							
								
								Added notes concerning the ordering issue when handling sets of LinearFactor::shared_ptrs  
							
							
							
						 
						
							2009-10-14 21:06:44 +00:00  
				
					
						
							
							
								 
						
							
							
								7d0a30c20f 
								
							
								 
							
						 
						
							
							
								
								Renamed FGConfig to VectorConfig in gtsam, easylib, EasySLAM, and mast.  
							
							
							
						 
						
							2009-10-14 20:39:59 +00:00  
				
					
						
							
							
								 
						
							
							
								8f20523e7f 
								
							
								 
							
						 
						
							
							
								
								ConstrainedLinearFactorGraphs now handles multiple constraints on a node properly.  
							
							... 
							
							
							
							smallExample was changed to include two of the examples used in testConstrainedLinearFactorGraph
ConditionalGaussian was changed to make solve() virtual, as this is necessary for ConstrainedConditionalGaussian 
							
						 
						
							2009-10-14 15:32:05 +00:00  
				
					
						
							
							
								 
						
							
							
								92b920cb48 
								
							
								 
							
						 
						
							
							
								
								updated to be templated on Config.  
							
							
							
						 
						
							2009-10-13 20:55:07 +00:00  
				
					
						
							
							
								 
						
							
							
								66dac8a52f 
								
							
								 
							
						 
						
							
							
								
								Generalized constraint handling to create a LinearConstraint which implements linear equality constraints that can be eliminated as a part of a ConstrainedLinearFactorGraph.  DeltaFunction has been changed to be a ConstrainedConditionalGaussian, which has a more robust solve() function.  The new tests no longer use the "constrained" example from smallExample, so those functions have been commented.  
							
							... 
							
							
							
							''Limitations: ''
 * Any given node can only have one constraint on it, but constraints can be of arbitrary size
 * Constraints can only be specified as a blockwise system, where each block must be square and invertible to support arbitrary elimination orderings.  
  * ConstrainedNonlinearFactorGraph is disabled until a better solution for handling constraints in the nonlinear case is determined. 
							
						 
						
							2009-10-08 13:57:22 +00:00  
				
					
						
							
							
								 
						
							
							
								3efe95abee 
								
							
								 
							
						 
						
							
							
								
								Removed ConstrainedChordalBayesNet and associated test.  It may return if ConstrainedConditionalGaussians need more involved processing in future versions, but for all versions of LinearConstraint, there is no need for a special Constrained CBN.  
							
							
							
						 
						
							2009-10-08 13:43:43 +00:00  
				
					
						
							
							
								 
						
							
							
								989f290c99 
								
							
								 
							
						 
						
							
							
								
								'''BIG CHANGE''': avoid converting back and to FGConfigs by templating on configuration type. Details:  
							
							... 
							
							
							
							* Factors are now templated on the configuration type. Factor Graphs are now templated on the factor type and configuration type.
 * LinearFactor is a factor on an FGConfig.
 * LinearFactorGraph uses LinearFactor and FGConfig.
 * NonLinearFactor is still templated on Config.
 * NonLinearFactorGraph uses NonLinearFactors, but is still templated on Config.
 * Tests and VSLAMFactor have been updated to reflect those changes. 
							
						 
						
							2009-10-06 18:25:04 +00:00  
				
					
						
							
							
								 
						
							
							
								34c1bb6f29 
								
							
								 
							
						 
						
							
							
								
								Small comment on exmap correctness  
							
							
							
						 
						
							2009-10-06 18:02:33 +00:00  
				
					
						
							
							
								 
						
							
							
								7e77ae5f53 
								
							
								 
							
						 
						
							
							
								
								formatting only, clear by default  
							
							
							
						 
						
							2009-10-06 18:01:40 +00:00  
				
					
						
							
							
								 
						
							
							
								354f9de64e 
								
							
								 
							
						 
						
							
							
								
								fixed round off error in Rot3.rodriguez  
							
							
							
						 
						
							2009-09-16 02:20:57 +00:00  
				
					
						
							
							
								 
						
							
							
								7fb691183d 
								
							
								 
							
						 
						
							
							
								
								make simulation2D work  
							
							
							
						 
						
							2009-09-15 22:32:34 +00:00  
				
					
						
							
							
								 
						
							
							
								768befbd85 
								
							
								 
							
						 
						
							
							
								
								Faster inverse by avoiding matrix intermediate  
							
							
							
						 
						
							2009-09-14 04:39:36 +00:00  
				
					
						
							
							
								 
						
							
							
								d5dc9ab9d1 
								
							
								 
							
						 
						
							
							
								
								Composition is faster, composeTransform is trivial (and should probably go)  
							
							
							
						 
						
							2009-09-14 04:38:17 +00:00  
				
					
						
							
							
								 
						
							
							
								3285d88181 
								
							
								 
							
						 
						
							
							
								
								Added few utility functions required to check if Marker is facing the Camera  
							
							
							
						 
						
							2009-09-13 20:07:00 +00:00  
				
					
						
							
							
								 
						
							
							
								100b9b2eec 
								
							
								 
							
						 
						
							
							
								
								added a safe projection method to Calibrated and SimpleCamera. added a positiveDepth property to ARToolkitMeasurement so that the visibility can be checked  
							
							
							
						 
						
							2009-09-13 16:09:54 +00:00  
				
					
						
							
							
								 
						
							
							
								571c0da8d1 
								
							
								 
							
						 
						
							
							
								
								removed unit test for scalar operator overloading  
							
							
							
						 
						
							2009-09-13 04:23:31 +00:00  
				
					
						
							
							
								 
						
							
							
								68e20eec2c 
								
							
								 
							
						 
						
							
							
								
								2 BIG changes:  
							
							... 
							
							
							
							(1) FactorGraph and NonlinearOptimizer now no longer have a .cpp file, but a -inl.h file as in [http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml  Google's C++ Style Guide]. This means if you expect to instantiate one of the functions in a cpp file, you have to include the -inl.h file.
(1) getOrdering is now in FactorGraph, and the non-linear version does *not* take a config anymore. 
Long version: I made this change because colamd works on the graph structure alone, and should not depend on the type of graph. Instead, because getOrdering happened to implemented in LinearFactorGraph first, the non-linear version converted to a linear factor graph (at the cost of an unnecessary linearization), and then threw all that away to call colamd. To implement this in a key-neutral way (a hidden agenda), i had to modify the keys_ type to a list, so a lot of changes resulted from that. 
							
						 
						
							2009-09-13 04:13:03 +00:00  
				
					
						
							
							
								 
						
							
							
								d141cdab8c 
								
							
								 
							
						 
						
							
							
								
								rolling back + operator overload for scalars ( Not approved by FD )  
							
							
							
						 
						
							2009-09-13 03:43:15 +00:00  
				
					
						
							
							
								 
						
							
							
								bc93a9c314 
								
							
								 
							
						 
						
							
							
								
								overloaded + operator for scalar  
							
							
							
						 
						
							2009-09-12 21:52:13 +00:00  
				
					
						
							
							
								 
						
							
							
								7b0c69da2d 
								
							
								 
							
						 
						
							
							
								
								getOrdering uses [keys] now  
							
							
							
						 
						
							2009-09-12 04:15:41 +00:00  
				
					
						
							
							
								 
						
							
							
								14102e259e 
								
							
								 
							
						 
						
							
							
								
								new method [keys]  
							
							
							
						 
						
							2009-09-12 03:50:44 +00:00  
				
					
						
							
							
								 
						
							
							
								78ac705d05 
								
							
								 
							
						 
						
							
							
								
								Isolated main colamd call in function templated on key type.  
							
							
							
						 
						
							2009-09-12 03:38:55 +00:00  
				
					
						
							
							
								 
						
							
							
								a5ae9c12ef 
								
							
								 
							
						 
						
							
							
								
								re-factored and commented getOrdering  
							
							
							
						 
						
							2009-09-12 01:50:47 +00:00  
				
					
						
							
							
								 
						
							
							
								597af891cb 
								
							
								 
							
						 
						
							
							
								
								add comments  
							
							
							
						 
						
							2009-09-11 20:51:49 +00:00  
				
					
						
							
							
								 
						
							
							
								bc7717d5ab 
								
							
								 
							
						 
						
							
							
								
								Forward declarations and comments  
							
							
							
						 
						
							2009-09-11 20:51:03 +00:00  
				
					
						
							
							
								 
						
							
							
								49e6e0c63f 
								
							
								 
							
						 
						
							
							
								
								Add operator /  
							
							
							
						 
						
							2009-09-11 20:49:28 +00:00