Question: Please answer PART B . Thank you! Problem 6 . Suppose we are given a directed acyclic graph ( DAG ) ( G =
Please answer PART B Thank you!
Problem Suppose we are given a directed acyclic graph DAG GV E whose nodes represent jobs, and whose edges represent precedence constraints. Specifically, each edge u rightarrow v indicates that job u must be completed before job v can begin. Each node v also has a weight Tv indicating the time required to execute job v
a Describe an algorithm to determine the shortest interval of time in which all jobs in G can be completed.
b Suppose the first job starts at time Describe an algorithm to determine, for each vertex v the earliest time at which job v can begin.
c Now describe an algorithm to determine, for each vertex v the latest time at which job v can begin without violating the precedence constraints or increasing the overall completion time computed in part a assuming that every job except v starts at its earliest start time computed in part b
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
