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