MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

graphs/depth_first_search_2.py:7–8  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5
6class Graph:
7 def __init__(self):
8 self.vertex = {}
9
10 # for printing the Graph vertices
11 def print_graph(self) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected