Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following scheduling problem. There are N tasks and K processors. Each task T has a length T.length. Each processor P has a speed

image text in transcribed

Consider the following scheduling problem. There are N tasks and K processors. Each task T has a length T.length. Each processor P has a speed P.speed. If T is assigned to P, it will take time .length/P.speed to complete. There is an overall deadline D. A processor can only work on one task at a time, and a task cannot be split between processors. The problem is to find an assignment of tasks to processors in which the all the tasks complete before time I For example, suppose that N-4, K-2, D 33 and you have the following Task T1 T2T3 |T4 Length 12 42 48 54 Processor | P1 P2 Speed23 Then one correct strategy is to assign T1 and T3 to P1, where they will take a total of 30 time units, and T2 and T4 to P2, where they will take a total of 32 time units. A. Characterize this as a tree-structured state space search problem. In particular: . What are the states? What are the operators? What is the branching factor? o Is the depth of the goal node known initially? B. Show the portion of the state space generated in solving the example in Problem 1 using depth- first search C. Show the portion of the state space generated in solving the example using breadth-first search. Consider the following scheduling problem. There are N tasks and K processors. Each task T has a length T.length. Each processor P has a speed P.speed. If T is assigned to P, it will take time .length/P.speed to complete. There is an overall deadline D. A processor can only work on one task at a time, and a task cannot be split between processors. The problem is to find an assignment of tasks to processors in which the all the tasks complete before time I For example, suppose that N-4, K-2, D 33 and you have the following Task T1 T2T3 |T4 Length 12 42 48 54 Processor | P1 P2 Speed23 Then one correct strategy is to assign T1 and T3 to P1, where they will take a total of 30 time units, and T2 and T4 to P2, where they will take a total of 32 time units. A. Characterize this as a tree-structured state space search problem. In particular: . What are the states? What are the operators? What is the branching factor? o Is the depth of the goal node known initially? B. Show the portion of the state space generated in solving the example in Problem 1 using depth- first search C. Show the portion of the state space generated in solving the example using breadth-first search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions