release/4.3a0
Yong-Dian Jian 2012-06-03 15:07:10 +00:00
parent 7d132ef217
commit 26f1f3fa4f
2 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,8 @@ SimpleSPCGSolver::SimpleSPCGSolver(const GaussianFactorGraph &gfg, const Paramet
nVar_ = colSpec.size();
/* split the factor graph into At (tree) and Ac (constraints) */
/* Split the factor graph into At (tree) and Ac (constraints)
* Note: This part has to be refined for your graph/application */
GaussianFactorGraph::shared_ptr At;
boost::tie(At, Ac_) = this->splitGraph(gfg);

View File

@ -78,7 +78,8 @@ protected:
/* return x = Rt^{-1} y + x_t */
VectorValues::shared_ptr transform(const VectorValues &y);
/* naively split a gaussian factor graph into tree and constraint parts */
/* naively split a gaussian factor graph into tree and constraint parts
* Note: This function has to be refined for your graph/application */
boost::tuple<GaussianFactorGraph::shared_ptr, FactorGraph<JacobianFactor>::shared_ptr>
splitGraph(const GaussianFactorGraph &gfg);