![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
If `rat_infos` is empty, the last `unit_ids` clause must become empty after unit propagation. If the last `unit_ids` clause does not become empty by unit propagation, then `rat_infos` must contain all the clauses which contain the negation of the first `literals` (called the pivot 'p') -- and no other clauses. Moreover, for each r in `rat_infos`, all the `r.unit_ids` clauses must become unit and eventually empty if all the literals of the `r.resolvant_id` clause (minus ~p), plus those in `literals`, are assumed to be false (this list must be in unit propagation order; verification stops at the first empty clause). See LratChecker for more details.
Protobuf type operations_research.sat.LratInferredClause.RatInfo
Classes | |
| class | Builder |
Public Member Functions | |
| boolean | hasResolvantId () |
| long | getResolvantId () |
| java.util.List< java.lang.Long > | getUnitIdsList () |
| int | getUnitIdsCount () |
| long | getUnitIds (int index) |
| final boolean | isInitialized () |
| void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
| int | getSerializedSize () |
| boolean | equals (final java.lang.Object obj) |
| int | hashCode () |
| Builder | newBuilderForType () |
| Builder | toBuilder () |
| com.google.protobuf.Parser< RatInfo > | getParserForType () |
| operations_research.sat.Lrat.LratInferredClause.RatInfo | getDefaultInstanceForType () |
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (java.io.InputStream input) throws java.io.IOException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static Builder | newBuilder () |
| static Builder | newBuilder (operations_research.sat.Lrat.LratInferredClause.RatInfo prototype) |
| static operations_research.sat.Lrat.LratInferredClause.RatInfo | getDefaultInstance () |
| static com.google.protobuf.Parser< RatInfo > | parser () |
Static Public Attributes | |
| static final int | RESOLVANT_ID_FIELD_NUMBER = 1 |
| static final int | UNIT_IDS_FIELD_NUMBER = 2 |
Protected Member Functions | |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
| Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
| boolean operations_research.sat.Lrat.LratInferredClause.RatInfo.equals | ( | final java.lang.Object | obj | ) |
|
static |
| operations_research.sat.Lrat.LratInferredClause.RatInfo operations_research.sat.Lrat.LratInferredClause.RatInfo.getDefaultInstanceForType | ( | ) |
|
static |
| com.google.protobuf.Parser< RatInfo > operations_research.sat.Lrat.LratInferredClause.RatInfo.getParserForType | ( | ) |
| long operations_research.sat.Lrat.LratInferredClause.RatInfo.getResolvantId | ( | ) |
optional int64 resolvant_id = 1;
Implements operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder.
| int operations_research.sat.Lrat.LratInferredClause.RatInfo.getSerializedSize | ( | ) |
| long operations_research.sat.Lrat.LratInferredClause.RatInfo.getUnitIds | ( | int | index | ) |
repeated int64 unit_ids = 2 [packed = true];
| index | The index of the element to return. |
Implements operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder.
| int operations_research.sat.Lrat.LratInferredClause.RatInfo.getUnitIdsCount | ( | ) |
repeated int64 unit_ids = 2 [packed = true];
Implements operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder.
| java.util.List< java.lang.Long > operations_research.sat.Lrat.LratInferredClause.RatInfo.getUnitIdsList | ( | ) |
repeated int64 unit_ids = 2 [packed = true];
Implements operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder.
| int operations_research.sat.Lrat.LratInferredClause.RatInfo.hashCode | ( | ) |
| boolean operations_research.sat.Lrat.LratInferredClause.RatInfo.hasResolvantId | ( | ) |
optional int64 resolvant_id = 1;
Implements operations_research.sat.Lrat.LratInferredClause.RatInfoOrBuilder.
|
protected |
| final boolean operations_research.sat.Lrat.LratInferredClause.RatInfo.isInitialized | ( | ) |
|
static |
|
static |
| Builder operations_research.sat.Lrat.LratInferredClause.RatInfo.newBuilderForType | ( | ) |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| Builder operations_research.sat.Lrat.LratInferredClause.RatInfo.toBuilder | ( | ) |
| void operations_research.sat.Lrat.LratInferredClause.RatInfo.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
|
static |
|
static |