Adjusted parameters
parent
865b2162ee
commit
594c0412cb
|
@ -281,7 +281,7 @@ int main(int argc, char *argv[])
|
|||
compareSolutions(orderedSolnFinal, orderingCOLAMD, unorderedSolnFinal);
|
||||
|
||||
//GaussianEliminationTreeUnordered(gfgu, orderingUnordered).print("ETree: ");
|
||||
//GaussianJunctionTreeUnordered(GaussianEliminationTreeUnordered(gfgu, orderingUnordered)).print("JTree: ");
|
||||
//GaussianJunctionTreeUnordered(GaussianEliminationTreeUnordered(gfgu, OrderingUnordered::COLAMD(gfgu))).print("JTree: ");
|
||||
//gfgu.eliminateMultifrontal(orderingUnordered)->print("BayesTree: ");
|
||||
|
||||
tictoc_print_();
|
||||
|
|
|
@ -267,7 +267,7 @@ namespace gtsam {
|
|||
* root node. */
|
||||
template<class FOREST, typename DATA, typename VISITOR_PRE, typename VISITOR_POST>
|
||||
void DepthFirstForestParallel(FOREST& forest, DATA& rootData, VISITOR_PRE& visitorPre, VISITOR_POST& visitorPost,
|
||||
int problemSizeThreshold = 50)
|
||||
int problemSizeThreshold = 10)
|
||||
{
|
||||
// Typedefs
|
||||
typedef typename FOREST::Node Node;
|
||||
|
|
|
@ -269,7 +269,7 @@ namespace gtsam {
|
|||
EliminationData<This> rootsContainer(0, roots_.size());
|
||||
//tbb::task_scheduler_init init(1);
|
||||
treeTraversal::DepthFirstForestParallel(*this, rootsContainer, eliminationPreOrderVisitor<This>,
|
||||
boost::bind(eliminationPostOrderVisitor<This>, _1, _2, function), 5);
|
||||
boost::bind(eliminationPostOrderVisitor<This>, _1, _2, function), 10);
|
||||
|
||||
// Create BayesTree from roots stored in the dummy BayesTree node.
|
||||
boost::shared_ptr<BayesTreeType> result = boost::make_shared<BayesTreeType>();
|
||||
|
|
Loading…
Reference in New Issue