18
8/9/2019 Minimum max spannig tree slides http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 1/18 Minimum Max Stretch Spanning Tree Problem Ashok Naval Under the Guidance of Dr Alok Singh November 27, 2014 Ashok Naval  Minimum Max Stretch Spanning Tree Problem

Minimum max spannig tree slides

Embed Size (px)

Citation preview

Page 1: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 1/18

Minimum Max Stretch Spanning Tree Problem

Ashok Naval

Under the Guidance of Dr Alok Singh

November 27, 2014

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 2: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 2/18

Introduction

Given a graph G and a spanning tree T of G,we define the stretchof u and v in T as

str T ,G   =   dist T (u ,v )dist G (u ,v )

Denote the  maximum stretch  of T with respect to G by

maxstr (T , G ) =   max

x ,y ∈V (G ){str T ,G (x , y )}

We denote the   minimum max-stretch  of G byminstr (G ) = min{maxstr (T , G )|T is a spanning tree of G }

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 3: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 3/18

Application of MMST problem

Sequence alignment problems in computational biology.

Network design where the cost of an edge may represent thecost incurred in routing messages between its endpoints.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 4: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 4/18

Previous attempt on the problem

Most of the work on MMST is focused on designingapproximation algorithm for it.

The approximation algorithms provide solutions that areguaranteed to be within a certain factor of optimum

But on many problems, solution obtained with metaheuristicoutperform them.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 5: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 5/18

Difference between Heuristic and Meta-heuristics

Heuristics are problem-dependent techniques.They are oftentoo greedy, they usually get trapped in a local optimum andthus fail, in general, to obtain the global optimum solution.

Meta-heuristics, on the other hand, are problem-independenttechniques.They are not greedy. They may accept atemporary deterioration of the solution, which allows them toexplore more thoroughly the solution space and thus to get ahopefully better solution

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 6: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 6/18

Overview of ABC algorithm

Based on metaheuristic approach motivated by intelligentforaging behavior of honeybee swarm.

Foraging bees are divided into three classesEmloyedOnlookersScouts

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 7: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 7/18

The ABC algorithm follows an iterative process.Begins by associating all employed bees with randomlygenrated food sources(solution).

The probabiltiy  p i  of selecting a food source i is determined

using expressionp i  =

  F i mi =1

With this scheme, higher the fitness of a food source,higherwill be the probability of selection.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 8: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 8/18

Good food source will get more onlookers than the bad ones

After all onlookers have selected their food sources,each willdetermine food source in the neighborhood.

Among all the neighboring food sources i and food source iitself, the best food source is determined.

This best food source becomes the new location of the foodsource i in the next iteration.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 9: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 9/18

Pseudo code for ABC algorithm

1 Initilization

2 Move the employeed bees onto their food sources andevaluate their nectar amounts.

3 Place the onlookers depending upon the nectar amounts

obtained by employeed bees.

4 Send the scouts for exploring new food source.

5 Memorize the best food sources obtained so far.

6 If a termination criterion is not satisfied, go to step 2;

otherwise stop the procedure and display the best food sourceobtained so far.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 10: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 10/18

Pseudo Code for Improving the solution

1 S i =S 1,S 2,...S n

2 Choose the path which is causing the highest stretch factor.

3 Randomly delete an edge.

4 Find the candidate edge connecting the two partition resultingfrom step 3.

5 Recompute the stretch factor.

6 If stretch factor improves, go to step 2.

7 If solution doesn’t imrpove for required no. of time then pickanother solution.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 11: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 11/18

Results obtained so far

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 12: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 12/18Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 13: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 13/18

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 14: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 14/18

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 15: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 15/18

My solution

Any known algorithm for all pair shortest path is order of O(n3).

Spanning tree have number of edges=number of vertices-1.

Breadth first traversal gives level-wise traversal of node a in atree.

If we do BFS on each node and represent the tree withadjacency list, we can reduce this time compelxity to O(n2).

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 16: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 16/18

What we are planning to do in future

Further improving the all pair shortest algorithm for spanningtree.

To implement other metaheuristic technique for the sameproblem and compare it with ABC algorithm

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

R f

Page 17: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 17/18

References

C. Liebchen, G. Wunsch  The zoo of tree spanner problems ,Discrete Applied Mathematics - DAM , vol. 156, no. 5, pp.569-587, 2008.

A. Singh, S. Sundar  An artificial bee colony algorithm for MMST problem, Springer-Verlag, 2011.

Y. Emek, D. Peleg  Approximating MMST on unweighted 

graphs , SIAM J. COMPUT., Vol. 38, No. 5, pp. 1761-1781,

2008.

Ashok Naval   Minimum Max Stretch Spanning Tree Problem

Page 18: Minimum max spannig tree slides

8/9/2019 Minimum max spannig tree slides

http://slidepdf.com/reader/full/minimum-max-spannig-tree-slides 18/18

Thank You

Ashok Naval   Minimum Max Stretch Spanning Tree Problem