Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you help me to solve my homework report, not with the pseodo code but with the real python code, i really dont have any

Can you help me to solve my homework report, not with the pseodo code but with the real python code, i really dont have any idea, thank you for solving my homework. Here it is::
Object: Realization of a Distributed Vertex Coloring Algorithm Using Python and mpi4py. The aim of this project is to design and implement a distributed vertex coloring algorithm using SSI model of communication. This model requires to have a spanning tree built prior to the working of the algorithm to implement synchronous rounds. You may assume such a tree is built and you can assign parents and children to the nodes as you like.
At each round any unassigned node that has the highest rank among its neighbors selects an unused color and colors itself and notifies its neighbors of its choice.
You can work in groups of two. If you do, each member is responsible for the whole of the project.
Procedure:
High Level Design:
Provide high level design of the distributed algorithm using a finite state machine (FSM) diagram with descriptions.
Convert FSM to FSM table.
Provide pseudocode of the algorithm or pesudocode of the actions with brief comments.
Detailed Design: (Using actions is optional) Convert actions to Python code and implement the algorithm using mpi4py. You can implement without using actions.
Demo: Show the operation of the algorithm for the sample network represented by the graph in Fig. 1
Figure 1: A sample graph for Demo
Report: Your report should contain description of high level design with FSM diagrams and FSM table. Either give the pseudocode of actions or the pesudocode of the whole
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions

Question

Windows includes its own antivirus tool. True False

Answered: 1 week ago