graphs.g_topological_sort

Attributes

clothes

graph

stack

visited

Functions

depth_first_search(→ None)

print_stack(→ None)

topological_sort(→ None)

Module Contents

graphs.g_topological_sort.print_stack(stack, clothes) None
graphs.g_topological_sort.topological_sort(graph, visited) None
graphs.g_topological_sort.clothes
graphs.g_topological_sort.graph = [[1, 4], [2, 4], [3], [], [], [4], [2, 7], [3], []]
graphs.g_topological_sort.stack = []
graphs.g_topological_sort.visited