Lines Matching full:bound
80 @param lb: str/float, lower bound
81 @param ub: str/float, upper bound
83 @returns: lower bound, return inf if the lower bound is a metric value and is not collected
84 upper bound, return -1 if the upper bound is a metric value and is not collected
85 tolerance, denormalized base on upper bound value
88 def get_bound_value (bound, initval, ridx): argument
90 if isinstance(bound, int) or isinstance(bound, float):
91 val = bound
92 elif isinstance(bound, str):
93 if bound == '':
95 elif bound in alias:
99 elif bound.replace('.', '1').isdigit():
100 val = float(bound)
102 print("Wrong bound: {0}".format(bound))
104 print("Wrong bound: {0}".format(bound))