public final class AutomatonConstraintProto extends com.google.protobuf.GeneratedMessage implements AutomatonConstraintProtoOrBuilder
This constraint forces a sequence of variables to be accepted by an automaton.Protobuf type
operations_research.sat.AutomatonConstraintProto| Modifier and Type | Class and Description |
|---|---|
static class |
AutomatonConstraintProto.Builder
This constraint forces a sequence of variables to be accepted by an
automaton.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FINAL_STATES_FIELD_NUMBER |
static int |
STARTING_STATE_FIELD_NUMBER |
static int |
TRANSITION_HEAD_FIELD_NUMBER |
static int |
TRANSITION_LABEL_FIELD_NUMBER |
static int |
TRANSITION_TAIL_FIELD_NUMBER |
static int |
VARS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static AutomatonConstraintProto |
getDefaultInstance() |
AutomatonConstraintProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getFinalStates(int index)
repeated int64 final_states = 3; |
int |
getFinalStatesCount()
repeated int64 final_states = 3; |
java.util.List<java.lang.Long> |
getFinalStatesList()
repeated int64 final_states = 3; |
com.google.protobuf.Parser<AutomatonConstraintProto> |
getParserForType() |
int |
getSerializedSize() |
long |
getStartingState()
A state is identified by a non-negative number.
|
long |
getTransitionHead(int index)
repeated int64 transition_head = 5; |
int |
getTransitionHeadCount()
repeated int64 transition_head = 5; |
java.util.List<java.lang.Long> |
getTransitionHeadList()
repeated int64 transition_head = 5; |
long |
getTransitionLabel(int index)
repeated int64 transition_label = 6; |
int |
getTransitionLabelCount()
repeated int64 transition_label = 6; |
java.util.List<java.lang.Long> |
getTransitionLabelList()
repeated int64 transition_label = 6; |
long |
getTransitionTail(int index)
List of transitions (all 3 vectors have the same size).
|
int |
getTransitionTailCount()
List of transitions (all 3 vectors have the same size).
|
java.util.List<java.lang.Long> |
getTransitionTailList()
List of transitions (all 3 vectors have the same size).
|
int |
getVars(int index)
The sequence of variables.
|
int |
getVarsCount()
The sequence of variables.
|
java.util.List<java.lang.Integer> |
getVarsList()
The sequence of variables.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AutomatonConstraintProto.Builder |
newBuilder() |
static AutomatonConstraintProto.Builder |
newBuilder(AutomatonConstraintProto prototype) |
AutomatonConstraintProto.Builder |
newBuilderForType() |
protected AutomatonConstraintProto.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static AutomatonConstraintProto |
parseDelimitedFrom(java.io.InputStream input) |
static AutomatonConstraintProto |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatonConstraintProto |
parseFrom(byte[] data) |
static AutomatonConstraintProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatonConstraintProto |
parseFrom(java.nio.ByteBuffer data) |
static AutomatonConstraintProto |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatonConstraintProto |
parseFrom(com.google.protobuf.ByteString data) |
static AutomatonConstraintProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatonConstraintProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AutomatonConstraintProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatonConstraintProto |
parseFrom(java.io.InputStream input) |
static AutomatonConstraintProto |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AutomatonConstraintProto> |
parser() |
AutomatonConstraintProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STARTING_STATE_FIELD_NUMBER
public static final int FINAL_STATES_FIELD_NUMBER
public static final int TRANSITION_TAIL_FIELD_NUMBER
public static final int TRANSITION_HEAD_FIELD_NUMBER
public static final int TRANSITION_LABEL_FIELD_NUMBER
public static final int VARS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic long getStartingState()
A state is identified by a non-negative number. It is preferable to keep all the states dense in says [0, num_states). The automaton starts at starting_state and must finish in any of the final states.
int64 starting_state = 2;getStartingState in interface AutomatonConstraintProtoOrBuilderpublic java.util.List<java.lang.Long> getFinalStatesList()
repeated int64 final_states = 3;getFinalStatesList in interface AutomatonConstraintProtoOrBuilderpublic int getFinalStatesCount()
repeated int64 final_states = 3;getFinalStatesCount in interface AutomatonConstraintProtoOrBuilderpublic long getFinalStates(int index)
repeated int64 final_states = 3;getFinalStates in interface AutomatonConstraintProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Long> getTransitionTailList()
List of transitions (all 3 vectors have the same size). Both tail and head are states, label is any variable value. No two outgoing transitions from the same state can have the same label.
repeated int64 transition_tail = 4;getTransitionTailList in interface AutomatonConstraintProtoOrBuilderpublic int getTransitionTailCount()
List of transitions (all 3 vectors have the same size). Both tail and head are states, label is any variable value. No two outgoing transitions from the same state can have the same label.
repeated int64 transition_tail = 4;getTransitionTailCount in interface AutomatonConstraintProtoOrBuilderpublic long getTransitionTail(int index)
List of transitions (all 3 vectors have the same size). Both tail and head are states, label is any variable value. No two outgoing transitions from the same state can have the same label.
repeated int64 transition_tail = 4;getTransitionTail in interface AutomatonConstraintProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Long> getTransitionHeadList()
repeated int64 transition_head = 5;getTransitionHeadList in interface AutomatonConstraintProtoOrBuilderpublic int getTransitionHeadCount()
repeated int64 transition_head = 5;getTransitionHeadCount in interface AutomatonConstraintProtoOrBuilderpublic long getTransitionHead(int index)
repeated int64 transition_head = 5;getTransitionHead in interface AutomatonConstraintProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Long> getTransitionLabelList()
repeated int64 transition_label = 6;getTransitionLabelList in interface AutomatonConstraintProtoOrBuilderpublic int getTransitionLabelCount()
repeated int64 transition_label = 6;getTransitionLabelCount in interface AutomatonConstraintProtoOrBuilderpublic long getTransitionLabel(int index)
repeated int64 transition_label = 6;getTransitionLabel in interface AutomatonConstraintProtoOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Integer> getVarsList()
The sequence of variables. The automaton is ran for vars_size() "steps" and the value of vars[i] corresponds to the transition label at step i.
repeated int32 vars = 7;getVarsList in interface AutomatonConstraintProtoOrBuilderpublic int getVarsCount()
The sequence of variables. The automaton is ran for vars_size() "steps" and the value of vars[i] corresponds to the transition label at step i.
repeated int32 vars = 7;getVarsCount in interface AutomatonConstraintProtoOrBuilderpublic int getVars(int index)
The sequence of variables. The automaton is ran for vars_size() "steps" and the value of vars[i] corresponds to the transition label at step i.
repeated int32 vars = 7;getVars in interface AutomatonConstraintProtoOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AutomatonConstraintProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatonConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatonConstraintProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatonConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatonConstraintProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatonConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatonConstraintProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AutomatonConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AutomatonConstraintProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AutomatonConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AutomatonConstraintProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AutomatonConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AutomatonConstraintProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AutomatonConstraintProto.Builder newBuilder()
public static AutomatonConstraintProto.Builder newBuilder(AutomatonConstraintProto prototype)
public AutomatonConstraintProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AutomatonConstraintProto.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static AutomatonConstraintProto getDefaultInstance()
public static com.google.protobuf.Parser<AutomatonConstraintProto> parser()
public com.google.protobuf.Parser<AutomatonConstraintProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic AutomatonConstraintProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.