Uses of Class
org.clafer.domain.Domain
Packages that use Domain
Package
Description
This package provides the language for building Clafer AST.
This package provides various analysis and optimizations to perform on the
AST.
This package provides immutable domains over integers, stored as disjoint
ranges, and boolean domains, which the AST and IR analyses use to bound
variables before they are compiled to Choco.
This package provides the IR used as in intermediate language during
compilation.
This package provides exact linear algebra over rational numbers: linear
functions, equations and systems, and sparse matrices.
This package provides a small knowledge base of is-a and has-a relationships
between concepts, with an oracle that answers queries about them.
-
Uses of Domain in org.clafer.ast
Constructors in org.clafer.ast with parameters of type Domain -
Uses of Domain in org.clafer.ast.analysis
Methods in org.clafer.ast.analysis that return Domain -
Uses of Domain in org.clafer.domain
Subclasses of Domain in org.clafer.domainModifier and TypeClassDescriptionclassBoolean domain. 0 encodes false and 1 encodes true.Fields in org.clafer.domain declared as DomainModifier and TypeFieldDescriptionstatic final DomainDomain.EmptyDomainstatic final DomainDomains.EmptyDomainstatic final DomainDomains.NegativeOneDomainstatic final DomainDomains.OneDomainstatic final DomainDomains.ZeroDomainstatic final DomainDomains.ZeroOneDomainMethods in org.clafer.domain that return DomainModifier and TypeMethodDescriptionDomain.boundBetween(int low, int high) Remove all elements less than the low bound or greater than the high bound from this domain.static DomainDomain.boundDomain(int low, int high) static DomainDomains.boundDomain(int low, int high) Domain.boundHigh(int high) Remove all elements greater than the bound from this domain.Domain.boundLow(int low) Remove all elements less than the bound from this domain.static DomainDomain.constantDomain(int value) static DomainDomains.constantDomain(int value) Domain.difference(Domain other) Subtract this domain with the other domain.static DomainDomain.enumDomain(int... values) static DomainDomain.enumDomain(gnu.trove.set.TIntSet values) static DomainDomain.enumDomain(IntStream values) static DomainDomains.enumDomain(int... values) static DomainDomains.enumDomain(gnu.trove.set.TIntSet values) static DomainDomains.enumDomain(gnu.trove.TIntCollection values) static DomainDomains.enumDomain(IntStream values) static Domain[]Domains.enumDomains(gnu.trove.set.TIntSet... values) static DomainDomains.fromToDomain(int from, int to) Domain.insert(int value) Add an element into this domain.Domain.intersection(Domain other) Intersect this domain with the other domain.Domain.minus()Domain.offset(int c) Shift the elements in this domain.Domain.remove(int value) Remove an element from this domain.Domain.removeAll(IntPredicate predicate) Remove all elements from this domain where the predicate evaluates totrue.Domain.retainAll(IntPredicate predicate) Retains all elements from this domain where the predicate evaluates totrue.Union this domain with the other domain.static DomainDomains.union(Collection<Domain> domains) Methods in org.clafer.domain with parameters of type DomainModifier and TypeMethodDescriptionDomain.difference(Domain other) Subtract this domain with the other domain.Domain.intersection(Domain other) Intersect this domain with the other domain.booleanDomain.intersects(Domain other) Check if this domain intersects another domain.booleanDomain.isSubsetOf(Domain superset) Check if this domain is a (non-strict) subset of another domain.booleanDomain.isSupersetOf(Domain subset) Union this domain with the other domain.Method parameters in org.clafer.domain with type arguments of type Domain -
Uses of Domain in org.clafer.ir
Methods in org.clafer.ir that return DomainModifier and TypeMethodDescriptionIrAbstractSet.getCard()IrSetExpr.getCard()Card or cardinality is all the possible size of the set.Domain[]IrAbstractSetArray.getCards()Domain[]IrSetArrayExpr.getCards()Domain[]IrAbstractString.getChars()Domain[]IrStringExpr.getChars()The characters of the string.IrDecimalArithm.getDecimalRange()IrAbstractInt.getDomain()IrIntExpr.getDomain()Domain cannot be empty.Domain[]IrAbstractIntArray.getDomains()Domain[]IrIntArrayExpr.getDomains()IrAbstractSet.getEnv()IrSetExpr.getEnv()Env or envelope is the union of all possible values the set can be.Domain[]IrAbstractSetArray.getEnvs()Domain[]IrSetArrayExpr.getEnvs()IrMul.getIntRange()IrAbstractSet.getKer()IrSetExpr.getKer()Ker or kernel is the intersection of all possible values the set can beDomain[]IrAbstractSetArray.getKers()Domain[]IrSetArrayExpr.getKers()IrAbstractString.getLength()IrStringExpr.getLength()The length of the string.static DomainIrs.mulBoundDomain(Domain multiplicandDomain, Domain multiplierDomain) Methods in org.clafer.ir with parameters of type DomainModifier and TypeMethodDescriptionstatic IrSetVarstatic IrIntExprIrs.decimalArithm(IrDecimalArithm.Op op, IrIntExpr left, IrIntExpr right, int one, Domain decimalRange) Multiplication or division of decimals scaled byone, rounded half away from zero.static IrIntVarstatic IrIntExprstatic IrIntExprIrs.mul(Collection<? extends IrIntExpr> multiplicands, Domain intRange) static IrIntExprstatic IrIntExprstatic IrIntExprstatic DomainIrs.mulBoundDomain(Domain multiplicandDomain, Domain multiplierDomain) static IrSetVarstatic IrSetVarstatic IrSetVarstatic IrSetVarstatic IrStringVarConstructors in org.clafer.ir with parameters of type DomainModifierConstructorDescriptionIrAbstractInt(Domain domain) IrCount(int value, IrIntArrayExpr array, Domain domain) IrSetTernary(IrBoolExpr antecedent, IrSetExpr consequent, IrSetExpr alternative, Domain env, Domain ker, Domain card) IrSubarray(IrIntArrayExpr array, IrIntExpr index, IrIntExpr sublength, Domain[] charDomains) IrTernary(IrBoolExpr antecedent, IrIntExpr consequent, IrIntExpr alternative, Domain domain) IrTransitiveClosure(IrSetArrayExpr relation, boolean reflexive, Domain[] envDomains, Domain[] kerDomains, Domain[] cardDomains) -
Uses of Domain in org.clafer.math
Fields in org.clafer.math declared as DomainMethods in org.clafer.math that return DomainMethods in org.clafer.math with parameters of type DomainConstructors in org.clafer.math with parameters of type Domain -
Uses of Domain in org.clafer.ontology
Fields in org.clafer.ontology with type parameters of type DomainMethods in org.clafer.ontology that return DomainModifier and TypeMethodDescriptionOracle.getAssignment(Concept... steps) Oracle.getAssignment(Path path) Returns the envelope of values the path must take.Methods in org.clafer.ontology with parameters of type DomainModifier and TypeMethodDescriptionConstraintDatabase.newAssignment(Path path, Domain value) voidOracle.newAssignment(Path path, Domain value)