Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Static Public Member Functions | Protected Member Functions
GraphTester< my_graph_t > Class Template Reference

Detailed Description

template<class my_graph_t>
class GraphTester< my_graph_t >

Definition at line 50 of file graph_slam_levmarq_unittest.cpp.

Inheritance diagram for GraphTester< my_graph_t >:
Inheritance graph

Static Public Member Functions

static void create_ring_path (my_graph_t &graph, size_t N_VERTEX=50, double DIST_THRES=7, double NODES_XY_MAX=20)
 

Protected Member Functions

virtual void SetUp ()
 
virtual void TearDown ()
 
void test_ring_path ()
 
void compare_two_graphs (const my_graph_t &g1, const my_graph_t &g2, const double eps_node_pos=1e-3, const double eps_edges=1e-3)
 
void test_graph_text_serialization ()
 
void test_graph_bin_serialization ()
 
void test_optimize_compare_known_solution (const char *type)
 

Member Function Documentation

◆ compare_two_graphs()

template<class my_graph_t >
void GraphTester< my_graph_t >::compare_two_graphs ( const my_graph_t &  g1,
const my_graph_t &  g2,
const double  eps_node_pos = 1e-3,
const double  eps_edges = 1e-3 
)
inlineprotected

Definition at line 86 of file graph_slam_levmarq_unittest.cpp.

◆ create_ring_path()

template<class my_graph_t >
static void GraphSlamLevMarqTest< my_graph_t >::create_ring_path ( my_graph_t &  graph,
size_t  N_VERTEX = 50,
double  DIST_THRES = 7,
double  NODES_XY_MAX = 20 
)
inlinestaticinherited

◆ SetUp()

template<class my_graph_t >
virtual void GraphTester< my_graph_t >::SetUp ( )
inlineprotectedvirtual

Definition at line 54 of file graph_slam_levmarq_unittest.cpp.

◆ TearDown()

template<class my_graph_t >
virtual void GraphTester< my_graph_t >::TearDown ( )
inlineprotectedvirtual

Definition at line 55 of file graph_slam_levmarq_unittest.cpp.

◆ test_graph_bin_serialization()

template<class my_graph_t >
void GraphTester< my_graph_t >::test_graph_bin_serialization ( )
inlineprotected

◆ test_graph_text_serialization()

template<class my_graph_t >
void GraphTester< my_graph_t >::test_graph_text_serialization ( )
inlineprotected

◆ test_optimize_compare_known_solution()

template<class my_graph_t >
void GraphTester< my_graph_t >::test_optimize_compare_known_solution ( const char *  type)
inlineprotected

◆ test_ring_path()

template<class my_graph_t >
void GraphTester< my_graph_t >::test_ring_path ( )
inlineprotected



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019