×

Topological orderings of weighted directed acyclic graphs. (English) Zbl 1358.05132

Summary: We call a topological ordering of a weighted directed acyclic graph non-negative if the sum of weights on the vertices in any prefix of the ordering is non-negative. We investigate two processes for constructing non-negative topological orderings of weighted directed acyclic graphs. The first process is called a mark sequence and the second is a generalization called a mark-unmark sequence. We answer a question of Erickson by showing that every non-negative topological ordering that can be realized by a mark-unmark sequence can also be realized by a mark sequence. We also investigate the question of whether a given weighted directed acyclic graph has a non-negative topological ordering. We show that even in the simple case when every vertex is a source or a sink the question is NP-complete.

MSC:

05C22 Signed and weighted graphs
05C38 Paths and cycles
05C10 Planar graphs; geometric and topological aspects of graph theory
05C85 Graph algorithms (graph-theoretic aspects)
68Q17 Computational difficulty of problems (lower bounds, completeness, difficulty of approximation, etc.)

References:

[1] Garey, M. R.; Johnson, D. S., Computers and IntractabilityA Guide to the Theory of NP-Completeness, A Series of Books in the Mathematical Sciences (1979), W.H. Freeman and Co.: W.H. Freeman and Co. San Francisco, Calif. · Zbl 0411.68039
[2] DasGupta, B.; Jiang, T.; Kannan, S.; Li, M.; Sweedyk, E., On the complexity and approximation of syntenic distance, Discrete Appl. Math., 88, 1-3, 59-82 (1998) · Zbl 0928.68057
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.