1 / 9

DAG Warm-Up Problem

DAG Warm-Up Problem.

guri
Download Presentation

DAG Warm-Up Problem

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DAG Warm-Up Problem

  2. McNally and fellow guard Brandyn Curry, who combined for 26 second-half points, came up big for Harvard throughout the final frame. After going scoreless in the first half, Curry scored 12 straight points for the Crimson off four three-pointers during a stretch of 3:27, turning a one-point deficit into a seven-point Harvard lead.

  3. Indegree and outdegree of a vertex in a digraph v Vertex v has outdegree 3 Vertex has indegree 2

  4. Lemma. Any finite DAG has at least one node of indegree 0. Proof. In-class exercise.

  5. Tournament Graph H H Y Y P P D D A digraph is a tournament graph iff every pair of distinct nodes is connected by an edge in exactly one direction. Theorem: A tournament graph determines a unique ranking iffit is a DAG.

  6. Tournament Graphs and Rankings Theorem: A tournament graph determines a unique ranking iffit is a DAG. What does this mean?

  7. Tournament Graphs and Rankings Theorem: A tournament graph determines a unique ranking iff it is a DAG. What does this mean? That there is a unique sequence of the nodes, v1, …, vn, such that V = {v1, … vn} and for any i and j, i<j implies vi→vj.

  8. If a tournament graph G is a DAG, then G determines a unique ranking Proof by induction on |V|. The base case |V|=1 is trivial. Induction. Suppose |V|=n+1 and every tournament DAG with ≤n vertices determines a unique ranking. G has a unique vertex v of indegree 0. (Why is there a vertex of indegree 0? Why is it unique?) Let S be the set of all vertices w such that there is an edge v→w. (What vertices in V are actually in S?) The edges between nodes in S comprise a tournament DAG (why?) and hence determine a unique ranking v1, … vn. Then v, v1, … vn is a unique ranking for the vertices of G. Vertex v can only go at the beginning of the list since v→vifor i = 1, … n (why?).

  9. If a tournament graph G determines a unique ranking, then G is a DAG Proof: Exercise

More Related