Docsity

Kruskal's Algorithm: A Greedy Approach to Minimum Spanning Trees, Essays (high school) of Design

Partial preview of the text

Download Kruskal's Algorithm: A Greedy Approach to Minimum Spanning Trees and more Essays (high school) Design in PDF only on Docsity!

IN THE NAME OF ALLAH WHO IS THE

MOST MERCIFUL AND BENEFICIAL.

• ASSALAM-O-ALAIKUM

KRUSKAl ALGORITHM

Minimum Spanning 🌲

  • INTRODUCTION
  • APPLICATIONS
  • WORKING
  • EXAMPLES
  • ADVANTAGES
  • DISADVANTAGES

CONTENTS

  • Directly Based On The MST ( Minimum Spanning Tree) Property
  • Kruskal's Algorithm Is A Greedy Algorithm
  • The Graph Must Be Weighted, Connected and Undirected. INTRODUCTION

Steps of kruskal’s algorithm Step 1 - Remove all loops and Parallel Edges

Step 2 - Arrange all edges in their increasing order of weight

EXAMPLES

Continued…

ADVANTAGES It is easier to implement.

  1. They are much faster to execute.
  2. Greedy algorithm are used to solve optimization problems.
  3. Requires only n-1 iterations possibilities.
  4. It solves problem’s with multiple solutions. 6.Have short computational time.

DISADVANTAGES

  • Provides upper bound only.
  • Does not use in large and complex cases.
  • Not suitable for multi-cooperation networks.
  • They are not always use for global optimum solution.
  • The greedy approach.