gtsam
Loading...
Searching...
No Matches
ForestTraversal.h File Reference

Forest traversal helpers with optional TBB acceleration. More...

Go to the source code of this file.

Classes

class  gtsam::ForestTraversal< Forest, Node >
 Mixin that provides depth-based top-down or bottom-up traversal. More...

Namespaces

namespace  gtsam
 Global functions in a separate testing namespace.

Detailed Description

Forest traversal helpers with optional TBB acceleration.

Provides top-down and bottom-up traversal helpers that either enqueue work on an internal TaskScheduler (for builds without TBB) or call the treeTraversal parallel helpers when GTSAM_USE_TBB is enabled.

Note
Forest::roots() or Forest::roots must return a range of pointer-like Node roots.
Node::children() or Node::children must return a range of pointer-like Node children.
Author
Frank Dellaert
Date
May, 2025