#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>
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) | |
vector<double> genArr | ( | double | dropout, |
size_t | size | ||
) |
Definition at line 32 of file testTableFactor.cpp.
int main | ( | void | ) |
Definition at line 356 of file testTableFactor.cpp.
map<double, pair<chrono::microseconds, chrono::microseconds> > measureTime | ( | DiscreteKeys | keys1, |
DiscreteKeys | keys2, | ||
size_t | size | ||
) |
Definition at line 47 of file testTableFactor.cpp.
void printTime | ( | map< double, pair< chrono::microseconds, chrono::microseconds >> | measured_time | ) |
Definition at line 91 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
constructors | |||
) |
Definition at line 102 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
multiplication | |||
) |
Definition at line 131 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
benchmark | |||
) |
Definition at line 159 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
sum_max | |||
) |
Definition at line 221 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
enumerate | |||
) |
Definition at line 239 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
Prune | |||
) |
Definition at line 257 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
markdown | |||
) |
Definition at line 291 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
markdownWithValueFormatter | |||
) |
Definition at line 310 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
htmlWithValueFormatter | |||
) |
Definition at line 330 of file testTableFactor.cpp.