congestion_coverage_plan.map_utils.TopologicalMap.TopologicalMap
- class congestion_coverage_plan.map_utils.TopologicalMap.TopologicalMap
Bases:
object- __init__()
Methods
__init__()add_edge(start_id, end_id)add_edge_from_positions(start_posx, ...)add_edge_with_id(edge_id, start_id, end_id)add_edge_with_id_and_positions(edge_id, ...)add_edge_with_incremental_id(start_id, end_id)add_vertex(posx, posy)add_vertex_with_id(vertex_id, posx, posy)compute_edges_from_vertex()display_topological_map()find_edge_from_id(edge_id)find_edge_from_position(start, end)find_vertex_from_id(vertex_id)find_vertex_from_position(posx, posy)get_all_edges_from_vertex(vertex_id)get_edges()get_edges_from_vertex(vertex_id)get_edges_from_vertex_with_edge_class(vertex_id)get_goal_vertices_list()get_name()get_vertex(vertex_id)get_vertex_distance(vertex1_name, vertex2_name)get_vertices()get_vertices_list()is_goal_vertex(vertex_id)load_topological_map(filename)plot_topological_map(img_path, fig_size, ...)save_figure(filename)save_topological_map(filename)set_name(name)set_vertex_as_goal_from_id(vertex_id)set_vertex_as_goal_from_position(posx, posy)