Traceback (most recent call last): File "GeraAleatorio.py", line 31, in ? print `getOtimo(g)` File "GeraAleatorio.py", line 20, in getOtimo for i in g.getVertices(): AttributeError: Grafo instance has no attribute 'getVertices' real 0m0.301s user 0m0.270s sys 0m0.010s