Class Lrat.LratInferredClause
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
operations_research.sat.Lrat.LratInferredClause
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Lrat.LratInferredClauseOrBuilder
- Enclosing class:
Lrat
public static final class Lrat.LratInferredClause
extends com.google.protobuf.GeneratedMessage
implements Lrat.LratInferredClauseOrBuilder
An LRAT inferred clause.Protobuf type
operations_research.sat.LratInferredClause- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn LRAT inferred clause.static final classIf `rat_infos` is empty, the last `unit_ids` clause must become empty after unit propagation.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongoptional int64 clause_id = 1;static Lrat.LratInferredClausestatic final com.google.protobuf.Descriptors.DescriptorbooleanWhether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported).intgetLiterals(int index) Literals are represented with LiteralIndex values.intLiterals are represented with LiteralIndex values.Literals are represented with LiteralIndex values.com.google.protobuf.Parser<Lrat.LratInferredClause> getRatInfos(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;intrepeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;getRatInfosOrBuilder(int index) repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;List<? extends Lrat.LratInferredClause.RatInfoOrBuilder> repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;intlonggetUnitIds(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).intClauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).Clauses which become unit and possibly empty if all the `literals` are assumed to be false (verification stops at the first empty clause).booleanoptional int64 clause_id = 1;booleanWhether the clause must be exported, so that other workers can import it (a clause cannot be imported if it is not previously exported).inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Lrat.LratInferredClause prototype) protected Lrat.LratInferredClause.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Lrat.LratInferredClauseparseDelimitedFrom(InputStream input) static Lrat.LratInferredClauseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Lrat.LratInferredClauseparseFrom(byte[] data) static Lrat.LratInferredClauseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Lrat.LratInferredClauseparseFrom(com.google.protobuf.ByteString data) static Lrat.LratInferredClauseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Lrat.LratInferredClauseparseFrom(com.google.protobuf.CodedInputStream input) static Lrat.LratInferredClauseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Lrat.LratInferredClauseparseFrom(InputStream input) static Lrat.LratInferredClauseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Lrat.LratInferredClauseparseFrom(ByteBuffer data) static Lrat.LratInferredClauseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Lrat.LratInferredClause> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLAUSE_ID_FIELD_NUMBER
public static final int CLAUSE_ID_FIELD_NUMBER- See Also:
-
LITERALS_FIELD_NUMBER
public static final int LITERALS_FIELD_NUMBER- See Also:
-
UNIT_IDS_FIELD_NUMBER
public static final int UNIT_IDS_FIELD_NUMBER- See Also:
-
RAT_INFOS_FIELD_NUMBER
public static final int RAT_INFOS_FIELD_NUMBER- See Also:
-
EXPORTED_FIELD_NUMBER
public static final int EXPORTED_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasClauseId
public boolean hasClauseId()optional int64 clause_id = 1;- Specified by:
hasClauseIdin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- Whether the clauseId field is set.
-
getClauseId
public long getClauseId()optional int64 clause_id = 1;- Specified by:
getClauseIdin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The clauseId.
-
getLiteralsList
Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Specified by:
getLiteralsListin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- A list containing the literals.
-
getLiteralsCount
public int getLiteralsCount()Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Specified by:
getLiteralsCountin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The count of literals.
-
getLiterals
public int getLiterals(int index) Literals are represented with LiteralIndex values.
repeated int32 literals = 2 [packed = true];- Specified by:
getLiteralsin interfaceLrat.LratInferredClauseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The literals at the given index.
-
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];- Specified by:
getUnitIdsListin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- A list containing the unitIds.
-
getUnitIdsCount
public int 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];- Specified by:
getUnitIdsCountin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The count of unitIds.
-
getUnitIds
public long 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];- Specified by:
getUnitIdsin interfaceLrat.LratInferredClauseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unitIds at the given index.
-
getRatInfosList
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosListin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfosOrBuilderList
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosOrBuilderListin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfosCount
public int getRatInfosCount()repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosCountin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfos
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosin interfaceLrat.LratInferredClauseOrBuilder
-
getRatInfosOrBuilder
repeated .operations_research.sat.LratInferredClause.RatInfo rat_infos = 4;- Specified by:
getRatInfosOrBuilderin interfaceLrat.LratInferredClauseOrBuilder
-
hasExported
public boolean 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;- Specified by:
hasExportedin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- Whether the exported field is set.
-
getExported
public boolean 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;- Specified by:
getExportedin interfaceLrat.LratInferredClauseOrBuilder- Returns:
- The exported.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Lrat.LratInferredClause parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Lrat.LratInferredClause parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Lrat.LratInferredClause parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Lrat.LratInferredClause.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-