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

  Developed a new variety of corn for farmers

You are in charge of a large firm, Drexanto, which has developed a new variety of corn for farmers that is highly resistant to disease and bugs. Suppose that the production function for this corn is

  Practices for security in rdbms

"Can you do some research and tell us a little on best practices for security in RDBMS' in regard to transactions?  What if a hacker takes money in a transaction sent to their account and then issue a ROLLBACK to the calling bank?"

  Addresses design issues and evaluation issues

A new design for an interactive device or some software application. It will provide the student with an overall look at the entire lifecycle of design from an HCI perspective. Feel free to incorporate techniques and references from the readings o..

  Software developer development and improvement

This assignment consists of two (2) sections: an improvement plan and a PowerPoint presentation. You must submit the two (2) sections as separate files for the completion of this assignment.

  How cultural differences in colors and images are perceived

What are some examples of cultural differences in how colors and images are perceived? How would you change the colors and images on your website to appeal to a wider global audience.

  Four cloud computing service models

In your current business environment, or one you were in at one time, which of the four cloud computing service models do you think might be good for that company to consider? How would a change to one of the cloud computing service models change ..

  Two choices for compensation

Mr. Vasquez has been given two choices for his compensation. He can have $20,000 cash plus $500 per month for 10 years, or he can receive $12,000 cash plus $1000 per month for 5 years. If the interest rate is 8%, which is the better offer?

  The center city anuraphilic

The Center City Anuraphilic (frog lovers) society has fallen on hard times. Abraham, Bobby and Charlene are the only remaining members and each feels equally entitled to take possession of the society's collection of live rare tropical frogs. The dec..

  Create an application that allow a new customer order house

Create an application that will allow a new customer to order a house. You'll allow the customer to choose among four models (Aspen, Britattany, Colonial, and Dartmoor) by creating separate ButtonGroups.

  Write an essay paper addressing what is coso

Write an essay paper addressing what is COSO

  Create a class called card that represents a playing card

Create a class called Card that represents a playing card. A Card has two fields: displayValue and suit. A card should be able to display itself.

  Will it remain in this position when it is released

The uniform thin pole has a weight of 30 lb and a length of 26 ft. If it is placed against the smooth wall and on the rough floor in the position , will it remain in this position when it is released? The coefficient of static friction is µS =0.3

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