#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>
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) | |
vector<double> genArr | ( | double | dropout, |
size_t | size | ||
) |
Definition at line 33 of file testTableFactor.cpp.
int main | ( | ) |
Definition at line 408 of file testTableFactor.cpp.
map<double, pair<chrono::microseconds, chrono::microseconds> > measureTime | ( | DiscreteKeys | keys1, |
DiscreteKeys | keys2, | ||
size_t | size | ||
) |
Definition at line 48 of file testTableFactor.cpp.
void printTime | ( | map< double, pair< chrono::microseconds, chrono::microseconds >> | measured_time | ) |
Definition at line 92 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
constructors | |||
) |
Definition at line 103 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
enumerate | |||
) |
Definition at line 258 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
htmlWithValueFormatter | |||
) |
Definition at line 349 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
markdown | |||
) |
Definition at line 310 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
markdownWithValueFormatter | |||
) |
Definition at line 329 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
multiplication | |||
) |
Definition at line 149 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
Prune | |||
) |
Definition at line 276 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
sum_max | |||
) |
Definition at line 240 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
Unary | |||
) |
Definition at line 375 of file testTableFactor.cpp.
TEST | ( | TableFactor | , |
UnaryAssignment | |||
) |
Definition at line 394 of file testTableFactor.cpp.
TEST_DISABLED | ( | TableFactor | , |
benchmark | |||
) |
Definition at line 178 of file testTableFactor.cpp.