Conditions | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | from pyalgs.data_structures.graphs.graph import Graph, Digraph |
||
18 | def create_graph_4_connected_components(): |
||
19 | g = Graph(13) |
||
20 | g.add_edge(0, 5) |
||
21 | g.add_edge(4, 3) |
||
22 | g.add_edge(0, 1) |
||
23 | g.add_edge(9, 12) |
||
24 | g.add_edge(6, 4) |
||
25 | g.add_edge(5, 4) |
||
26 | g.add_edge(0, 2) |
||
27 | g.add_edge(11, 12) |
||
28 | g.add_edge(9, 10) |
||
29 | g.add_edge(0, 6) |
||
30 | g.add_edge(7, 8) |
||
31 | g.add_edge(9, 11) |
||
32 | g.add_edge(5, 3) |
||
33 | return g |
||
34 | |||
62 |