ValueRange
- class ValueRange(lower: float | None = None, lower_inclusive: bool = False, upper: float | None = None, upper_inclusive: bool = False)[source]
Bases:
object
A value range description.
Attributes Summary
the lower bound
whether the lower bound is inclusive
the upper bound
whether the upper bound is inclusive
Methods Summary
approximate
(epsilon)Create a slightly enlarged value range for approximate checks.
notate
()Get the math notation for the range of this metric.
Attributes Documentation
Methods Documentation
- approximate(epsilon: float) ValueRange [source]
Create a slightly enlarged value range for approximate checks.
- Parameters:
epsilon (float)
- Return type: