graduate project that implements aloc selection algorithm