Uses of Interface
dev.civl.sarl.IF.number.Interval
Packages that use Interval
Package
Description
This package and its subpackages provide the "public interface" to SARL.
The number package supports infinite-precision integer and rational
numbers.
Interfaces for the simplification of symbolic expressions.
-
Uses of Interval in dev.civl.sarl.IF
Methods in dev.civl.sarl.IF that return IntervalModifier and TypeMethodDescriptionReasoner.assumptionAsInterval(SymbolicConstant symbolicConstant) If the context can be represented as a simple interval constraint, i.e., an expression of the form A invalid input: '<'= x invalid input: '<'= B, where A and B are concrete numbers, x is the given symbolic constant, and invalid input: '<'= could be invalid input: '<' in either case, this returns the interval [A,B] (or (A,B], or, ...).Reasoner.intervalApproximation(NumericExpression expr) Returns an interval over-approximation of the given expression. -
Uses of Interval in dev.civl.sarl.IF.number
Fields in dev.civl.sarl.IF.number declared as IntervalMethods in dev.civl.sarl.IF.number that return IntervalModifier and TypeMethodDescriptionTo calculate the sum of two non-nulland not emptyIntervalwith same type (real/integer)NumberFactory.affineTransform(Interval interval, Number a, Number b) Computes the affineTransform of the input intervalitvwith two numbers:aandbas parameters.Divides two givenIntervals and returns result.NumberFactory.emptyIntegerInterval()Returns the empty integer interval: (0,0).NumberFactory.emptyRealInterval()Returns the empty real interval: (0.0, 0.0).NumberFactory.intersection(Interval i1, Interval i2) Returns the interval which is the intersection of the two given intervals.Returns the smallest interval containing both of the given intervals.To calculate the product of two non-nulland not emptyIntervalwith same type (real/integer)
This is the smallest interval containing all x1*x2, where x1 is in i1 and x2 is in i2.To negate the given non-nullinterval.NumberFactory.newInterval(boolean isIntegral, Number lower, boolean strictLower, Number upper, boolean strictUpper) Returns a newIntervalas specified.To calculate the power-result of a given non-nulland not emptyIntervalwith a given natural number.NumberFactory.power(Interval interval, IntegerNumber expr) To calculate the power-result of a given non-nulland not emptyIntervalwith a given non-nullnon-negativeIntegerNumber.NumberFactory.restrictLower(Interval interval, Number bound, boolean strict) Restricts the lower bound of an interval as specified.NumberFactory.restrictUpper(Interval interval, Number bound, boolean strict) Restricts the upper bound of an interval as specified.NumberFactory.singletonInterval(Number x) Returns the interval consisting of the single finite number x: [x,x].NumberFactory.universalIntegerInterval()Returns the universal integer interval: (-∞, +∞).NumberFactory.universalRealInterval()Returns the universal real interval: (-∞, +∞).Methods in dev.civl.sarl.IF.number with parameters of type IntervalModifier and TypeMethodDescriptionTo calculate the sum of two non-nulland not emptyIntervalwith same type (real/integer)NumberFactory.affineTransform(Interval interval, Number a, Number b) Computes the affineTransform of the input intervalitvwith two numbers:aandbas parameters.intComputes the relationships of twoIntervals.Divides two givenIntervals and returns result.NumberFactory.intersection(Interval i1, Interval i2) Returns the interval which is the intersection of the two given intervals.Returns the smallest interval containing both of the given intervals.To calculate the product of two non-nulland not emptyIntervalwith same type (real/integer)
This is the smallest interval containing all x1*x2, where x1 is in i1 and x2 is in i2.To negate the given non-nullinterval.To calculate the power-result of a given non-nulland not emptyIntervalwith a given natural number.NumberFactory.power(Interval interval, IntegerNumber expr) To calculate the power-result of a given non-nulland not emptyIntervalwith a given non-nullnon-negativeIntegerNumber.NumberFactory.restrictLower(Interval interval, Number bound, boolean strict) Restricts the lower bound of an interval as specified.NumberFactory.restrictUpper(Interval interval, Number bound, boolean strict) Restricts the upper bound of an interval as specified.voidNumberFactory.union(Interval i1, Interval i2, NumberFactory.IntervalUnion result) Computes the union of two intervals or reports that the union is not an interval and why. -
Uses of Interval in dev.civl.sarl.simplify.IF
Methods in dev.civl.sarl.simplify.IF that return IntervalModifier and TypeMethodDescriptionRange.asInterval()If this range is an interval, return the Interval representation, otherwise, returnsnull.Range.intervalOverApproximation()Get the over-approximatedIntervalofthisrange.Methods in dev.civl.sarl.simplify.IF with parameters of type Interval