Swarm-SLAM
1.0.0
C-SLAM Framework
|
Public Member Functions | |
def | __init__ (self, edges, robots_involved) |
def | brokerage (self, use_vertex_cover) |
def | vertex_cover (self) |
def | simple_dialog (self) |
Public Attributes | |
edges | |
is_multi_robot_graph | |
is_bipartite | |
matching_graph | |
The broker decides which vertices in the matching graph are to be shared between the robots.
def cslam.broker.Broker.__init__ | ( | self, | |
edges, | |||
robots_involved | |||
) |
def cslam.broker.Broker.brokerage | ( | self, | |
use_vertex_cover | |||
) |
def cslam.broker.Broker.simple_dialog | ( | self | ) |
def cslam.broker.Broker.vertex_cover | ( | self | ) |
Computes the minimum vertex cover over the edges If the graph is bipartite: we compute the maximum matching and recover the minimum vertex cover with Konig's theorem Otherwise, we use an approximate greedy algorithm. Returns: List(set((int,int)): Vertices to be transmitted
Definition at line 84 of file broker.py.