25.06.2013 Views

1 transparent par page - Montefiore

1 transparent par page - Montefiore

1 transparent par page - Montefiore

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Matrices d’adjacence<br />

6.3 Adjacency Matrices<br />

A graph can be represented by an adjacency matrix. In <strong>par</strong>ticular, if a graph ha<br />

v1,...,vn, ◮ Unthen graphe theG adjacency = (V , E) matrix avec pour is n ⇥sommets n. The V entry = {v1, in row v2, . i, . . column , vn} j is<br />

is an edge peut vi—vj être représenté and is 0 if <strong>par</strong> there une is matrice no suchd’adjacence edge. For example, de taille here n × n. is a grap<br />

adjacency L’élément matrix: (i, j) de cette matrice vaut 1 si vi—vj ∈ E, 0 sinon.<br />

◮ Par exemple :<br />

v 3<br />

v 1 v2<br />

v 4<br />

0 1 1 1<br />

1 0 0 1<br />

1 0 0 0<br />

1 1 0 0<br />

228

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

Saved successfully!

Ooh no, something went wrong!