Uses of Class
com.google.ortools.sat.ElementConstraintProto.Builder
Packages that use ElementConstraintProto.Builder
-
Uses of ElementConstraintProto.Builder in com.google.ortools.sat
Methods in com.google.ortools.sat that return ElementConstraintProto.BuilderModifier and TypeMethodDescriptionElementConstraintProto.Builder.addAllVars(Iterable<? extends Integer> values) repeated int32 vars = 3;ElementConstraintProto.Builder.addVars(int value) repeated int32 vars = 3;ElementConstraintProto.Builder.clear()ElementConstraintProto.Builder.clearIndex()int32 index = 1;ElementConstraintProto.Builder.clearTarget()int32 target = 2;ElementConstraintProto.Builder.clearVars()repeated int32 vars = 3;ConstraintProto.Builder.getElementBuilder()The element constraint forces the variable with the given index to be equal to the target.ElementConstraintProto.Builder.mergeFrom(ElementConstraintProto other) ElementConstraintProto.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) ElementConstraintProto.Builder.mergeFrom(com.google.protobuf.Message other) ElementConstraintProto.newBuilder()ElementConstraintProto.newBuilder(ElementConstraintProto prototype) ElementConstraintProto.newBuilderForType()protected ElementConstraintProto.BuilderElementConstraintProto.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) ElementConstraintProto.Builder.setIndex(int value) int32 index = 1;ElementConstraintProto.Builder.setTarget(int value) int32 target = 2;ElementConstraintProto.Builder.setVars(int index, int value) repeated int32 vars = 3;ElementConstraintProto.toBuilder()Methods in com.google.ortools.sat with parameters of type ElementConstraintProto.BuilderModifier and TypeMethodDescriptionConstraintProto.Builder.setElement(ElementConstraintProto.Builder builderForValue) The element constraint forces the variable with the given index to be equal to the target.