Typedefs | Functions | Variables
testBTree.cpp File Reference
#include <boost/shared_ptr.hpp>
#include <boost/assign/std/list.hpp>
#include <CppUnitLite/TestHarness.h>
#include <gtsam_unstable/base/BTree.h>
Include dependency graph for testBTree.cpp:

Go to the source code of this file.

Typedefs

typedef BTree< string, intIntTree
 
typedef pair< string, intKeyInt
 
typedef pair< size_t, size_tRange
 
typedef BTree< string, RangeRangeTree
 

Functions

int add (const string &k, int v, int a)
 
int f (const string &key, const Range &range)
 
void g (const string &key, int i)
 
int main ()
 
KeyInt p1 (x1, 1)
 
KeyInt p2 (x2, 2)
 
KeyInt p3 (x3, 3)
 
KeyInt p4 (x4, 4)
 
KeyInt p5 (x5, 5)
 
 TEST (BTree, add)
 
 TEST (BTree, equality)
 
 TEST (BTree, iterating)
 
 TEST (BTree, remove)
 
 TEST (BTree, stress)
 
static string x1 ("x1")
 
static string x2 ("x2")
 
static string x3 ("x3")
 
static string x4 ("x4")
 
static string x5 ("x5")
 

Variables

static std::stringstream ss
 

Detailed Description

Date
Feb 3, 2010
Author
Chris Beall
Frank Dellaert

Definition in file testBTree.cpp.

Typedef Documentation

typedef BTree<string, int> IntTree

Definition at line 31 of file testBTree.cpp.

typedef pair<string, int> KeyInt

Definition at line 35 of file testBTree.cpp.

typedef pair<size_t, size_t> Range

Definition at line 29 of file testBTree.cpp.

typedef BTree<string, Range> RangeTree

Definition at line 30 of file testBTree.cpp.

Function Documentation

int add ( const string &  k,
int  v,
int  a 
)

Definition at line 47 of file testBTree.cpp.

int f ( const string &  key,
const Range range 
)

Definition at line 39 of file testBTree.cpp.

void g ( const string &  key,
int  i 
)

Definition at line 43 of file testBTree.cpp.

int main ( void  )

Definition at line 205 of file testBTree.cpp.

KeyInt p1 ( x1  ,
 
)
KeyInt p2 ( x2  ,
 
)
KeyInt p3 ( x3  ,
 
)
KeyInt p4 ( x4  ,
 
)
KeyInt p5 ( x5  ,
 
)
TEST ( BTree  ,
add   
)

Definition at line 52 of file testBTree.cpp.

TEST ( BTree  ,
equality   
)

Definition at line 93 of file testBTree.cpp.

TEST ( BTree  ,
iterating   
)

Definition at line 121 of file testBTree.cpp.

TEST ( BTree  ,
remove   
)

Definition at line 162 of file testBTree.cpp.

TEST ( BTree  ,
stress   
)

Definition at line 173 of file testBTree.cpp.

static string x1 ( "x1"  )
static
static string x2 ( "x2"  )
static string x3 ( "x3"  )
static string x4 ( "x4"  )
static string x5 ( "x5"  )

Variable Documentation

std::stringstream ss
static

Definition at line 33 of file testBTree.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:40