Generator for returning the next vertex from the adjacency list :return:
(self)
| 22 | self.adjacency_list[source].add(destination) |
| 23 | |
| 24 | def get_vertex(self): |
| 25 | """ |
| 26 | Generator for returning the next vertex from the adjacency list |
| 27 | :return: |
| 28 | """ |
| 29 | for v in self.adjacency_list: |
| 30 | yield v |
| 31 | |
| 32 | def get_neighbor(self, vertex): |
| 33 | """ |
no outgoing calls
no test coverage detected