Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
• Complexity: O ((V+E)2)
Euler Path
• Parallel Algorithm :
• Stage 1:
• Merging 2 arrays of vertices which represent the
end vertices of the edges
• Parallel Sort algorithm to easily find degrees of each
vertex in the next step
• Computing boundary array to find degrees
• Parallel Prefix Sum algorithm on degree mod 2 array
to check if euler tour exists
Euler Path
• Parallel Region:
• Stage 2:
• Parallel Prefix Sum of array of degrees
• Finding new vertices and correspondence array
• Finding the new edges between new vertices
Minimum Spanning Tree
• In a weighted graph, a minimum spanning tree is a
spanning tree that has minimum weight than all
other spanning trees of the same graph.
• Step 2 (find root): Each vertex finds the root of the tree
to which it belongs using the well known pointer jumping
algorithm. The input R to the algorithm is the set of root
vertices, and the input S is the set of non-root vertices.
Minimum Spanning Tree
• Step 3 (rename vertices): Each processor finds the new
name of all vertices listed in its edge lists.