Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need just report part. So I need fsm diagram, fsm table and pseudocode. Thanks for helping. Object: Realization of a Distributed Vertex Coloring Algorithm

I need just report part. So I need fsm diagram, fsm table and pseudocode. Thanks for helping.
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 ma-
chine (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
algorithm. Send your Python code as assignment in blackboard.
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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

What advice would you provide to Jennifer?

Answered: 1 week ago

Question

What are the issues of concern for each of the affected parties?

Answered: 1 week ago