Searching and planning in graphs.