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, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
1. you have a small business that is divided into 3 departments: accounting, sales, and administration. these departments have the following number of devices (computers, printers, etc.): accounting-31, sales-28, and administration-13. using a class c private network, subnet the network so that each department will have their own subnet. you must show/explain how you arrived at your conclusion and also show the following: all available device addresses for each department, the broadcast address for each department, and the network address for each department. also, determine how many "wasted" (not usable) addresses resulted from your subnetting (enumerate them).
Answers: 3
question
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
question
Computers and Technology, 24.06.2019 03:00
Click the "draw structure" button to activate the drawing utility. draw two diastereomers of (1z,4r)−1,4−dimethylcyclodecene and name them, including (e)/(z) and (r)/(s) notation. part 1 out of 4 draw the diastereomer containing a chiral center with s configuration here. window open
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, 03.07.2019 02:00
Questions on the website: 13722363