| Package | Description |
|---|---|
| com.google.ortools.sat |
| Modifier and Type | Method and Description |
|---|---|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addAllVars(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 vars = 3; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addVars(int value)
repeated int32 vars = 3; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clear() |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearIndex()
int32 index = 1; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearTarget()
int32 target = 2; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearVars()
repeated int32 vars = 3; |
ElementConstraintProto.Builder |
ConstraintProto.Builder.getElementBuilder()
The element constraint forces the variable with the given index
to be equal to the target.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.mergeFrom(ElementConstraintProto other) |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.mergeFrom(com.google.protobuf.Message other) |
static ElementConstraintProto.Builder |
ElementConstraintProto.newBuilder() |
static ElementConstraintProto.Builder |
ElementConstraintProto.newBuilder(ElementConstraintProto prototype) |
ElementConstraintProto.Builder |
ElementConstraintProto.newBuilderForType() |
protected ElementConstraintProto.Builder |
ElementConstraintProto.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setIndex(int value)
int32 index = 1; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setTarget(int value)
int32 target = 2; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setVars(int index,
int value)
repeated int32 vars = 3; |
ElementConstraintProto.Builder |
ElementConstraintProto.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ConstraintProto.Builder |
ConstraintProto.Builder.setElement(ElementConstraintProto.Builder builderForValue)
The element constraint forces the variable with the given index
to be equal to the target.
|
Copyright © 2024. All rights reserved.