Assign resources to processes for k processes will be active

Assignment Help Software Engineering
Reference no: EM1370340

Suppose you are managing a system in which asynchronous processes make use of shared resources. Thus, the system has a set of n processes and a set of m resources. At any given point in time, each process specifies a set of resources that it requests to use. Each resource might be requested by many processes at once; but it can only be used by a single process at a time. Your job is to allocate resources to processes that request them. If a process is allocated all the resources it requests, then it is active; otherwise it is blocked. You want to perform the allocation so that as many processes as possible are active. Thus, we phrase the Resource Reservation problem as follows: given a set of process and resources, the set of requested resources for each process, and a number k, is it possible to allocate resources to processes so that at least k processes will be active? Consider the following list of problems, and for each problem either give a polynomial time algorithm or prove that the problem is NP-complete.

(a) The general Resource Reservation problem defined above.
(b) The special case of the problem when k=2.
(c) The special case of the problem when there are two types of resources, say rooms and equipments, each process requires at most one resource of each type.
(d) The special case of the problem when each resource is requested by at most two processes.

Reference no: EM1370340

Questions Cloud

Explain what is the relevant cost of each recharger : Explain What is the relevant cost of each recharger if they make it themselves and What is the relevant cost of each recharger if they outsource?
Analyze use of databases in business environment : Create the 2-3 page memorandum analyzing use of databases in the business environment. Include what database applications must be used: Microsoft Access, IBM DB2, Oracle, etc.
Explain what are the total relevant costs of accepting : Explain What are the total relevant costs of accepting the special order and From a quantitative basis, should they accept the special order and By what amount will the rink's net income increase or decrease if they accept the special order?
Basic assumption about the velocity of money transforms : Determine the basic assumption about the velocity of money transforms the equation of exchange into the quantity theory of money?
Assign resources to processes for k processes will be active : Given a set of process and resources, set of requested resources for each process, and number k, is it possible to assign resources to processes so that at least k processes will be active?
Question about gdp : The question used this table that demonstrate the value of GDP in the nation of Purintania. The figures demonstrate are in millions of 1980 dollars and current dollars.
Explain what is your leadership perspective towards : Explain what is your leadership perspective towards this trend as a means to achieve a sustainable competitive advantage?
Cost-output relationships : For each of following cost-output relationships, explain the shape (U-shape, decreasing, increasing, constant) of the average total cost and marginal cost functions
What are the various manufacturing processes : What are the various manufacturing processes and which manufacturing process is most appropriate for a real estate organization and why?

Reviews

Write a Review

Software Engineering Questions & Answers

  Internal events by creatinguml one state diagram

Which event driven modeling can be used to illustrate how system responds to external and/or internal events by creating a UML ONE State Diagram.

  How project visualization maps to architectural views

Choose one of the agile software development methodologies/processes and explain how changes can be managed in software development projects. Describe how project visualization maps to architectural views.

  Risk management in tellers in four-digit numeric password

Tellers at each branch use a four-digit numeric password, and each teller's computer is transaction-coded to accept only its authorized transactions. Carry out a risk assessment.

  Sketching flowchart for people all in different departments

Sketch a document flowchart to depict each of the scenarios given below: Three people, all in different departments, look at the same document before it is eventually filed in a fourth department.

  Architecture tradeoff analysis method

what is the methods for according to specific quality attribute like (performance, reliability  ...etc.)?Is it possible to use  Architecture Tradeoff Analysis Method  ( ATAM )  for optimization ?

  Linear-time algorithm-find odd-length cycle-directed graph

Give a linear-time algorithm to find an odd-length cycle in a directed graph. You may NOT assume that the graph is strongly connected.

  How software architecture department can support production

Explain how Software Architecture Department can support production, inventory, sales, and marketing to assure Zilack can meet its business objectives.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Draw an e-r diagram for hospital staff

Draw an E-R diagram for the following situations. From discussions with hospital staff, reviewing hospital documents and studying existing information systems, the study team developed a list of business rules.

  Draw a class diagram for one-of-a-kind antiques

Draw a class diagram for the following situation Stillwater Antiques buys and sells one-of-a-kind antiques of all kinds (e.g., furniture, jewelry, china, and clothing).

  What is the need to identify test deliverables

What is a test plan? List out the processes that are covered in a test plan. What is the need to identify test deliverables?

  Create flowchart to accept length of base of triangle

Create a flowchart that will accept the length of the base and height of a triangle and print the area. Area of a triangle is : area = 1/2b*h ; where b = base and h = height.

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