Job specifications from a data file

Assignment Help Basic Computer Science
Reference no: EM131111524

The star indicates that the pair of fields may be repeated 0 or more times.

j:<index>:<name>:<creature index>:<time>[:<required artifact type>:<number>]*

The project will be graded according the criteria for the final project - see below.

Elaboration:

  1. Reading Job specifications from a data file and adding the required resources to each Job instance.
    • j:<index>:<name>:<creature index>:<time>[:<required artifact type>:<number>]*
  2. Resource pools - data structures supporting artifacts of a given type within each party, resource pools, along with supporting assignment to creatures
  3. Job threads - using the resource pools and supporting the concept of blocking until required resources are available before proceeding.
  4. The Job threads should be efficient:
    1. If both the Creature of that Job and all the required resources are available, the Job should start.
    2. Otherwise, the Job should not hold any resources if it cannot progress.
    3. Use synchronization to avoid race conditions.
    4. Each Job thread should hold any required synchronization locks for a very short period.
  5. GUI showing:
    • Resources in pools
    • Thread progress, resources acquired, and resources requests still outstanding

Reference no: EM131111524

Questions Cloud

Identifies and explains the strong points of the managers : Analyzes the basic legal, social, and economic environment in which the organizations operate, Analyzes the managerial, operational, and financial issues impacting the organizations including: Company Culture and Performance.
What is wrong with this scene : The husband immediately called the police to notify them that she had passed away. The husband explained that his wife was in the exact same position as when he left her to start his errands - What is wrong with this scene?
Find the prediction equation for managerial success : H. Mintzberg's classic book, The Nature of Managerial Work (1973), identified the roles found in all managerial jobs. An observational study of 19 managers from a medium-sized manufacturing plant extended Mintzberg's work by investigating ..
Was the great depression deal beneficial : Was The Great Depression/New Deal Beneficial? Was World War II The Most Definitive War Ever? Did The Cold War Severely Impact America? Was The Modern Civil Rights Movement Successful?
Job specifications from a data file : Reading Job specifications from a data file and adding the required resources to each Job instance. j: : : : [: : ]*
Business and capitalisation of the two companies : Over the past two decades, the People's Republic of China has invested billions of RMB in domestic and international air travel capability. Today, almost every major city in China has a new airport. The average aircraft age in the (largely state-owne..
Sas simple linear regression printout relating : Refer to Exercises 9.21 and 9.29 (p. 487,493). The SAS simple linear regression printout relating number of employees y to age of a fast-growing firm x is reproduced above.
Develop a work breakdown structure : Develop a Work Breakdown Structure (WBS) and project schedule in a Gantt format for the E-Mail Upgrade Project described in the scenario.The WBS and resultant schedule should contain the following high-level activities: 1.0 Evaluate User & System ..
Developing and managing a global portfolio : One of the most difficult tasks of developing and managing a global portfolio is assessing the risks of potential foreign investments. Duke University researcher C. R. Henry collaborated with two First Chicago Investment Management Company directo..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Affect varied locations to different extents

In this course we examine a number of environmental impacts, and some of them may be of particular concern in your local area. Environmental impacts like urban sprawl, air and water pollution, and rapid urban growth (just to name a few) tend to affec..

  Why is counter initialization important

Why is counter initialization important?

  Create a class named vehicle that acts as a super class for

Create a class named Vehicle that acts as a super class for vehicle types

  Write a program that places the names in an array

The USPres.txt contains the names of the 44 U.S. presidents in the order in which they served. write a program that places the names in an array and displays all presidents for a requested range of numbers.

  What is the ownership cost of the vehicle

If her interest rate is 7% compounded annually, what is the ownership cost of the vehicle over 3 years? Six years

  Ricard-agrawala algorithm

Show in the Ricard-Agrawala algorithm (using verbal proof) that the critical sections are accessed in increasing order of timestamp.

  Identify potential business environments

Compare and contrast benefits and challenges that exist between centralized database management systems and distributed database management systems. Identify potential business environments where each can be properly used.

  Discuss five characteristics of direct manipulation systems

Discuss Disadvantages of GUI- Discuss five characteristics of direct manipulation systems according to Shneiderman

  Explain what his type of error message

Regards to a computer error. In Linux Lubuntu 15.04, there is a common error message that appears as "Reboot: System Halted" wondering if anyone can explain what his type of error message is and what it means.

  Focus on the function and how it is secured by the use

Explain two or three uses for Microsoft Certificate Services. Focus on the function and how it is secured by the use of a PKI.

  Diseases of the gastrointestinal system

A new appreciation for the path the food you eat takes. Let's examine some of the problems that patients encounter in this complex body system. A section titled "A Quick Trip Through Some of the Diseases of the Gastrointestinal System".

  Provide your reasoning using ethical codes of conduct

Beside each situation below, place a check by the term(s) that best reflects your opinion of the behavior of the individual. Provide your reasoning for each of your answers using both the ethical codes of conduct and the information on computer cr..

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