Lines Matching full:bound
107 @param lb: str/float, lower bound
108 @param ub: str/float, upper bound
110 @returns: lower bound, return inf if the lower bound is a metric value and is not collected
111 upper bound, return -1 if the upper bound is a metric value and is not collected
112 tolerance, denormalized base on upper bound value
115 def get_bound_value(bound, initval, ridx): argument
117 if isinstance(bound, int) or isinstance(bound, float):
118 val = bound
119 elif isinstance(bound, str):
120 if bound == '':
122 elif bound in alias:
126 elif bound.replace('.', '1').isdigit():
127 val = float(bound)
129 print("Wrong bound: {0}".format(bound))
131 print("Wrong bound: {0}".format(bound))