Sharif University of TechnologyScientia Iranica1026-309825620181201Corrigendum to: “Making problem: A new approach to reachability assurance in digraphs”[Scientia Iranica 25(3) (2018) 1441-1455]347534752119610.24200/sci.2018.21196ENJournal Article20161231Let <em>G</em> be a weighted digraph and <em>s</em> and <em>t</em> be two vertices of <em>G</em>. The reachability assurance (RA) problem is how to label the edges of <em>G</em> such that every path starting at <em>s</em> finally reaches <em>t</em> and the sum of the weights of the labeled edges, called the RA cost, is minimal. The common approach to the RA problem is pathfinding, in which a path is sought from <em>s</em> to <em>t</em> and then the edges of the path are labeled. This paper introduces a new approach, the marking problem (MP), to the RA problem. Compared to the common pathfinding approach, the proposed MP approach has a lower RA cost. It is shown that the MP is NP-complete, even when the underlying digraph is an unweighted directed acyclic graph (DAG) or a weighted DAG with an out-degree of two. An appropriate heuristic algorithm to solve the MP in polynomial time is provided. To mitigate the RA problem as a serious challenge in this area, application of the MP in software testing is also presented. By evaluating the datasets from various program flow graphs, it is shown that the MP is superior to the pathfinding in the context of test case generation.http://scientiairanica.sharif.edu/article_21196_77cdd0fb250541c1ed0e50a2613335e7.pdf