MRPT  2.0.4
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 40 of file graph_slam_levmarq_unittest.cpp.

Inheritance diagram for GraphTester< my_graph_t >:

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

void SetUp () override
 
void TearDown () override
 
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 80 of file graph_slam_levmarq_unittest.cpp.

References EXPECT_EQ(), and EXPECT_NEAR().

◆ 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 >
void GraphTester< my_graph_t >::SetUp ( )
inlineoverrideprotected

Definition at line 44 of file graph_slam_levmarq_unittest.cpp.

◆ TearDown()

template<class my_graph_t >
void GraphTester< my_graph_t >::TearDown ( )
inlineoverrideprotected

Definition at line 45 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 ( const char *  className)
inlineprotected



Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sat Jun 27 14:00:59 UTC 2020