Ranked ant system