def a_star_search(problem, heuristic=heuristics.null_heuristic): from a_star_search import solve start = time.clock() rv = solve(problem, heuristic) end = time.clock() print("Search time", end - start, "seconds") return rv
def ids_search(problem): from ids_search import solve start = time.clock() rv = solve(problem) end = time.clock() print("Search time", end - start, "seconds") return rv
def breadth_first_search(problem): from brfs_search import solve start = time.clock() rv = solve(problem) end = time.clock() print("Search time", end - start, "seconds") return rv
def a_star_search(problem, heuristic=heuristics.null_heuristic): from a_star_search import solve start = time.clock() rv = solve(problem, heuristic) end = time.clock() print("Search time", end - start, "seconds") return rv
def ids_search( problem ) : from ids_search import solve start = time.clock() rv = solve(problem) end = time.clock() print("Search time", end - start, "seconds") return rv
def breadth_first_search(problem): from brfs_search import solve start = time.clock() rv = solve(problem) end = time.clock() print("Search time", end - start, "seconds") return rv