Topological order sequence
Input: AOV network G=(V, E) where |V| = n
Output: Topological order sequence of G
Requirements:
- Generate a graph randomly / Read a file consisting of the adjacent matrix of G
- Produce a topological order sequence of G, if G is an feasible AOV; report "no solution", otherwise
Bonus:
- Produce more than one topological order sequence of G, if G is an feasible AOV; report "no solution", otherwise.
- Produce all topological order sequences of G, if G has more than one solution.