Swarm-SLAM  1.0.0
C-SLAM Framework
test_algebraic_connectivity Namespace Reference

Classes

class  TestAlgebraicConnectivity
 

Functions

def build_simple_graph (nb_poses, nb_candidate_edges)
 
def build_multi_robot_graph (nb_poses, nb_candidate_edges, max_nb_robots)
 

Function Documentation

◆ build_multi_robot_graph()

def test_algebraic_connectivity.build_multi_robot_graph (   nb_poses,
  nb_candidate_edges,
  max_nb_robots 
)
Build graph with multiple robots

Args:
    nb_poses (int): nb of poses in graph
    nb_candidate_edges (int): nb of loop edges to generate
    max_nb_robots (int): nb of robots

Returns:
    list(EdgeInterRobot), dict(EdgeInterRobot): edges in the graph

Definition at line 38 of file test_algebraic_connectivity.py.

Here is the caller graph for this function:

◆ build_simple_graph()

def test_algebraic_connectivity.build_simple_graph (   nb_poses,
  nb_candidate_edges 
)
Build simple graph

Args:
    nb_poses (int): nb of poses in graph
    nb_candidate_edges (int): nb of loop edges to generate

Returns:
    list(EdgeInterRobot), dict(EdgeInterRobot): edges in the graph

Definition at line 15 of file test_algebraic_connectivity.py.

Here is the caller graph for this function: