Uses of Class
com.google.ortools.util.Domain
-
Packages that use Domain Package Description com.google.ortools.constraintsolver com.google.ortools.sat com.google.ortools.util -
-
Uses of Domain in com.google.ortools.constraintsolver
Methods in com.google.ortools.constraintsolver that return Domain Modifier and Type Method Description DomainRoutingModel.ResourceGroup.Attributes. end_domain()DomainRoutingModel.ResourceGroup.Attributes. start_domain()Methods in com.google.ortools.constraintsolver with parameters of type Domain Modifier and Type Method Description static longmainJNI. new_RoutingModel_ResourceGroup_Attributes__SWIG_1(long jarg1, Domain jarg1_, long jarg2, Domain jarg2_)Constructors in com.google.ortools.constraintsolver with parameters of type Domain Constructor Description Attributes(Domain start_domain, Domain end_domain) -
Uses of Domain in com.google.ortools.sat
Methods in com.google.ortools.sat that return Domain Modifier and Type Method Description DomainIntVar. getDomain()Returns the domain of the variable.static DomainCpSatHelper. variableDomain(IntegerVariableProto variable_proto)Methods in com.google.ortools.sat with parameters of type Domain Modifier and Type Method Description ConstraintCpModel. addLinearExpressionInDomain(LinearArgument expr, Domain domain)Addsexpr in domain.IntVarCpModel. newIntVarFromDomain(Domain domain, java.lang.String name)Creates an integer variable with given domain. -
Uses of Domain in com.google.ortools.util
Methods in com.google.ortools.util that return Domain Modifier and Type Method Description DomainDomain. additionWith(Domain domain)Returns {x ∈ Int64, ∃ a ∈ D, ∃ b ∈ domain, x = a + b}.static DomainDomain. allValues()Returns the full domain Int64.DomainDomain. complement()Returns the set Int64 ∖ D.static DomainDomain. fromFlatIntervals(long[] flat_intervals)This method is available in Python, Java and .NET.static DomainDomain. fromIntervals(long[][] intervals)This method is available in Python, Java and .NET.static DomainDomain. fromValues(long[] values)Creates a domain from the union of an unsorted list of integer values.
Input values may be repeated, with no consequence on the outputDomainDomain. intersectionWith(Domain domain)Returns the intersection of D and domain.DomainDomain. negation()Returns {x ∈ Int64, ∃ e ∈ D, x = -e}.
Note in particular that if the negation of Int64 is not Int64 but
Int64 \ {kint64min} !!DomainDomain. unionWith(Domain domain)Returns the union of D and domain.Methods in com.google.ortools.util with parameters of type Domain Modifier and Type Method Description DomainDomain. additionWith(Domain domain)Returns {x ∈ Int64, ∃ a ∈ D, ∃ b ∈ domain, x = a + b}.static longmainJNI. Domain_additionWith(long jarg1, Domain jarg1_, long jarg2, Domain jarg2_)static longmainJNI. Domain_complement(long jarg1, Domain jarg1_)static booleanmainJNI. Domain_contains(long jarg1, Domain jarg1_, long jarg2)static long[]mainJNI. Domain_flattenedIntervals(long jarg1, Domain jarg1_)static longmainJNI. Domain_intersectionWith(long jarg1, Domain jarg1_, long jarg2, Domain jarg2_)static booleanmainJNI. Domain_isEmpty(long jarg1, Domain jarg1_)static longmainJNI. Domain_max(long jarg1, Domain jarg1_)static longmainJNI. Domain_min(long jarg1, Domain jarg1_)static longmainJNI. Domain_negation(long jarg1, Domain jarg1_)static longmainJNI. Domain_size(long jarg1, Domain jarg1_)static java.lang.StringmainJNI. Domain_toString(long jarg1, Domain jarg1_)static longmainJNI. Domain_unionWith(long jarg1, Domain jarg1_, long jarg2, Domain jarg2_)static longDomain. getCPtr(Domain obj)DomainDomain. intersectionWith(Domain domain)Returns the intersection of D and domain.static longDomain. swigRelease(Domain obj)DomainDomain. unionWith(Domain domain)Returns the union of D and domain.
-