Functions
testTableFactor.cpp File Reference
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DiscreteDistribution.h>
#include <gtsam/discrete/Signature.h>
#include <gtsam/discrete/TableFactor.h>
#include <chrono>
#include <random>
Include dependency graph for testTableFactor.cpp:

Go to the source code of this file.

Functions

vector< double > genArr (double dropout, size_t size)
 
int main ()
 
map< double, pair< chrono::microseconds, chrono::microseconds > > measureTime (DiscreteKeys keys1, DiscreteKeys keys2, size_t size)
 
void printTime (map< double, pair< chrono::microseconds, chrono::microseconds >> measured_time)
 
 TEST (TableFactor, constructors)
 
 TEST (TableFactor, multiplication)
 
 TEST (TableFactor, benchmark)
 
 TEST (TableFactor, sum_max)
 
 TEST (TableFactor, enumerate)
 
 TEST (TableFactor, Prune)
 
 TEST (TableFactor, markdown)
 
 TEST (TableFactor, markdownWithValueFormatter)
 
 TEST (TableFactor, htmlWithValueFormatter)
 

Function Documentation

◆ genArr()

vector<double> genArr ( double  dropout,
size_t  size 
)

Definition at line 32 of file testTableFactor.cpp.

◆ main()

int main ( void  )

Definition at line 356 of file testTableFactor.cpp.

◆ measureTime()

map<double, pair<chrono::microseconds, chrono::microseconds> > measureTime ( DiscreteKeys  keys1,
DiscreteKeys  keys2,
size_t  size 
)

Definition at line 47 of file testTableFactor.cpp.

◆ printTime()

void printTime ( map< double, pair< chrono::microseconds, chrono::microseconds >>  measured_time)

Definition at line 91 of file testTableFactor.cpp.

◆ TEST() [1/9]

TEST ( TableFactor  ,
constructors   
)

Definition at line 102 of file testTableFactor.cpp.

◆ TEST() [2/9]

TEST ( TableFactor  ,
multiplication   
)

Definition at line 131 of file testTableFactor.cpp.

◆ TEST() [3/9]

TEST ( TableFactor  ,
benchmark   
)

Definition at line 159 of file testTableFactor.cpp.

◆ TEST() [4/9]

TEST ( TableFactor  ,
sum_max   
)

Definition at line 221 of file testTableFactor.cpp.

◆ TEST() [5/9]

TEST ( TableFactor  ,
enumerate   
)

Definition at line 239 of file testTableFactor.cpp.

◆ TEST() [6/9]

TEST ( TableFactor  ,
Prune   
)

Definition at line 257 of file testTableFactor.cpp.

◆ TEST() [7/9]

TEST ( TableFactor  ,
markdown   
)

Definition at line 291 of file testTableFactor.cpp.

◆ TEST() [8/9]

TEST ( TableFactor  ,
markdownWithValueFormatter   
)

Definition at line 310 of file testTableFactor.cpp.

◆ TEST() [9/9]

TEST ( TableFactor  ,
htmlWithValueFormatter   
)

Definition at line 330 of file testTableFactor.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:56