Maximum-weight matching

From Algowiki
Revision as of 10:16, 21 November 2014 by Weihe (talk | contribs) (Created page with "== Basic definitions == # Basic graph definitions # Matchings in graphs == Definition == '''Input:''' # An undirected graph <math>G=(V,E)</math>. # A '''weight''' <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basic definitions

  1. Basic graph definitions
  2. Matchings in graphs

Definition

Input:

  1. An undirected graph [math]\displaystyle{ G=(V,E) }[/math].
  2. A weight [math]\displaystyle{ w(e) }[/math] for each edge [math]\displaystyle{ e\in E }[/math].

Output: A matching [math]\displaystyle{ M }[/math] in [math]\displaystyle{ G }[/math] such that [math]\displaystyle{ \sum_{e\in M'}w(e)\leq\sum_{e\in M}w(e) }[/math] for any other matching [math]\displaystyle{ M' }[/math] in [math]\displaystyle{ G }[/math].