We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bebbcac commit cf7dc21Copy full SHA for cf7dc21
graphs/random_graph_generator.py
@@ -1,6 +1,5 @@
1
"""
2
* Author: Manuel Di Lullo (https://github.com/manueldilullo)
3
-* Python Version: 3.9
4
* Description: Random graphs generator.
5
Uses graphs represented with an adjacency list.
6
@@ -48,7 +47,7 @@ def random_graph(
48
47
49
def complete_graph(vertices_number: int) -> dict:
50
51
- function that generate a complete graph with vertices_number vertices
+ function that generates a complete graph with vertices_number vertices
52
@input: vertices_number (number of vertices),
53
directed (False if the graph is undirected, True otherwise)
54
@example:
0 commit comments