An open exchange for the MATLAB and Simulink user community |
Hosted by The MathWorks |
Ants ContestThis is the tenth MATLAB Online Programming Contest. The ProblemImagine a sandbox in which there are ants, sugar cubes, anthills, and rocks. Ants like sugar: collectively they want to bring as many sugar cubes as possible back to their anthills before sunset. For this contest, you will write the control program that each ant carries with it. Ants, being so small, have some limitations, of course. Each ant can carry no more than one sugar cube at a time. Further, each ant can only see her local vicinity. Your program, which is run sequentially for each ant, knows only what that ant knows. Thus you must bring about the best possible global outcome based only on local conditions. The ants don't have any memory as such, but they can leave behind a chemical trail to guide themselves and others across the sandbox landscape. Your score is determined by how much progress you make moving food towards and into the anthills. Ideally your ants will move all the sugar cubes onto anthills. Practically this may not be possible; do the best you can. You receive credit even by moving one sugar cube one step closer to an anthill. NOTE: This contest is divided into three segments. Most of the week will run as usual, with free sharing of code. But the first two days of the contest will hide some of the information about each entry. Contest Announcement E-mail ListDon't miss hearing about the next MATLAB Contest. Sign up for our MATLAB Contest mailing list. Send an e-mail to lists@mathworks.com with subscribe contest-announce in the body. More InformationThe contest overview page has an introduction to the MATLAB Contest and listing of past contests. |
|
||||||
| Related Topics |
| New Products | Support | Documentation | Training | Webinars | Careers | Newsletters | RSS |
| Problems? Suggestions? Contact us at contest@mathworks.com | © 1994-2008 The MathWorks, Inc. Trademarks Privacy Policy |