In this project, we will work with sorting networks, and it is the first time we will encounter "agents" in our study. (For more info on sorting networks, see the Mitchell textbook, p.21.)
To evaluate the fitness of a sorting network, we can't apply a simple function. Instead we subject the network to a series of tests to determine its fitness. In each test, we give the network a list of numbers to sort, and in some sense the network "comes alive" to try to sort the list.
This "testing" and "coming alive" will become a recurring theme in future projects.
Extra Credit - Find a sorting network of fewer than 61 comparisons that will sort of list of 16 numbers. (70 points!)
Best Credit - Awarded to the student who finds the smallest sorting network for a list of 16 numbers. (10 points.)
Files for the project are available here.