Calculate matchings on bipartite graph

Assignment Help Computer Engineering
Reference no: EM131485578

(A) Program read input graph from a text file ( containing information about graph like edge, node, number of requested pair node), set of middlebox location, set of request node pair(node pair is like connection between 2 node who connect for communication).

NOTE: middlebox :- is like any firewall, proxy, network function which will be placed between two node pair and program is to assign the middleboxes between them using the algorithm and generate output as text file with number of assigned middleboxes.

(B): Apply approximation algorithm on the graph read from text file.

In algo: in step 5 we need to apply augmenting path method. Algorithm is regarding deploying middlebox in graph by applying augmenting path method( based on Ford-Fulkerson Algorithm - Find BFS and then DFS -- used for maximum matching). When there is no more augmenting exist in graph, then graph is max matching graph.

Details how algo work here::: ml is potential middlebox location. M is empty set, U is set of all nodes and A(M) is partial assignment on given empty set. Initially partial assignment is empty. Algorithm starts with empty assignment and route through each possible middlebox location ml ? U \ M ( U is union here). The function ? calculates matchings on bipartite graph by using augmenting path methods (tmp<- ?(M U {ml}) U is union here ) and after calculating submodular function, if matching is more than initial optimal matching (opt <- 0) then it updates opt and deploy middlebox result along with already deployed middlebox in graph. The algorithm performs |M*| iterations on given graph where |M*| is amount of middleboxes. For each ml ? U \ M, ?(M U {ml}) is calculated by using augmenting path method and middlebox location ml with highest value as added to set M.

(C): Produce graph as output and/or produce log file with details of assigned middlebox after applying algorithm, number of nodes.

1875_alorithm.jpg

Reference no: EM131485578

Questions Cloud

Liquid that is a weak base in water : Pyridine, C5H5N, is a bad-smelling liquid that is a weak base in water. Its pKb is 8.77. What is the pH of a 0.20 M aqueous solution of this compound?
Determine its migration in our enviroment : What properties of crabon dioxide determine its migration in our enviroment?
Carbon dioxide and carbon monoxide : How does the type of bonding and functional group these carbon dioxide and carbon monoxide posses affect their reactivity?
Discuss the origin of rational choice theory : Provide a detailed definition of the consensus view of crime, the conflict view of crime, and the interactionist view of crime.
Calculate matchings on bipartite graph : Produce graph as output and/or produce log file with details of assigned middlebox after applying algorithm, number of nodes
Describe the type of the case : Create a case report for each selected case : Provide the title of the case and in which court the case is involved.Describe the type of the case.
Explain the significance of minimum wage : Explain why it is important for a nation to set economic and social goals.
Illustrate how economic and social goals may conflict : Determining Cause and Effect Use a graphic organizer like the one below to illustrate how economic and social goals may conflict with one another.
Vapor pressure of water : What is the vapor pressure of this solution at 30°C? (The vapor pressure of water is 31.8 mmHg at 30°C.)

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd