DIAMOND/ROCK Algorithm