Maximum branching: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
'''Definition:''' | '''Definition:''' | ||
A '''branching''' is | A '''branching''' is an [[Basic graph definitions#Cycles|acyclic directed graph]] such that each node has at most one incoming arc. | ||
'''Input:''' | '''Input:''' |
Revision as of 12:54, 20 October 2014
General information
Definition: A branching is an acyclic directed graph such that each node has at most one incoming arc.
Input:
- A directed graph [math]\displaystyle{ G=(V,A) }[/math]:
- A real-valued weight [math]\displaystyle{ x(a) }[/math] for each arc [math]\displaystyle{ a\in A }[/math].
Output: A branching [math]\displaystyle{ B=(V,A') }[/math] of maximum weight such that [math]\displaystyle{ A'\subseteq A }[/math]. In that, the weight of [math]\displaystyle{ B }[/math] is the sum of the weights of all arcs in [math]\displaystyle{ A' }[/math].
Known algorithms
Remark
Without loss of generality, all arcs with nonpositive weights may be removed, so we may assume that all weights are strictly positive.