Uses of Class
com.google.ortools.sat.LinearBooleanConstraint.Builder
Packages that use LinearBooleanConstraint.Builder
-
Uses of LinearBooleanConstraint.Builder in com.google.ortools.sat
Subclasses with type arguments of type LinearBooleanConstraint.Builder in com.google.ortools.satModifier and TypeClassDescriptionstatic final classA linear Boolean constraint which is a bounded sum of linear terms.Methods in com.google.ortools.sat that return LinearBooleanConstraint.BuilderModifier and TypeMethodDescriptionLinearBooleanConstraint.Builder.addAllCoefficients(Iterable<? extends Long> values) repeated int64 coefficients = 2;LinearBooleanConstraint.Builder.addAllLiterals(Iterable<? extends Integer> values) Linear terms involved in this constraint.LinearBooleanConstraint.Builder.addCoefficients(long value) repeated int64 coefficients = 2;LinearBooleanProblem.Builder.addConstraintsBuilder()The constraints of the problem.LinearBooleanProblem.Builder.addConstraintsBuilder(int index) The constraints of the problem.LinearBooleanConstraint.Builder.addLiterals(int value) Linear terms involved in this constraint.LinearBooleanConstraint.Builder.clear()LinearBooleanConstraint.Builder.clearCoefficients()repeated int64 coefficients = 2;LinearBooleanConstraint.Builder.clearLiterals()Linear terms involved in this constraint.LinearBooleanConstraint.Builder.clearLowerBound()Optional lower (resp. upper) bound of the constraint.LinearBooleanConstraint.Builder.clearName()The name of this constraint.LinearBooleanConstraint.Builder.clearUpperBound()optional int64 upper_bound = 4;LinearBooleanProblem.Builder.getConstraintsBuilder(int index) The constraints of the problem.LinearBooleanConstraint.Builder.mergeFrom(LinearBooleanConstraint other) LinearBooleanConstraint.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) LinearBooleanConstraint.Builder.mergeFrom(com.google.protobuf.Message other) LinearBooleanConstraint.newBuilder()LinearBooleanConstraint.newBuilder(LinearBooleanConstraint prototype) LinearBooleanConstraint.newBuilderForType()protected LinearBooleanConstraint.BuilderLinearBooleanConstraint.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) LinearBooleanConstraint.Builder.setCoefficients(int index, long value) repeated int64 coefficients = 2;LinearBooleanConstraint.Builder.setLiterals(int index, int value) Linear terms involved in this constraint.LinearBooleanConstraint.Builder.setLowerBound(long value) Optional lower (resp. upper) bound of the constraint.The name of this constraint.LinearBooleanConstraint.Builder.setNameBytes(com.google.protobuf.ByteString value) The name of this constraint.LinearBooleanConstraint.Builder.setUpperBound(long value) optional int64 upper_bound = 4;LinearBooleanConstraint.toBuilder()Methods in com.google.ortools.sat that return types with arguments of type LinearBooleanConstraint.BuilderModifier and TypeMethodDescriptionLinearBooleanProblem.Builder.getConstraintsBuilderList()The constraints of the problem.Methods in com.google.ortools.sat with parameters of type LinearBooleanConstraint.BuilderModifier and TypeMethodDescriptionLinearBooleanProblem.Builder.addConstraints(int index, LinearBooleanConstraint.Builder builderForValue) The constraints of the problem.LinearBooleanProblem.Builder.addConstraints(LinearBooleanConstraint.Builder builderForValue) The constraints of the problem.LinearBooleanProblem.Builder.setConstraints(int index, LinearBooleanConstraint.Builder builderForValue) The constraints of the problem.