10.09.2013 Views

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

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.

LECTURE NOTES OF ADVANCED DATA STRUCTURE (MT-CSE 110)<br />

To create a minimum spanning tree in a strongly connected network, that is in a<br />

network in which there is a path between any two vertices, the edges for the<br />

minimum spanning tree are chosen so that the following properties exist: Every<br />

vertex is included. The total edge weight of the spanning tree is the minimum<br />

possible that includes a path between any two vertices.<br />

4<br />

2<br />

Applications<br />

• Any time you want to visit all vertices in a graph at minimum cost (e.g.,<br />

wire routing on printed circuit boards, sewer pipe layout, road planning…)<br />

• Internet content distribution<br />

– $$$, also a hot research topic<br />

– Idea: publisher produces web pages, content distribution network<br />

replicates web pages to many locations so consumers can access at<br />

higher speed<br />

– MST may not be good enough!<br />

• content distribution on minimum cost tree may take a long<br />

time!<br />

Provides a heuristic for traveling salesman problems.<br />

Given a weighted graph G find a minimum cost spanning tree.<br />

0<br />

3<br />

3 2<br />

2<br />

Prepared By :­<br />

Er. Harvinder Singh<br />

Assist Prof., CSE, H.C.T.M (Kaithal) Page ‐ 93 ‐<br />

1<br />

1

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

Saved successfully!

Ooh no, something went wrong!