diff --git a/.cproject b/.cproject index 1db021c30..ccd8a6d49 100644 --- a/.cproject +++ b/.cproject @@ -1,4 +1,4 @@ - + @@ -298,6 +298,22 @@ + +make + +install +true +true +true + + +make + +check +true +true +true + make -k @@ -308,6 +324,7 @@ make + testSimpleCamera.run true true @@ -323,7 +340,6 @@ make - testVSLAMFactor.run true true @@ -331,6 +347,7 @@ make + testCalibratedCamera.run true true @@ -338,7 +355,6 @@ make - testGaussianConditional.run true true @@ -346,6 +362,7 @@ make + testPose2.run true true @@ -353,6 +370,7 @@ make + testRot3.run true true @@ -360,7 +378,6 @@ make - testNonlinearOptimizer.run true true @@ -368,6 +385,7 @@ make + testGaussianFactor.run true true @@ -375,6 +393,7 @@ make + testGaussianFactorGraph.run true true @@ -382,7 +401,6 @@ make - testNonlinearFactorGraph.run true true @@ -390,6 +408,7 @@ make + testPose3.run true true @@ -397,7 +416,6 @@ make - testVectorConfig.run true true @@ -405,7 +423,6 @@ make - testPoint2.run true true @@ -413,6 +430,7 @@ make + testNonlinearFactor.run true true @@ -420,6 +438,7 @@ make + timeGaussianFactor.run true true @@ -427,6 +446,7 @@ make + timeGaussianFactorGraph.run true true @@ -434,6 +454,7 @@ make + testGaussianBayesNet.run true true @@ -441,7 +462,6 @@ make - testBayesTree.run true false @@ -449,6 +469,7 @@ make + testSymbolicBayesNet.run true false @@ -456,7 +477,6 @@ make - testSymbolicFactorGraph.run true false @@ -464,6 +484,7 @@ make + testVector.run true true @@ -471,6 +492,7 @@ make + testMatrix.run true true @@ -478,7 +500,6 @@ make - testVSLAMGraph.run true true @@ -486,7 +507,6 @@ make - testNonlinearEquality.run true true @@ -494,6 +514,7 @@ make + testSQP.run true true @@ -501,7 +522,6 @@ make - testNonlinearConstraint.run true true @@ -509,6 +529,7 @@ make + testSQPOptimizer.run true true @@ -516,6 +537,7 @@ make + testVSLAMConfig.run true true @@ -523,6 +545,7 @@ make + testControlConfig.run true true @@ -530,6 +553,7 @@ make + testControlPoint.run true true @@ -537,7 +561,6 @@ make - testControlGraph.run true true @@ -545,6 +568,7 @@ make + testOrdering.run true true @@ -552,15 +576,29 @@ make - testPose2Constraint.run true true true + +make + +testRot2.run +true +true +true + + +make + +testGaussianBayesTree.run +true +true +true + make - install true true @@ -568,7 +606,6 @@ make - clean true true @@ -576,21 +613,6 @@ make - -check -true -true -true - - -make -install -true -true -true - - -make check true true diff --git a/cpp/GaussianBayesTree.h b/cpp/GaussianBayesTree.h index 642ed0eb0..5d3975f58 100644 --- a/cpp/GaussianBayesTree.h +++ b/cpp/GaussianBayesTree.h @@ -25,13 +25,13 @@ namespace gtsam { typedef BayesTree GaussianBayesTree; #if 0 // recursively optimize starting with this conditional and all children - void optimize(sharedClique clique, VectorConfig& result) { + void optimize(GaussianBayesTree::sharedClique clique, VectorConfig& result) { // parents are assumed to already be solved and available in result BOOST_REVERSE_FOREACH(GaussianConditional::shared_ptr cg, clique) { Vector x = cg->solve(result); // Solve for that variable result.insert(cg->key(),x); // store result in partial solution } - BOOST_FOREACH(sharedClique child, clique->children_) { + BOOST_FOREACH(GaussianBayesTree::sharedClique child, clique->children_) { optimize(child, result); } }