Package | Description |
---|---|
com.google.ortools.sat |
Modifier and Type | Method and Description |
---|---|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addAllExprs(java.lang.Iterable<? extends LinearExpressionProto> values)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addAllVars(java.lang.Iterable<? extends java.lang.Integer> values)
Legacy field.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addExprs(int index,
LinearExpressionProto.Builder builderForValue)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addExprs(int index,
LinearExpressionProto value)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addExprs(LinearExpressionProto.Builder builderForValue)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addExprs(LinearExpressionProto value)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.addVars(int value)
Legacy field.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clear() |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearExprs()
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearIndex()
Legacy field.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearLinearIndex()
All expressions below must be affine function with at most one variable.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearLinearTarget()
.operations_research.sat.LinearExpressionProto linear_target = 5; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearTarget()
Legacy field.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.clearVars()
Legacy field.
|
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) |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.mergeLinearIndex(LinearExpressionProto value)
All expressions below must be affine function with at most one variable.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.mergeLinearTarget(LinearExpressionProto value)
.operations_research.sat.LinearExpressionProto linear_target = 5; |
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.removeExprs(int index)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setExprs(int index,
LinearExpressionProto.Builder builderForValue)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setExprs(int index,
LinearExpressionProto value)
repeated .operations_research.sat.LinearExpressionProto exprs = 6; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setIndex(int value)
Legacy field.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setLinearIndex(LinearExpressionProto.Builder builderForValue)
All expressions below must be affine function with at most one variable.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setLinearIndex(LinearExpressionProto value)
All expressions below must be affine function with at most one variable.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setLinearTarget(LinearExpressionProto.Builder builderForValue)
.operations_research.sat.LinearExpressionProto linear_target = 5; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setLinearTarget(LinearExpressionProto value)
.operations_research.sat.LinearExpressionProto linear_target = 5; |
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setTarget(int value)
Legacy field.
|
ElementConstraintProto.Builder |
ElementConstraintProto.Builder.setVars(int index,
int value)
Legacy field.
|
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 © 2025. All rights reserved.