Classes | Functions
testTreeTraversal.cpp File Reference
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/treeTraversal-inst.h>
#include <vector>
#include <list>
#include <memory>
Include dependency graph for testTreeTraversal.cpp:

Go to the source code of this file.

Classes

struct  PostOrderVisitor
 
struct  PreOrderVisitor
 
struct  TestForest
 
struct  TestNode
 

Functions

std::list< intgetPreorder (const TestForest &forest)
 
int main ()
 
TestForest makeTestForest ()
 
 TEST (treeTraversal, CloneForest)
 
 TEST (treeTraversal, DepthFirst)
 

Function Documentation

◆ getPreorder()

std::list<int> getPreorder ( const TestForest forest)

Definition at line 93 of file testTreeTraversal.cpp.

◆ main()

int main ( )

Definition at line 150 of file testTreeTraversal.cpp.

◆ makeTestForest()

TestForest makeTestForest ( )

Definition at line 43 of file testTreeTraversal.cpp.

◆ TEST() [1/2]

TEST ( treeTraversal  ,
CloneForest   
)

Definition at line 124 of file testTreeTraversal.cpp.

◆ TEST() [2/2]

TEST ( treeTraversal  ,
DepthFirst   
)

Definition at line 103 of file testTreeTraversal.cpp.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:54