06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 399 — #407<br />

10.11. Summary of Relational Properties 399<br />

Theorem. If W is the minimum weight matrix <strong>for</strong> length k walks in a weighted<br />

graph G, and V is the minimum weight matrix <strong>for</strong> length m walks, then W V is<br />

min+<br />

the minimum weight matrix <strong>for</strong> length k C m walks.<br />

Problems <strong>for</strong> Section 10.4<br />

Practice Problems<br />

Problem 10.9.<br />

Let<br />

A WWD f1; 2; 3g<br />

B WWD f4; 5; 6g<br />

R WWD f.1; 4/; .1; 5/; .2; 5/; .3; 6/g<br />

S WWD f.4; 5/; .4; 6/; .5; 4/g:<br />

Note that R is a relation from A to B and S is a relation from B to B.<br />

List the pairs in each of the relations below.<br />

(a) S ı R.<br />

(b) S ı S.<br />

(c) S 1 ı R.<br />

Problem 10.10.<br />

In a round-robin tournament, every two distinct players play against each other<br />

just once. For a round-robin tournament with no tied games, a record of who beat<br />

whom can be described with a tournament digraph, where the vertices correspond<br />

to players and there is an edge hx !yi iff x beat y in their game.<br />

A ranking is a path that includes all the players. So in a ranking, each player won<br />

the game against the next lowest ranked player, but may very well have lost their<br />

games against much lower ranked players—whoever does the ranking may have a<br />

lot of room to play favorites.<br />

(a) Give an example of a tournament digraph with more than one ranking.<br />

(b) Prove that if a tournament digraph is a DAG, then it has at most one ranking.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!