Give choice between BFS and CFS