Web Site

Economy-point.org



» Economics » Management economics » Topics begins with J » John on algorithm


Page modified: Friday, June 23, 2006 20:29:08

The John on algorithm is a procedure for the sequence order in the ranges production economy and technical computer science and goes back on David Johnson, 1976. The mathematical beginning bases on the graph theory.

Problem

It exists a pile with indefinitely many orders A_n, which are to be worked on in an optimal order concerning the turn-around time on exactly two machines/processors, M_j.

The algorithm

The problem can be solved with the following iterative regulation.

  1. Look for the order A_i with the absolutely shortest operating time
  2. Decisions:
  • If j=1: Arrange the order A_i as far in front as possible in row due to
  • If j=2: Arrange the order A_i as right at the back as possible in row due to
  1. drive away with 1. to each order is assigned so long.

Result

The John on algorithm supplies the turn-around time-optimal order of the orders.

Example

Five orders with different operating time on the machines M_1 and M_2 are to be worked on turn-around time-optimally.

The following table indicates, how much time (in CPU) needs an order A_i on a machine M_j.

{|

! ! align= " center " |A_1! align= " center " |A_2! align= " center " |A_3! align= " center " |A_4! align= " center " |A_5 | -! valign= " middle " | M_1 |align= " centers " | 14 |align= " centers " | 12 |align= " centers " | 7 |align= " centers " | 13 |align= " centers " | 11 | -! valign= " middle " | M_2 |align= " centers " | 3 |align= " centers " | 27 |align= " centers " | 8 |align= " centers " | 9 |align= " centers " | 30 | - |} 

The John on algorithm looks for itself now the shortest order, thus A_1 with 3 CPU. There to few time needed A_1 on M_2 (j=2), he is in the back arranged in the new order as far as possible.

The next-shortest order is A_3 with 7 CPU. Since A_3 on M_1 needs time to few, he is arranged as far in front in the new order as possible.

Etc.

The turn-around time-optimal sequence for this example therefore is:

A_3 - > A_5 - > A_2 - > A_4 - > A_1 

Related links

http://www.nist.gov/dads/HTML/johnsonsAlgorithm.html


Articles in category "John on algorithm"

We found here 2 articles.

J

» John on algorithm
» Joint hypothesis

Related Websites

We found here 3 related websites.

Page cached: Wednesday, July 5, 2006 14:17:41
Valid XHTML 1.0!  Valid CSS!

Page copy protected against web site content infringement by Copyscape