

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























Concepts and Algorithms
a b c a b c
Metabolic pathways
Docsity.com
Phylogenetic trees Docsity.com
x y
path : no vertex can be repeated example path: a-b-c-d-e trail : no edge can be repeated example trail: a-b-c-d-e-b-d walk : no restriction example walk: a-b-d-a-b-c
closed: if starting vertex is also ending vertex length : number of edges in the path, trail, or walk
circuit: a closed trail (ex: a-b-c-d-b-e-d-a) cycle: closed path (ex: a-b-c-d-a)
a
b
c
d
e
Simple graph a
b
c
d
e K 5
a b
c
d
e
Disconnected graph with two components Docsity.com
Directed graph b^ a
c
d x y
z
w
u v
c b
a 4 d
2
6
8 10
a a^ b^ c 8^ d 4 bc 6 d 10 2
a b c (8), d (4) dc^ b (6)c (2), b (10)
a 1 2 8^^3 4 5 4 b c (^) 6 t (^) t t t d 2 10 t adjacency matrix
adjacency list
incidence matrix
a
b
c
d
e b
c
d
e
a
c
d
G(V,E) G’({a,c,d},{{c,d}})
Induced subgraph of G with V’ = {b,c,d,e}
b
c
d
e G G
a
b
c
d
e
A B C D E
Initial 0 ∞ ∞ ∞ ∞
Process A 0 10 3 20 ∞
Process C 0 5 3 20 18
Process B 0 5 3 10 18
Process D 0 5 3 10 18
Process E 0 5 3 10 18
A
B
C E
D 10
5 20 3 2 15
11
Maximal cliques: {1,2,3},{1,3,4} Vertex cover: {1,3} Clique cover: { {1,2,3}{1,3,4} } Clique partition: { {1,2,3}{4} }