![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
An LRAT inferred clause.
Protobuf type operations_research.sat.LratInferredClause
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addAllLiterals | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addAllRatInfos | ( | java.lang.Iterable<? extends operations_research.sat.Lrat.LratInferredClause.RatInfo > | values | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addAllUnitIds | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
| values | The unitIds to add. |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addLiterals | ( | int | value | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addRatInfos | ( | int | index, |
| operations_research.sat.Lrat.LratInferredClause.RatInfo | value ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addRatInfos | ( | int | index, |
| operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder | builderForValue ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addRatInfos | ( | operations_research.sat.Lrat.LratInferredClause.RatInfo | value | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addRatInfos | ( | operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder | builderForValue | ) |
| operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder operations_research.sat.Lrat.LratInferredClause.Builder.addRatInfosBuilder | ( | ) |
| operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder operations_research.sat.Lrat.LratInferredClause.Builder.addRatInfosBuilder | ( | int | index | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.addUnitIds | ( | long | value | ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
| value | The unitIds to add. |
| operations_research.sat.Lrat.LratInferredClause operations_research.sat.Lrat.LratInferredClause.Builder.build | ( | ) |
| operations_research.sat.Lrat.LratInferredClause operations_research.sat.Lrat.LratInferredClause.Builder.buildPartial | ( | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.clear | ( | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.clearClauseId | ( | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.clearExported | ( | ) |
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.clearLiterals | ( | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.clearRatInfos | ( | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.clearUnitIds | ( | ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
| long operations_research.sat.Lrat.LratInferredClause.Builder.getClauseId | ( | ) |
optional int64 clause_id = 1;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| operations_research.sat.Lrat.LratInferredClause operations_research.sat.Lrat.LratInferredClause.Builder.getDefaultInstanceForType | ( | ) |
|
static |
| com.google.protobuf.Descriptors.Descriptor operations_research.sat.Lrat.LratInferredClause.Builder.getDescriptorForType | ( | ) |
| boolean operations_research.sat.Lrat.LratInferredClause.Builder.getExported | ( | ) |
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| int operations_research.sat.Lrat.LratInferredClause.Builder.getLiterals | ( | int | index | ) |
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];
| index | The index of the element to return. |
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| int operations_research.sat.Lrat.LratInferredClause.Builder.getLiteralsCount | ( | ) |
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| java.util.List< java.lang.Integer > operations_research.sat.Lrat.LratInferredClause.Builder.getLiteralsList | ( | ) |
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| operations_research.sat.Lrat.LratInferredClause.RatInfo operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfos | ( | int | index | ) |
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfosBuilder | ( | int | index | ) |
| java.util.List< operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder > operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfosBuilderList | ( | ) |
| int operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfosCount | ( | ) |
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| java.util.List< operations_research.sat.Lrat.LratInferredClause.RatInfo > operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfosList | ( | ) |
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfosOrBuilder | ( | int | index | ) |
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| java.util.List<? extends operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder > operations_research.sat.Lrat.LratInferredClause.Builder.getRatInfosOrBuilderList | ( | ) |
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| long operations_research.sat.Lrat.LratInferredClause.Builder.getUnitIds | ( | int | index | ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
| index | The index of the element to return. |
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| int operations_research.sat.Lrat.LratInferredClause.Builder.getUnitIdsCount | ( | ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| java.util.List< java.lang.Long > operations_research.sat.Lrat.LratInferredClause.Builder.getUnitIdsList | ( | ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| boolean operations_research.sat.Lrat.LratInferredClause.Builder.hasClauseId | ( | ) |
optional int64 clause_id = 1;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
| boolean operations_research.sat.Lrat.LratInferredClause.Builder.hasExported | ( | ) |
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;
Implements operations_research.sat.Lrat.LratInferredClauseOrBuilder.
|
protected |
| final boolean operations_research.sat.Lrat.LratInferredClause.Builder.isInitialized | ( | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
| com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.mergeFrom | ( | operations_research.sat.Lrat.LratInferredClause | other | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.removeRatInfos | ( | int | index | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.setClauseId | ( | long | value | ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.setExported | ( | boolean | value | ) |
Whether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported). This is not needed for unary and binary clauses, which are always exported.
optional bool exported = 5;
| value | The exported to set. |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.setLiterals | ( | int | index, |
| int | value ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.setRatInfos | ( | int | index, |
| operations_research.sat.Lrat.LratInferredClause.RatInfo | value ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.setRatInfos | ( | int | index, |
| operations_research.sat.Lrat.LratInferredClause.RatInfo.Builder | builderForValue ) |
| Builder operations_research.sat.Lrat.LratInferredClause.Builder.setUnitIds | ( | int | index, |
| long | value ) |
Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause). This list must be in unit propagation order. See LratChecker for more details.
repeated int64 unit_ids = 3 [packed = true];
| index | The index to set the value at. |
| value | The unitIds to set. |