lexbfs on chordal graphs

15
CORDAL GRAPH Identification via Lex BFS Nazli Temur

Upload: inria

Post on 07-Aug-2015

180 views

Category:

Science


4 download

TRANSCRIPT

Page 1: LEXBFS on Chordal Graphs

CORDAL GRAPH Identification via Lex

BFS Nazli Temur

Page 2: LEXBFS on Chordal Graphs

Cordal Graphs [Triangulated Graphs]

• Definition. An undirected graph G is called Cordal-triangulated if every cycle of length strictly greater than 3 possesses a chord, that is, an edge joining two nonconsecutive vertices of the cycle.

• For a graph G on n vertices, the following conditions are equivalent:

• 1. G is chordal.

• 2.G has a perfect elimination ordering.

• 3. If H is any induced subgraph of G and S is a vertex separator of H of minimal size, S’s vertices induce a complete subgraph of G.

Page 3: LEXBFS on Chordal Graphs

Perfect Elimination Ordering

A graph G on n vertices is said to have a perfect elimination ordering if and only if there is an ordering {v1, . . . vn} of G’s vertices, such that each vi is simplicial in the subgraph induced by the vertices {v1, . . . vi}.

As an example, the graph above has a perfect elimination ordering, witnessed by the ordering (2, 1, 3, 4) of its vertices.

Page 4: LEXBFS on Chordal Graphs

// Simplicial• Definition. In a graph G, a vertex v is called simplicial if and only if the

subgraph (adjacency set) of G induced by the vertex set {v} ∪ N (v) is a complete graph. // a clique (not necessarily maximal)]

• For example, in the graph below, vertex 3 is simplicial, while vertex 4 is not:

Vertex 3 Vertex4

Page 5: LEXBFS on Chordal Graphs

Cordal Graphs [Triangulated Graphs]

• Definition. An undirected graph G is called Cordal-triangulated if every cycle of length strictly greater than 3 possesses a chord, that is, an edge joining two nonconsecutive vertices of the cycle.

• For a graph G on n vertices, the following conditions are equivalent:

• 1. G is chordal.

• 2.G has a perfect elimination ordering.

• 3. If H is any induced subgraph of G and S is a vertex separator of H of minimal size, S’s vertices induce a complete subgraph of G.

Page 6: LEXBFS on Chordal Graphs

// Vertex SeperatorIn graph theory, a vertex subset S \subset V is a vertex separator for nonadjacent vertices a and b if the removal of S from the graph separates a and b into distinct connected components.

Page 7: LEXBFS on Chordal Graphs

Note : A graph with no or one nodes is connected.

Sconnected component 2

connected component 1

3rd Condition

If H is any induced subgraph of G and S is a vertex separator of H of minimal size, S’s vertices induce a complete subgraph of G.

//induced subgraph is complete;

Page 8: LEXBFS on Chordal Graphs

Cordal Graph Identification with LEX BFSRose, Lueker & Tarjan (1976) (see also Habib et al. 2000) show that a perfect elimination ordering of a chordal graph may be found efficiently using an algorithm known as lexicographic breadth-first search.

Page 9: LEXBFS on Chordal Graphs

LEX BFS on Cordal Graph

Sigma(a) a N’(a)-adj Partitions

L={2431}

1

2

3

4

5

• Vertices list is going be partitioned into two set P (Adj) and P’ (Non-Adj).• The next vertex will be chosen such that it has lexicographically largest

label.• P’ is always located to the left most side of the Partitions List and will be

processed first.• Any visited node will be removed from L=list.• LexBFS terminates since all vertices have been visited.

Page 10: LEXBFS on Chordal Graphs

Sigma(a) a N’(a)-adj Partitions

L={2431}

1 2 {1,4} {1,4} {3}

2

3

4

5

LEX BFS on Cordal Graph

2 is Removed

• Vertices list is going be partitioned into two set P (Adj) and P’ (Non-Adj).• The next vertex will be chosen such that it has lexicographically largest

label.• P’ is always located to the left most side of the Partitions List and will be

processed first.• Any visited node will be removed from L=list.• LexBFS terminates since all vertices have been visited.

Page 11: LEXBFS on Chordal Graphs

Sigma(a) a N’(a)-adj Partitions

L={2431}

1 2 {1,4} {1,4} {3}

2 1 {4,3} {4} {3}

3

4

5

1&2 is Removed

LEX BFS on Cordal Graph• Vertices list is going be partitioned into two set P (Adj) and P’ (Non-Adj).• The next vertex will be chosen such that it has lexicographically largest

label.• P’ is always located to the left most side of the Partitions List and will be

processed first.• Any visited node will be removed from L=list.• LexBFS terminates since all vertices have been visited.

Page 12: LEXBFS on Chordal Graphs

Sigma(a) a N’(a)-adj Partitions

L={2431}

1 2 {1,4} {1,4} {3}

2 1 {4,3} {4} {3}

3 4 {3} {3}{}

4

5

LEX BFS on Cordal Graph

1&2&4 are Removed

• Vertices list is going be partitioned into two set P (Adj) and P’ (Non-Adj).• The next vertex will be chosen such that it has lexicographically largest

label.• P’ is always located to the left most side of the Partitions List and will be

processed first.• Any visited node will be removed from L=list.• LexBFS terminates since all vertices have been visited.

Page 13: LEXBFS on Chordal Graphs

Sigma(a) a N’(a)-adj Partitions

L={2431}

1 2 {1,4} {1,4} {3}

2 1 {4,3} {3}{4}

3 4 {3} {3}{}

4 3 {} {}

5 Terminate

ALL is Removed

LEX BFS on Cordal Graph

Sigma(a)=(2,1,4,3)

• Vertices list is going be partitioned into two set P (Adj) and P’ (Non-Adj).• The next vertex will be chosen such that it has lexicographically largest

label.• P’ is always located to the left most side of the Partitions List and will be

processed first.• Any visited node will be removed from L=list.• LexBFS terminates since all vertices have been visited.

Page 14: LEXBFS on Chordal Graphs

Conclusion

• Choral Graph and its induced subgraphs admits a perfect elimination ordering.

• Chordal graphes has vertex separators that separates the graph into distinct connected components by removal their.

• LexBFS Algorithm is a polynomial algorithm that can give the answer of the identity of a graph is chordal or not.

• There can be multiple perfect elimination ordering in a graph, Lex BFS can give multiple ordering as a part of start not.

• However we need to know which percentage of perfect elimination orders can be observed by Lex BFS.

• Still the labelling function of Lex BFS is not clear.

Page 15: LEXBFS on Chordal Graphs

THANKS !