Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Scheduling where tasks take varying amounts of time: Let G = ( V , E ) be a directed acyclic graph where nodes represent tasks
Scheduling where tasks take varying amounts of time:
Let be a directed acyclic graph where nodes represent tasks that need to be completed and edges represent the order in which tasks need to be completed, ie edge indicates that task must be completed before task begins. Each node has a weight indicating how long it takes to complete task
Example: There are tasks, and A depends on both and depends on and precedes Task A takes two time units, takes three, takes four, and takes one. The shortest time to complete all tasks is can be completed concurrently with A and
Describe an efficient algorithm that determines the shortest possible time it takes to complete all tasks in network G
Guidelines: In this problem you should solve the task by transferring it into "classical" network task. Describe the network that "encodes" the original task, which classical network algorithm is used, and how the solution to the original task is found subsequently. Use the following framework:
i What do the nodes in the network represent and how many are there?
ii What do the edges represent and how many are there?
iii What property of the network corresponds to the original task?
iv Which network algorithm should be executed?
v What is the time complexity in terms of the size of the original task? Here, consider the time it takes to construct the network, execute the network algorithm, and if necessary transfer the solution to the original task.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started