18.100C Lecture Notes - Lecture 1: Glossary Of Dune Terminology, Travelling Salesman Problem, Greedy Algorithm

57 views1 pages
School
Department
Course

Document Summary

Outline: mst (minimum spanning trees, motivations, algorithm for nding them (greedy algorithm, proof of correctness, applications: traveling salesman problem (tsp) Spanning tree: given p = (v, e), a spanning tree is a subgraph p" = (v, e"). Minimum: g = (v, e, w) where w is the weight function and. Laying electrical wires between two points, for which their is a cost for infrastructure. Minimum spanning trees allow us to minimize infrastructure cost while connecting all customers. Greedy algorithm only takes the best decision for its given time step without considering the future implications. Forest: a set of trees with independent edges. Induced forest: if you have g = {abc} and q = {ab}, then the induced forest is (g, q) Maintain a set of edges, a, where a = {e e } We are looking at the forest that a implies on g, meaning g:a. Minimum weight and endpoints of our new edge must be in different components.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents