diff --git a/py_graph_t/SimpleGraph.py b/py_graph_t/SimpleGraph.py index 21c07d4..bf06072 100644 --- a/py_graph_t/SimpleGraph.py +++ b/py_graph_t/SimpleGraph.py @@ -375,6 +375,15 @@ def __str__(self): return graph_string def check_regular_graph(self): + """ + Função que verifica a regularidade de um grafo. + + Retorno: + ---------- + True: Se o grafo for regular. + + False: Se o grafo não for regular. + """ valency = [] for i in self.vertices: