public final class AutomatonConstraintProto extends com.google.protobuf.GeneratedMessage implements AutomatonConstraintProtoOrBuilder
This constraint forces a sequence of expressions 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 expressions 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 |
EXPRS_FIELD_NUMBER |
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() |
LinearExpressionProto |
getExprs(int index)
The sequence of affine expressions (a * var + b).
|
int |
getExprsCount()
The sequence of affine expressions (a * var + b).
|
java.util.List<LinearExpressionProto> |
getExprsList()
The sequence of affine expressions (a * var + b).
|
LinearExpressionProtoOrBuilder |
getExprsOrBuilder(int index)
The sequence of affine expressions (a * var + b).
|
java.util.List<? extends LinearExpressionProtoOrBuilder> |
getExprsOrBuilderList()
The sequence of affine expressions (a * var + b).
|
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)
Legacy field.
|
int |
getVarsCount()
Legacy field.
|
java.util.List<java.lang.Integer> |
getVarsList()
Legacy field.
|
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 int EXPRS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public 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 AutomatonConstraintProtoOrBuilder
public java.util.List<java.lang.Long> getFinalStatesList()
repeated int64 final_states = 3;
getFinalStatesList
in interface AutomatonConstraintProtoOrBuilder
public int getFinalStatesCount()
repeated int64 final_states = 3;
getFinalStatesCount
in interface AutomatonConstraintProtoOrBuilder
public long getFinalStates(int index)
repeated int64 final_states = 3;
getFinalStates
in interface AutomatonConstraintProtoOrBuilder
index
- 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 AutomatonConstraintProtoOrBuilder
public 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 AutomatonConstraintProtoOrBuilder
public 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 AutomatonConstraintProtoOrBuilder
index
- The index of the element to return.public java.util.List<java.lang.Long> getTransitionHeadList()
repeated int64 transition_head = 5;
getTransitionHeadList
in interface AutomatonConstraintProtoOrBuilder
public int getTransitionHeadCount()
repeated int64 transition_head = 5;
getTransitionHeadCount
in interface AutomatonConstraintProtoOrBuilder
public long getTransitionHead(int index)
repeated int64 transition_head = 5;
getTransitionHead
in interface AutomatonConstraintProtoOrBuilder
index
- The index of the element to return.public java.util.List<java.lang.Long> getTransitionLabelList()
repeated int64 transition_label = 6;
getTransitionLabelList
in interface AutomatonConstraintProtoOrBuilder
public int getTransitionLabelCount()
repeated int64 transition_label = 6;
getTransitionLabelCount
in interface AutomatonConstraintProtoOrBuilder
public long getTransitionLabel(int index)
repeated int64 transition_label = 6;
getTransitionLabel
in interface AutomatonConstraintProtoOrBuilder
index
- The index of the element to return.public java.util.List<java.lang.Integer> getVarsList()
Legacy field.
repeated int32 vars = 7;
getVarsList
in interface AutomatonConstraintProtoOrBuilder
public int getVarsCount()
Legacy field.
repeated int32 vars = 7;
getVarsCount
in interface AutomatonConstraintProtoOrBuilder
public int getVars(int index)
Legacy field.
repeated int32 vars = 7;
getVars
in interface AutomatonConstraintProtoOrBuilder
index
- The index of the element to return.public java.util.List<LinearExpressionProto> getExprsList()
The sequence of affine expressions (a * var + b). The automaton is ran for exprs_size() "steps" and the value of exprs[i] corresponds to the transition label at step i.
repeated .operations_research.sat.LinearExpressionProto exprs = 8;
getExprsList
in interface AutomatonConstraintProtoOrBuilder
public java.util.List<? extends LinearExpressionProtoOrBuilder> getExprsOrBuilderList()
The sequence of affine expressions (a * var + b). The automaton is ran for exprs_size() "steps" and the value of exprs[i] corresponds to the transition label at step i.
repeated .operations_research.sat.LinearExpressionProto exprs = 8;
getExprsOrBuilderList
in interface AutomatonConstraintProtoOrBuilder
public int getExprsCount()
The sequence of affine expressions (a * var + b). The automaton is ran for exprs_size() "steps" and the value of exprs[i] corresponds to the transition label at step i.
repeated .operations_research.sat.LinearExpressionProto exprs = 8;
getExprsCount
in interface AutomatonConstraintProtoOrBuilder
public LinearExpressionProto getExprs(int index)
The sequence of affine expressions (a * var + b). The automaton is ran for exprs_size() "steps" and the value of exprs[i] corresponds to the transition label at step i.
repeated .operations_research.sat.LinearExpressionProto exprs = 8;
getExprs
in interface AutomatonConstraintProtoOrBuilder
public LinearExpressionProtoOrBuilder getExprsOrBuilder(int index)
The sequence of affine expressions (a * var + b). The automaton is ran for exprs_size() "steps" and the value of exprs[i] corresponds to the transition label at step i.
repeated .operations_research.sat.LinearExpressionProto exprs = 8;
getExprsOrBuilder
in interface AutomatonConstraintProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static AutomatonConstraintProto parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AutomatonConstraintProto parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AutomatonConstraintProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AutomatonConstraintProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AutomatonConstraintProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AutomatonConstraintProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AutomatonConstraintProto parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AutomatonConstraintProto parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AutomatonConstraintProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AutomatonConstraintProto parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AutomatonConstraintProto parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static AutomatonConstraintProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public AutomatonConstraintProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static AutomatonConstraintProto.Builder newBuilder()
public static AutomatonConstraintProto.Builder newBuilder(AutomatonConstraintProto prototype)
public AutomatonConstraintProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected AutomatonConstraintProto.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static AutomatonConstraintProto getDefaultInstance()
public static com.google.protobuf.Parser<AutomatonConstraintProto> parser()
public com.google.protobuf.Parser<AutomatonConstraintProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public AutomatonConstraintProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2025. All rights reserved.