Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397
Issue N5 2013 year
Algorithms for topological ordering of a directed graph are widely used wherever necessary to produce a reasonable sequence of actions when one action is dependent on others. In this paper, topological sorting algorithm is used as the basic heuristic to construct an approximate algorithm for structural optimization of the control graph of the program in order to reduce the number of the test paths. The feature of the proposed algorithm is that it works not only with the directed acyclic graphs, but with the graphs containing the cycles.