The Recognition Problem of Graph Search Trees