13.07.2015 Views

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

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.

Complexity of Connected Components <strong>in</strong> Evolv<strong>in</strong>g Graphs 267h 22h 1232 22h 23K 14h11232v1232h142v 3h2 h21322 32h h24 42v3h413 2 h 3432 v 2 243 2 32h 34322h 33v1v2v31, 4h44v4Fig. 5. Construction for Theorem 2.3.4 Decomposition <strong>in</strong>to o-SCC’sHere we prove the more general result for the case of o-SCC which has a lessstrict def<strong>in</strong>ition than SCC. We def<strong>in</strong>e the decision problem as follows.o-COMPONENT: Given an evolv<strong>in</strong>g digraph G and an <strong>in</strong>teger k, is there ao-SCC of size k?Although SCC’s are a special case of o-SCC’s, the NP-Completeness of COM-PONENT does not directly imply that o-COMPONENT is NP-Complete as well.This is because a possible polynomial time algorithm for o-COMPONENT needonly answer the above decision problem and not identify the o-SCC’s of size k,thus mak<strong>in</strong>g it difficult to verify if at least one o-SCC of size k is an SCC as well(<strong>in</strong> other words if the set of h-nodes is empty or not for a particular o-SCC ofsize k). Also, the same digraph G may conta<strong>in</strong> both an SCC (of <strong>in</strong>determ<strong>in</strong>atesize) and an o-SCC of size k, soo-COMPONENT would always return “yes”,ignor<strong>in</strong>g the presence or absence of a SCC of size k, there<strong>by</strong> leav<strong>in</strong>g COMPO-NENT unsolved. Conversely, s<strong>in</strong>ce SCC’s are a special case of o-SCC’s, prov<strong>in</strong>go-COMPONENT to be NP-Complete does not directly imply that COMPO-NENT is NP-Complete as well.These arguments entail for an <strong>in</strong>dependent proof for the NP-Completenessof o-COMPONENT. Fortunately, however, the same widget utilized for the previousreduction can be applied <strong>in</strong> the current case, yield<strong>in</strong>g the follow<strong>in</strong>g results.Theorem 3. o-COMPONENT is <strong>in</strong> NP.Proof: Same as the proof for Theorem 1.Theorem 4. CLIQUE can be reduced to o-COMPONENT <strong>in</strong> polynomial time.Proof: Given an undirected graph G =(V,E) and the <strong>in</strong>teger k>3, the samearguments used <strong>in</strong> the proof of Theorem 2 apply here. Indeed, the same widgetcan be used to reduce CLIQUE to o-SCC, s<strong>in</strong>ce a SCC is a o-SCC where H = ∅,and <strong>in</strong> that widget, a max o-SCC is a max SCC, which <strong>by</strong> Theorem 2 impliesthe reduction from CLIQUE.

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

Saved successfully!

Ooh no, something went wrong!