raiseRuntimeError('Incorrect final result: the final result for %s should be float/int, or a dict which has a key named "default" whose value is float/int.'%str(self.__class__))
raiseRuntimeError('Incorrect final result: the final result should be float/int, or a dict which has a key named "default" whose value is float/int.')
returnreward
defconvert_dict2tuple(value):
"""
convert dict type to tuple to solve unhashable problem.