Uses of Class
com.google.ortools.sat.LinearBooleanProblem.Builder
Packages that use LinearBooleanProblem.Builder
-
Uses of LinearBooleanProblem.Builder in com.google.ortools.sat
Subclasses with type arguments of type LinearBooleanProblem.Builder in com.google.ortools.satModifier and TypeClassDescriptionstatic final class
A linear Boolean problem.Methods in com.google.ortools.sat that return LinearBooleanProblem.BuilderModifier and TypeMethodDescriptionLinearBooleanProblem.Builder.addAllConstraints
(Iterable<? extends LinearBooleanConstraint> values) The constraints of the problem.LinearBooleanProblem.Builder.addAllVarNames
(Iterable<String> values) The names of the problem variables.LinearBooleanProblem.Builder.addConstraints
(int index, LinearBooleanConstraint value) The constraints of the problem.LinearBooleanProblem.Builder.addConstraints
(int index, LinearBooleanConstraint.Builder builderForValue) The constraints of the problem.LinearBooleanProblem.Builder.addConstraints
(LinearBooleanConstraint value) The constraints of the problem.LinearBooleanProblem.Builder.addConstraints
(LinearBooleanConstraint.Builder builderForValue) The constraints of the problem.LinearBooleanProblem.Builder.addVarNames
(String value) The names of the problem variables.LinearBooleanProblem.Builder.addVarNamesBytes
(com.google.protobuf.ByteString value) The names of the problem variables.LinearBooleanProblem.Builder.clear()
LinearBooleanProblem.Builder.clearAssignment()
Stores an assignment of the problem variables.LinearBooleanProblem.Builder.clearConstraints()
The constraints of the problem.LinearBooleanProblem.Builder.clearName()
The name of the problem.LinearBooleanProblem.Builder.clearNumVariables()
The number of variables in the problem.LinearBooleanProblem.Builder.clearObjective()
The objective of the problem.LinearBooleanProblem.Builder.clearOriginalNumVariables()
Hack: When converting a wcnf formulat to a LinearBooleanProblem, extra variables need to be created.LinearBooleanProblem.Builder.clearVarNames()
The names of the problem variables.LinearBooleanProblem.Builder.mergeAssignment
(BooleanAssignment value) Stores an assignment of the problem variables.LinearBooleanProblem.Builder.mergeFrom
(LinearBooleanProblem other) LinearBooleanProblem.Builder.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) LinearBooleanProblem.Builder.mergeFrom
(com.google.protobuf.Message other) LinearBooleanProblem.Builder.mergeObjective
(LinearObjective value) The objective of the problem.static LinearBooleanProblem.Builder
LinearBooleanProblem.newBuilder()
static LinearBooleanProblem.Builder
LinearBooleanProblem.newBuilder
(LinearBooleanProblem prototype) LinearBooleanProblem.newBuilderForType()
protected LinearBooleanProblem.Builder
LinearBooleanProblem.newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) LinearBooleanProblem.Builder.removeConstraints
(int index) The constraints of the problem.LinearBooleanProblem.Builder.setAssignment
(BooleanAssignment value) Stores an assignment of the problem variables.LinearBooleanProblem.Builder.setAssignment
(BooleanAssignment.Builder builderForValue) Stores an assignment of the problem variables.LinearBooleanProblem.Builder.setConstraints
(int index, LinearBooleanConstraint value) The constraints of the problem.LinearBooleanProblem.Builder.setConstraints
(int index, LinearBooleanConstraint.Builder builderForValue) The constraints of the problem.The name of the problem.LinearBooleanProblem.Builder.setNameBytes
(com.google.protobuf.ByteString value) The name of the problem.LinearBooleanProblem.Builder.setNumVariables
(int value) The number of variables in the problem.LinearBooleanProblem.Builder.setObjective
(LinearObjective value) The objective of the problem.LinearBooleanProblem.Builder.setObjective
(LinearObjective.Builder builderForValue) The objective of the problem.LinearBooleanProblem.Builder.setOriginalNumVariables
(int value) Hack: When converting a wcnf formulat to a LinearBooleanProblem, extra variables need to be created.LinearBooleanProblem.Builder.setVarNames
(int index, String value) The names of the problem variables.LinearBooleanProblem.toBuilder()