subject

Definitions and specifications: a task (e. g, abc can be completed only if it has no dependencies or all its dependencies are met. a dependency: (a, b) indicates that a has to be completed before b. a task list is a list of all tasks to be completed. a dependency list is a list of all dependencies for all task.

the task list and dependency list will be read from a text file. a time step is the event when all task that can be completed is completed.
the task list and the dependency list can be modified according to user input. when a task is deleted, all dependencies for the deleted task are also deleted. the task list and dependency list are read into your project from a single text file ("taskdata. txt"). the first line in the text file gives the task list. tasks are separated by a space. the second line in the text file gives the dependency list. the dependencies are separated by a space.

tastdata. txt example:

abcdef (a, b) (a, c) (bd) (cd) (de) (e, f)

given the data in the taskdata. txt and any changes provided through user input, provide the following information:
1) a valid ordering of task if one exist.
2) if no valid ordering is possible, identify a cycle that prevents a valid ordering.
3) if a valid ordering exist, indicate whether or not the there is more than one.
4) report the minimum number of time steps needed to complete all tasks.
5) for each time step, list all remaining tasks that can be completed during that time step.

this project should also provide the option to (1) add new tasks, (2) delete a task. (3) add a dependency, and (4) quit. when the task list or the dependency list is modified, the program will recalculate the information above and display the updated information.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:30
To move a file or folder in microsoft windows, you can click and hold down the left mouse button while moving your mouse pointer to the location you want the file or folder to be, which is also known as.
Answers: 3
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 25.06.2019 01:30
Ashort circuit locator should be periodically run along the cords used in a shop to check for shorts and open circuits. a.)true b.)false
Answers: 2
question
Computers and Technology, 25.06.2019 08:00
A( the heart of an information system, is a collection of all relevant facts organized in a series of integrated files.
Answers: 1
You know the right answer?
Definitions and specifications: a task (e. g, abc can be completed only if it has no dependencies...
Questions
question
Mathematics, 22.01.2021 18:50
question
Mathematics, 22.01.2021 18:50
Questions on the website: 13722363