Uses of Interface
dev.civl.sarl.IF.type.SymbolicType
Packages that use SymbolicType
Package
Description
This package provides the internal interface for the representation of basic
symbolic expressions.
The ideal module supports reasoning about numerical expressions using "ideal"
mathematical reals and integers.
This package and its subpackages provide the "public interface" to SARL.
The public interface package dealing with symbolic expressions.
The type package provides interfaces for all of the symbolic types.
Internal interface for the symbolic object module, providing mechanisms for
creating
SymbolicObjects.This package provides all of the functionality of a symbolic universe except
reasoning.
Internal interface for the "type" module, providing a
SymbolicTypeFactory
for producing SymbolicType
s.-
Uses of SymbolicType in dev.civl.sarl.expr.IF
Methods in dev.civl.sarl.expr.IF that return SymbolicTypeModifier and TypeMethodDescriptionExpressionFactory.referenceType()ExpressionFactory.valueSetReferenceType()ExpressionFactory.valueSetTemplateType()Returns the type of a value set template.Methods in dev.civl.sarl.expr.IF with parameters of type SymbolicTypeModifier and TypeMethodDescriptionNumericExpressionFactory.cast(NumericExpression numericExpression, SymbolicType newType) Returns a NumericExpression with the symbolic type passed in the second argumentExpressionFactory.expression(SymbolicExpression.SymbolicOperator operator, SymbolicType type, SymbolicObject... arguments) Returns an expression with the given operator, type, and argument sequence.NumericExpressionFactory.expression(SymbolicExpression.SymbolicOperator operator, SymbolicType numericType, SymbolicObject... arguments) Returns an expression, given the operator, type, and array of argumentsbooleanExpressionFactory.isValueSetTemplateType(SymbolicType type) ExpressionFactory.symbolicConstant(StringObject name, SymbolicType type) NumericExpressionFactory.symbolicConstant(StringObject name, SymbolicType type) ExpressionFactory.valueSetContains(SymbolicType valueType, SymbolicExpression refArr0, SymbolicExpression refArr1) Test if an array of value set references "refArr0", that is associated with the given "valueType", contains another array of value set references "refArr1", that is associated with the given "valueType" as well.ExpressionFactory.valueSetDiff(SymbolicType valueType, SymbolicExpression refArr0, SymbolicExpression refArr1) ExpressionFactory.valueSetElimWidening(Reasoner reasoner, SymbolicType valueType, SymbolicExpression refArr, SymbolicExpression elimExpr, NumericExpression lower, NumericExpression upper) ExpressionFactory.valueSetProtectiveWidening(Reasoner reasoner, SymbolicType valueType, SymbolicExpression refArrM, SymbolicExpression refArrP) ExpressionFactory.valueSetRefereceNoIntersect(SymbolicType valueType, ValueSetReference ref0, ValueSetReference ref1) Tests if the two givenValueSetReferences have NO intersection, i.e., if applying the two reference to the same object, if their referred parts have no overlap.ExpressionFactory.valueSetTemplate(SymbolicType valueType, ValueSetReference[] vsRefs) Given a symbolic type of a symbolic value and a list ofValueSetReferences, returns symbolic expression representing a value set template.ExpressionFactory.valueSetWidening(Reasoner reasoner, SymbolicType valueType, SymbolicExpression refArr) Apply a default widening operator to a value set template, which is in the form of an array of value set references and a symbolic type that is referred by these references. -
Uses of SymbolicType in dev.civl.sarl.ideal.IF
Methods in dev.civl.sarl.ideal.IF with parameters of type SymbolicTypeModifier and TypeMethodDescriptionIdealFactory.expression(SymbolicExpression.SymbolicOperator operator, SymbolicType numericType, SymbolicObject... arguments) IdealFactory.monic(SymbolicType type, PrimitivePower[] factorSet) Returns a (possibly trivial) monic as specified.IdealFactory.one(SymbolicType type) Returns either the integer number one (1) or the real number 1 (1.0).Monomial[]IdealFactory.oneTermMap(SymbolicType type) Returns awith a single entry mapping the monicinvalid reference
SymbolicMapOneto itself.IdealFactory.polynomial(SymbolicType type, Monomial[] terms) Produces the result of summing theMonomials of a term map as aPolynomial.Monomial[]IdealFactory.powerTermMap(SymbolicType type, Monomial[] map, NumberObject exponent) Raises a term map to the given power, returning the result as a term map.IdealFactory.zero(SymbolicType type) Returns either the integer constant 0 or the real constant 0, according to the giventype. -
Uses of SymbolicType in dev.civl.sarl.IF
Methods in dev.civl.sarl.IF that return SymbolicTypeModifier and TypeMethodDescriptionCoreUniverse.booleanType()The boolean type.CoreUniverse.characterType()Returns the character type.CoreUniverse.pureType(SymbolicType type) Returns the "pure" version of the type, i.e., the compatibleSymbolicTypethat contains noSymbolicExpressions.CoreUniverse.referencedType(SymbolicType type, ReferenceExpression reference) Returns the type referenced by a reference into an expression of the given type.CoreUniverse.referenceType()Returns the type of all reference expressions.CoreUniverse.valueSetReferenceType()CoreUniverse.valueSetTemplateType()Returns the type of a value set template.CoreUniverse.valueType(SymbolicExpression valueSetTemplate) Returns theSymbolicTypeof values, to which the given value set template refers.Methods in dev.civl.sarl.IF that return types with arguments of type SymbolicTypeModifier and TypeMethodDescriptiondev.civl.sarl.util.Pair<Integer, SymbolicType> CoreUniverse.arrayDimensionAndBaseType(SymbolicArrayType type) Returns the dimension and base type of an array type.Methods in dev.civl.sarl.IF with parameters of type SymbolicTypeModifier and TypeMethodDescriptionCoreUniverse.array(SymbolicType elementType, SymbolicExpression[] elements) Creates a concrete array expression backed by the given Java array.CoreUniverse.array(SymbolicType elementType, Iterable<? extends SymbolicObject> elements) Returns the concrete array consisting of given sequence of elements.CoreUniverse.arrayType(SymbolicType elementType) Returns the incomplete array type with the given element type.CoreUniverse.arrayType(SymbolicType elementType, NumericExpression extent) Returns the complete array type with the given element type and extent (array length).CoreUniverse.cast(SymbolicType newType, SymbolicExpression expression) Casts expression to new type.CoreUniverse.compatible(SymbolicType type0, SymbolicType type1) Returns a boolean expression which holds iff the two types are compatible.CoreUniverse.constantArray(SymbolicType elementType, NumericExpression length, SymbolicExpression value) Returns an array in which every element has the same value.CoreUniverse.emptyArray(SymbolicType elementType) Returns array of length 0.CoreUniverse.functionType(Iterable<? extends SymbolicType> inputTypes, SymbolicType outputType) Returns the specified function type.CoreUniverse.functionType(Iterable<? extends SymbolicType> inputTypes, SymbolicType outputType, SymbolicFunctionType.SpecialRelationKind relKind) Returns the specified function type.CoreUniverse.make(SymbolicExpression.SymbolicOperator operator, SymbolicType type, SymbolicObject[] arguments) Applies the given operator to the arguments and returns the resulting expression in the form used by this universe.CoreUniverse.mapType(SymbolicType keyType, SymbolicType valueType) Under construction.CoreUniverse.pureType(SymbolicType type) Returns the "pure" version of the type, i.e., the compatibleSymbolicTypethat contains noSymbolicExpressions.CoreUniverse.referencedType(SymbolicType type, ReferenceExpression reference) Returns the type referenced by a reference into an expression of the given type.CoreUniverse.setType(SymbolicType elementType) Returns the type for "set of T"; not yet implemented.CoreUniverse.symbolicConstant(StringObject name, SymbolicType type) Returns theSymbolicConstantwith the given name and type.CoreUniverse.valueSetTemplate(SymbolicType valueType, ValueSetReference[] vsRefs) Given a symbolic type of a symbolic value and a list ofValueSetReferences, returns symbolic expression representing a value set template.Method parameters in dev.civl.sarl.IF with type arguments of type SymbolicTypeModifier and TypeMethodDescriptionCoreUniverse.functionType(Iterable<? extends SymbolicType> inputTypes, SymbolicType outputType) Returns the specified function type.CoreUniverse.functionType(Iterable<? extends SymbolicType> inputTypes, SymbolicType outputType, SymbolicFunctionType.SpecialRelationKind relKind) Returns the specified function type.CoreUniverse.tupleType(StringObject name, Iterable<? extends SymbolicType> fieldTypes) Returns the tuple type defined by the given sequence of component types.CoreUniverse.unionType(StringObject name, Iterable<? extends SymbolicType> memberTypes) Returns the type which is the union of the given member types. -
Uses of SymbolicType in dev.civl.sarl.IF.expr
Methods in dev.civl.sarl.IF.expr that return SymbolicType -
Uses of SymbolicType in dev.civl.sarl.IF.type
Subinterfaces of SymbolicType in dev.civl.sarl.IF.typeModifier and TypeInterfaceDescriptioninterfaceAn array type T[].interfaceA complete array type specifies not only the element type but also the extent (length) of the array.interfaceA function type is specified by the number and types of inputs, and a single output type.interfaceSymbolicIntegerType is an interface that contains representation for a Symbolic Integer Type: It has three kinds: - herbrand: it doesn't do simplifications, when used in equations - ideal: - bounded: Also it has a method to return the kind of the integer.interfaceT map type is a type consisting of two components: a key type K and a value type V.interfaceA real number type.interfaceThe type representing a set.interfaceA tuple type is specified by (1) a name, and (2) an ordered, finite sequence of component types.interfaceThis class represents uninterpreted types.interfaceA union type of a sequence of types t_i.Methods in dev.civl.sarl.IF.type that return SymbolicTypeModifier and TypeMethodDescriptionSymbolicArrayType.baseType()SymbolicArrayType.elementType()The type of each element of the array, a non-null symbolic type.SymbolicSetType.elementType()The type of the elements of the set.SymbolicTypeSequence.getType(int index) Returns the index-th type in this sequence.SymbolicMapType.keyType()Returns the type of the domain (keys).SymbolicFunctionType.outputType()The output type, a non-null symbolic type.SymbolicMapType.valueType()Returns the type of the range (values). -
Uses of SymbolicType in dev.civl.sarl.object.IF
Method parameters in dev.civl.sarl.object.IF with type arguments of type SymbolicTypeModifier and TypeMethodDescriptionvoidObjectFactory.setTypeComparator(Comparator<SymbolicType> c) Sets the type comparator of for this factory. -
Uses of SymbolicType in dev.civl.sarl.preuniverse.IF
Method parameters in dev.civl.sarl.preuniverse.IF with type arguments of type SymbolicTypeModifier and TypeMethodDescriptionPreUniverse.typeSequence(Iterable<? extends SymbolicType> types) Given an iterable collection of SymbolicTypes, returns a SymbolicTypeSequence conatining those SymbolicTypes -
Uses of SymbolicType in dev.civl.sarl.type.IF
Methods in dev.civl.sarl.type.IF that return SymbolicTypeModifier and TypeMethodDescriptionSymbolicTypeFactory.booleanType()SymbolicTypeFactory.characterType()SymbolicTypeFactory.pureType(SymbolicType type) The pureType of t1 is t1 after removing the length for example, CommonSymbolicCompleteArrayType(type1) should have the same pureType as CommonSymbolicArrayType(type1)Methods in dev.civl.sarl.type.IF that return types with arguments of type SymbolicTypeModifier and TypeMethodDescriptionSymbolicTypeFactory.typeComparator()Creates a TypeComparator that is used to compare SymbolicTypesMethods in dev.civl.sarl.type.IF with parameters of type SymbolicTypeModifier and TypeMethodDescriptionSymbolicTypeFactory.arrayType(SymbolicType elementType) Creates a SymbolicArrayType that has elements of type elementTypeSymbolicTypeFactory.arrayType(SymbolicType elementType, NumericExpression extent) Creates a SymbolicCompleteArrayTypeSymbolicTypeFactory.functionType(SymbolicTypeSequence inputTypes, SymbolicType outputType) Creates a SymbolicFunctionType, which represents an abstract mathematical functionSymbolicTypeFactory.functionType(SymbolicTypeSequence inputTypes, SymbolicType outputType, SymbolicFunctionType.SpecialRelationKind relKind) Creates a SymbolicFunctionType, which represents an abstract mathematical functionSymbolicTypeFactory.mapType(SymbolicType keyType, SymbolicType valueType) SymbolicTypeFactory.pureType(SymbolicType type) The pureType of t1 is t1 after removing the length for example, CommonSymbolicCompleteArrayType(type1) should have the same pureType as CommonSymbolicArrayType(type1)SymbolicTypeFactory.sequence(SymbolicType[] elements) Creates a SymbolicTypeSequecne from an array of SymbolicTypeSymbolicTypeFactory.setType(SymbolicType elementType) SymbolicTypeFactory.singletonSequence(SymbolicType type) Creates a SymbolicTypeSequence of 1 element that has a SymbolicTypeMethod parameters in dev.civl.sarl.type.IF with type arguments of type SymbolicTypeModifier and TypeMethodDescriptionSymbolicTypeFactory.sequence(Iterable<? extends SymbolicType> elements) Creates a SymbolicTypeSequence from a list of SymbolicTypes