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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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