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

  Identify several processes and concepts for managing project

Identify several processes and concepts for managing projects. Thinking about these processes and concepts, answer the following questions: Which process or concept do you feel would benefit your current organization the most? Explain.

  Drawing diagram of payroll edi system

Draw diagram of the proposed payroll EDI and EFT system. It is suggested for students to utilize Microsoft Visio to draw the diagram.

  Draw flow chart to compute arithmetic operation

While drawing flow chart, you require to add little more functionality as follows like during any computations of any arithmetic operation, if result exceeds 2000 or comes equal to 100, user must input the data again

  Software management

SOFT337 – Software Management, Demonstrate the  ability to investigate, gather appropriate sources, analyse, evaluate key challenges and discuss future trends within the chosen area of your choice .

  Draw entity-relationship diagram for heg

Instructors are capable of teaching many different courses. Draw an entity-relationship diagram for HEG (in 3NF).

  How to draw flow chart to read employee master file

How to draw a flow chart to read the employee master file and to output the number of employees in each department who have a basic degree

  Design algorithm to find clique in graph

Design an O(n9) algorithm to find a 9-clique in G, if such clique exists; answer "no such a clique" if it does not exist. Please describe your algorithm and sketch its correctness. Pseudocode is NOT required.

  Describe relationship between different types of software

Describe the relationship between different types of software and the type of machine with which they are compatible.

  Create an eer mode using traditional eer notation

Create an EER model for the following situation using traditional EER notation, the Visio notation or the supertypes notation. An international school of technology has hired you to create a database management system

  Explaining software engineering in detail

Select a topic related to some aspect of Software Engineering. Draft a 2500+ word (minimum) paper on that topic - single spaced 12 pt times or times new roman font.

  Uml class diagram for client and invoice classes

Design UML class diagram for client and invoice classes, design the code in Java for your client and invoice classes, and draw the program that consultant will use.

  Create and annotate class hierarchy for types of faculty

Create and annotate a class hierarchy to represent various types of faculty at a university. Show what characteristics would be represented in various classes of hierarchy.

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