Python:实现hill climbing爬山法用来寻找函数的最大值算法
import math
class SearchProblem:
def __init__(self, x: int, y: int, step_size: int, function_to_
import math
class SearchProblem:
def __init__(self, x: int, y: int, step_size: int, function_to_