campy.datastructures.graph module

class campy.datastructures.graph.Graph(NodeType, ArcType, src=None)[source]

Bases: object

add_arc(arc)[source]
add_arc_by_nodes(n1, n2, named=False)[source]
add_node(node_info, named=False)[source]
clear()[source]
get_arc_set(node_info, named=False)[source]
get_neighbors(node_info, named=False)[source]
is_connected(n1, n2, named=False)[source]
is_empty()[source]
remove_arc(arc)[source]
remove_arc_by_nodes(n1, n2, named=False)[source]
remove_node(node, named=False)[source]
scan_arc_data()[source]
scan_graph_entry(stream)[source]
scan_node_data()[source]
size
write_arc_data(ostream)[source]
write_node_data(ostream)[source]
campy.datastructures.graph.error(str)[source]