Uses of Class
org.jacop.floats.core.FloatDomain
-
Packages that use FloatDomain Package Description org.jacop.floats.constraints org.jacop.floats.core -
-
Uses of FloatDomain in org.jacop.floats.constraints
Methods in org.jacop.floats.constraints with parameters of type FloatDomain Modifier and Type Method Description (package private) booleanElementFloat. disjoint(FloatDomain v1, double v2) -
Uses of FloatDomain in org.jacop.floats.core
Subclasses of FloatDomain in org.jacop.floats.core Modifier and Type Class Description classFloatIntervalDomainDefines interval of numbers which is part of FDV definition which consist of one or several intervals.Fields in org.jacop.floats.core declared as FloatDomain Modifier and Type Field Description FloatDomainFloatVar. domainIt stores pointer to a current domain, which has stamp equal to store stamp.static FloatDomainFloatDomain. emptyFloatDomainIt specifies an empty integer domain.FloatDomainFloatDomain. previousDomainIt specifies the previous domain which was used by this domain.Methods in org.jacop.floats.core that return FloatDomain Modifier and Type Method Description abstract FloatDomainFloatDomain. cloneLight()abstract FloatDomainFloatDomain. complement()It creates a complement of a domain.FloatDomainFloatIntervalDomain. complement()It creates a complement of a domain.FloatDomainFloatVar. dom()This function returns current domain of the variable.abstract FloatDomainFloatDomain. intersect(double min, double max)In intersects current domain with the interval min..max.abstract FloatDomainFloatDomain. intersect(FloatDomain dom)It intersects current domain with the one given as a parameter.FloatDomainFloatIntervalDomain. intersect(double min, double max)In intersects current domain with the domain min..max.FloatDomainFloatIntervalDomain. intersect(FloatDomain domain)It interesects current domain with the one given as a parameter.abstract FloatDomainFloatDomain. previousDomain()It returns domain at earlier level at which the change has occurred.FloatDomainFloatIntervalDomain. previousDomain()abstract FloatDomainFloatDomain. recentDomainPruning(int currentStoreLevel)It returns the values which have been removed at current store level.FloatDomainFloatIntervalDomain. recentDomainPruning(int storeLevel)It removes a constraint from a domain, it should only be called by removeConstraint function of Variable object.FloatDomainFloatVar. recentDomainPruning()It returns the values which have been removed at current store level.FloatDomainFloatDomain. subtract(double value)It intersects with the domain which is a complement of value.abstract FloatDomainFloatDomain. subtract(double min, double max)It subtracts interval min..max.FloatDomainFloatDomain. subtract(FloatDomain domain)It subtracts domain from current domain and returns the result.FloatDomainFloatIntervalDomain. subtract(double value)FloatDomainFloatIntervalDomain. subtract(FloatDomain domain)It subtracts domain from current domain and returns the result.FloatDomainFloatDomain. union(double value)It computes union of this domain and value.FloatDomainFloatDomain. union(double min, double max)It computes union of this domain and the interval.FloatDomainFloatDomain. union(FloatDomain domain)It computes union of the supplied domain with this domain.FloatDomainFloatIntervalDomain. union(double value)It computes union of dom1 and value and returns the result.FloatDomainFloatIntervalDomain. union(double min, double max)It computes union of current domain and an interval min..max;FloatDomainFloatIntervalDomain. union(FloatDomain domain)It computes union of dom1 from dom2 and returns the result.Methods in org.jacop.floats.core with parameters of type FloatDomain Modifier and Type Method Description voidFloatDomain. addDom(FloatDomain domain)It adds values as specified by the parameter to the domain.voidFloatIntervalDomain. addDom(FloatDomain domain)It adds values as specified by the parameter to the domain.voidFloatVar. addDom(FloatDomain dom)It is possible to add the domain of variable.private voidFloatVar. commonInitialization(Store store, java.lang.String name, FloatDomain dom)booleanFloatDomain. contains(FloatDomain domain)It specifies if the current domain contains the domain given as a parameter.booleanFloatIntervalDomain. contains(FloatDomain domain)It specifies if the current domain contains the domain given as a parameter.booleanFloatDomain. eq(FloatDomain domain)It specifies if the other int domain is equal to this one.booleanFloatIntervalDomain. eq(FloatDomain domain)It checks if the domain is equal to the supplied domain.voidFloatDomain. in(int storeLevel, Var var, FloatDomain domain)It updates the domain to have values only within the domain.voidFloatIntervalDomain. in(int storeLevel, Var var, FloatDomain domain)It updates the domain to have values only within the domain.abstract voidFloatDomain. inShift(int storeLevel, Var var, FloatDomain domain, double shift)It updates the domain to contain the elements as specifed by the domain, which is shifted.voidFloatIntervalDomain. inShift(int storeLevel, Var var, FloatDomain domain, double shift)It updates the domain to contain the elements as specifed by the domain, which is shifted.abstract FloatDomainFloatDomain. intersect(FloatDomain dom)It intersects current domain with the one given as a parameter.FloatDomainFloatIntervalDomain. intersect(FloatDomain domain)It interesects current domain with the one given as a parameter.abstract intFloatDomain. intersectAdapt(FloatDomain intersect)It computes an intersection with a given domain and stores it in this domain.intFloatIntervalDomain. intersectAdapt(FloatDomain domain)booleanFloatDomain. isIntersecting(FloatDomain domain)Checks if two domains intersect.booleanFloatIntervalDomain. isIntersecting(FloatDomain domain)Checks if two domains intersect.intFloatDomain. lex(FloatDomain domain)Returns the lexical ordering between the setsabstract voidFloatDomain. setDomain(FloatDomain domain)It sets the domain to the specified domain.voidFloatIntervalDomain. setDomain(FloatDomain domain)It sets the domain to the specified domain.voidFloatVar. setDomain(FloatDomain dom)It is possible to set the domain of variable.intFloatDomain. sizeOfIntersection(FloatDomain domain)It computes the size of the intersection between this domain and the domain supplied as a parameter.intFloatIntervalDomain. sizeOfIntersection(FloatDomain domain)FloatDomainFloatDomain. subtract(FloatDomain domain)It subtracts domain from current domain and returns the result.FloatDomainFloatIntervalDomain. subtract(FloatDomain domain)It subtracts domain from current domain and returns the result.FloatDomainFloatDomain. union(FloatDomain domain)It computes union of the supplied domain with this domain.FloatDomainFloatIntervalDomain. union(FloatDomain domain)It computes union of dom1 from dom2 and returns the result.intFloatDomain. unionAdapt(FloatDomain union)It computes a union between this domain and the domain provided as a parameter.intFloatIntervalDomain. unionAdapt(FloatDomain union)Constructors in org.jacop.floats.core with parameters of type FloatDomain Constructor Description FloatVar(Store store, java.lang.String name, FloatDomain dom)It creates a variable in a given store, with a given name and a given domain.FloatVar(Store store, FloatDomain dom)It creates a variable in a given store, with a given name and a given domain.
-