Functions
testTableFactor.cpp File Reference
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DiscreteConditional.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, enumerate)
 
 TEST (TableFactor, htmlWithValueFormatter)
 
 TEST (TableFactor, markdown)
 
 TEST (TableFactor, markdownWithValueFormatter)
 
 TEST (TableFactor, multiplication)
 
 TEST (TableFactor, Prune)
 
 TEST (TableFactor, sum_max)
 
 TEST (TableFactor, Unary)
 
 TEST (TableFactor, UnaryAssignment)
 
 TEST_DISABLED (TableFactor, benchmark)
 

Function Documentation

◆ genArr()

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

Definition at line 33 of file testTableFactor.cpp.

◆ main()

int main ( )

Definition at line 408 of file testTableFactor.cpp.

◆ measureTime()

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

Definition at line 48 of file testTableFactor.cpp.

◆ printTime()

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

Definition at line 92 of file testTableFactor.cpp.

◆ TEST() [1/10]

TEST ( TableFactor  ,
constructors   
)

Definition at line 103 of file testTableFactor.cpp.

◆ TEST() [2/10]

TEST ( TableFactor  ,
enumerate   
)

Definition at line 258 of file testTableFactor.cpp.

◆ TEST() [3/10]

TEST ( TableFactor  ,
htmlWithValueFormatter   
)

Definition at line 349 of file testTableFactor.cpp.

◆ TEST() [4/10]

TEST ( TableFactor  ,
markdown   
)

Definition at line 310 of file testTableFactor.cpp.

◆ TEST() [5/10]

TEST ( TableFactor  ,
markdownWithValueFormatter   
)

Definition at line 329 of file testTableFactor.cpp.

◆ TEST() [6/10]

TEST ( TableFactor  ,
multiplication   
)

Definition at line 149 of file testTableFactor.cpp.

◆ TEST() [7/10]

TEST ( TableFactor  ,
Prune   
)

Definition at line 276 of file testTableFactor.cpp.

◆ TEST() [8/10]

TEST ( TableFactor  ,
sum_max   
)

Definition at line 240 of file testTableFactor.cpp.

◆ TEST() [9/10]

TEST ( TableFactor  ,
Unary   
)

Definition at line 375 of file testTableFactor.cpp.

◆ TEST() [10/10]

TEST ( TableFactor  ,
UnaryAssignment   
)

Definition at line 394 of file testTableFactor.cpp.

◆ TEST_DISABLED()

TEST_DISABLED ( TableFactor  ,
benchmark   
)

Definition at line 178 of file testTableFactor.cpp.



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