MRPT  1.9.9
GraphTester< my_graph_t > Class Template Reference

Detailed Description

template<class my_graph_t>
class GraphTester< my_graph_t >

Definition at line 41 of file graph_slam_levmarq_unittest.cpp.

Inheritance diagram for GraphTester< my_graph_t >:
Inheritance graph

Static Public Member Functions

static void addEdge (TNodeID from, TNodeID to, const typename my_graph_t::global_poses_t &real_poses, my_graph_t &graph)
 
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 (const char *className)
 
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

◆ addEdge()

template<class my_graph_t >
static void GraphSlamLevMarqTest< my_graph_t >::addEdge ( TNodeID  from,
TNodeID  to,
const typename my_graph_t::global_poses_t &  real_poses,
my_graph_t &  graph 
)
inlinestaticinherited

◆ 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 81 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 45 of file graph_slam_levmarq_unittest.cpp.

◆ TearDown()

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

Definition at line 46 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()

◆ test_ring_path()




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020