|
| template<class FOREST, typename DATA, typename VISITOR_PRE, typename VISITOR_POST> |
| void | gtsam::treeTraversal::DepthFirstForest (FOREST &forest, DATA &rootData, VISITOR_PRE &visitorPre, VISITOR_POST &visitorPost) |
| | Traverse a forest depth-first with pre-order and post-order visits.
|
| template<class FOREST, typename VISITOR_POST> |
| void | gtsam::treeTraversal::PostOrderForest (FOREST &forest, VISITOR_POST &visitorPost) |
| | Traverse a forest depth-first with post-order visits only.
|
| template<class FOREST, typename DATA, typename VISITOR_PRE> |
| void | gtsam::treeTraversal::DepthFirstForest (FOREST &forest, DATA &rootData, VISITOR_PRE &visitorPre) |
| | Traverse a forest depth-first, with a pre-order visit but no post-order visit.
|
| template<class FOREST, typename DATA, typename VISITOR_PRE, typename VISITOR_POST> |
| void | gtsam::treeTraversal::DepthFirstForestParallel (FOREST &forest, DATA &rootData, VISITOR_PRE &visitorPre, VISITOR_POST &visitorPost, int problemSizeThreshold=10) |
| | Traverse a forest depth-first with pre-order and post-order visits.
|
| template<class FOREST, typename VISITOR_POST> |
| void | gtsam::treeTraversal::PostOrderForestParallel (FOREST &forest, VISITOR_POST &visitorPost, int problemSizeThreshold=10, size_t leafAggregationProblemSize=0) |
| | Traverse a forest depth-first with post-order visits only (parallel if TBB).
|
| template<class FOREST> |
| FastVector< std::shared_ptr< typename FOREST::Node > > | gtsam::treeTraversal::CloneForest (const FOREST &forest) |
| | Clone a tree, copy-constructing new nodes (calling std::make_shared) and setting up child pointers for a clone of the original tree.
|
| template<class FOREST> |
| void | gtsam::treeTraversal::PrintForest (const FOREST &forest, std::string str, const KeyFormatter &keyFormatter) |
| | Print a tree, prefixing each line with str, and formatting keys using keyFormatter.
|