Minimum Spanning Tree, NP-completeness




CS146

Chris Pollett

May 7, 2014

Outline

Introduction

Our Generic Algorithm Revisited

Krushkal's Algorithm

Example of Krushkal's Algorithm

An example of Krushkal's algorithm in action

Runtime of Krushkal's Algorithm

Prim's Algorithm

Prim Example

An example of Prim's algorithm in action

When is a problem feasibly solved?

Optimization Problems versus Decision Problems

Not so Feasible Problems

Hardest Problems in NP

Towards showing there is an NP-Complete Problem

Conjunctive Normal Form

SAT is NP-complete

3SAT is NP-complete