![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
This constraint forces a sequence of expressions to be accepted by an automaton.
Protobuf type operations_research.sat.AutomatonConstraintProto
Definition at line 17 of file AutomatonConstraintProto.java.
Classes | |
| class | Builder |
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
| static com.google.ortools.sat.AutomatonConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
| static Builder | newBuilder () |
| static Builder | newBuilder (com.google.ortools.sat.AutomatonConstraintProto prototype) |
| static com.google.ortools.sat.AutomatonConstraintProto | getDefaultInstance () |
| static com.google.protobuf.Parser< AutomatonConstraintProto > | parser () |
Static Public Attributes | |
| static final int | STARTING_STATE_FIELD_NUMBER = 2 |
| static final int | FINAL_STATES_FIELD_NUMBER = 3 |
| static final int | TRANSITION_TAIL_FIELD_NUMBER = 4 |
| static final int | TRANSITION_HEAD_FIELD_NUMBER = 5 |
| static final int | TRANSITION_LABEL_FIELD_NUMBER = 6 |
| static final int | VARS_FIELD_NUMBER = 7 |
| static final int | EXPRS_FIELD_NUMBER = 8 |
Protected Member Functions | |
| com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
| Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
| boolean com.google.ortools.sat.AutomatonConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 469 of file AutomatonConstraintProto.java.
|
static |
Definition at line 1866 of file AutomatonConstraintProto.java.
| com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 1902 of file AutomatonConstraintProto.java.
|
static |
Definition at line 45 of file AutomatonConstraintProto.java.
| com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.AutomatonConstraintProto.getExprs | ( | int | index | ) |
The sequence of expressions. 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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 303 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getExprsCount | ( | ) |
The sequence of expressions. 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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 291 of file AutomatonConstraintProto.java.
| java.util.List< com.google.ortools.sat.LinearExpressionProto > com.google.ortools.sat.AutomatonConstraintProto.getExprsList | ( | ) |
The sequence of expressions. 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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 266 of file AutomatonConstraintProto.java.
| com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.AutomatonConstraintProto.getExprsOrBuilder | ( | int | index | ) |
The sequence of expressions. 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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 315 of file AutomatonConstraintProto.java.
| java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > com.google.ortools.sat.AutomatonConstraintProto.getExprsOrBuilderList | ( | ) |
The sequence of expressions. 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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 279 of file AutomatonConstraintProto.java.
| long com.google.ortools.sat.AutomatonConstraintProto.getFinalStates | ( | int | index | ) |
repeated int64 final_states = 3;
| index | The index of the element to return. |
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 99 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getFinalStatesCount | ( | ) |
repeated int64 final_states = 3;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 91 of file AutomatonConstraintProto.java.
| java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.getFinalStatesList | ( | ) |
repeated int64 final_states = 3;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 84 of file AutomatonConstraintProto.java.
| com.google.protobuf.Parser< AutomatonConstraintProto > com.google.ortools.sat.AutomatonConstraintProto.getParserForType | ( | ) |
Definition at line 1897 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getSerializedSize | ( | ) |
Definition at line 380 of file AutomatonConstraintProto.java.
| long com.google.ortools.sat.AutomatonConstraintProto.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 70 of file AutomatonConstraintProto.java.
| long com.google.ortools.sat.AutomatonConstraintProto.getTransitionHead | ( | int | index | ) |
repeated int64 transition_head = 5;
| index | The index of the element to return. |
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 177 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getTransitionHeadCount | ( | ) |
repeated int64 transition_head = 5;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 169 of file AutomatonConstraintProto.java.
| java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.getTransitionHeadList | ( | ) |
repeated int64 transition_head = 5;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 162 of file AutomatonConstraintProto.java.
| long com.google.ortools.sat.AutomatonConstraintProto.getTransitionLabel | ( | int | index | ) |
repeated int64 transition_label = 6;
| index | The index of the element to return. |
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 207 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getTransitionLabelCount | ( | ) |
repeated int64 transition_label = 6;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 199 of file AutomatonConstraintProto.java.
| java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.getTransitionLabelList | ( | ) |
repeated int64 transition_label = 6;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 192 of file AutomatonConstraintProto.java.
| long com.google.ortools.sat.AutomatonConstraintProto.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;
| index | The index of the element to return. |
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 147 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 133 of file AutomatonConstraintProto.java.
| java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 120 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getVars | ( | int | index | ) |
Legacy field.
repeated int32 vars = 7;
| index | The index of the element to return. |
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 249 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.getVarsCount | ( | ) |
Legacy field.
repeated int32 vars = 7;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 237 of file AutomatonConstraintProto.java.
| java.util.List< java.lang.Integer > com.google.ortools.sat.AutomatonConstraintProto.getVarsList | ( | ) |
Legacy field.
repeated int32 vars = 7;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 226 of file AutomatonConstraintProto.java.
| int com.google.ortools.sat.AutomatonConstraintProto.hashCode | ( | ) |
Definition at line 497 of file AutomatonConstraintProto.java.
|
protected |
Definition at line 51 of file AutomatonConstraintProto.java.
| final boolean com.google.ortools.sat.AutomatonConstraintProto.isInitialized | ( | ) |
Definition at line 322 of file AutomatonConstraintProto.java.
|
static |
Definition at line 609 of file AutomatonConstraintProto.java.
|
static |
Definition at line 612 of file AutomatonConstraintProto.java.
| Builder com.google.ortools.sat.AutomatonConstraintProto.newBuilderForType | ( | ) |
Definition at line 608 of file AutomatonConstraintProto.java.
|
protected |
Definition at line 622 of file AutomatonConstraintProto.java.
|
static |
Definition at line 580 of file AutomatonConstraintProto.java.
|
static |
Definition at line 586 of file AutomatonConstraintProto.java.
|
static |
Definition at line 557 of file AutomatonConstraintProto.java.
|
static |
Definition at line 561 of file AutomatonConstraintProto.java.
|
static |
Definition at line 546 of file AutomatonConstraintProto.java.
|
static |
Definition at line 551 of file AutomatonConstraintProto.java.
|
static |
Definition at line 593 of file AutomatonConstraintProto.java.
|
static |
Definition at line 599 of file AutomatonConstraintProto.java.
|
static |
Definition at line 567 of file AutomatonConstraintProto.java.
|
static |
Definition at line 572 of file AutomatonConstraintProto.java.
|
static |
Definition at line 535 of file AutomatonConstraintProto.java.
|
static |
Definition at line 540 of file AutomatonConstraintProto.java.
|
static |
Definition at line 1892 of file AutomatonConstraintProto.java.
| Builder com.google.ortools.sat.AutomatonConstraintProto.toBuilder | ( | ) |
Definition at line 616 of file AutomatonConstraintProto.java.
| void com.google.ortools.sat.AutomatonConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 332 of file AutomatonConstraintProto.java.
|
static |
Definition at line 254 of file AutomatonConstraintProto.java.
|
static |
Definition at line 74 of file AutomatonConstraintProto.java.
|
static |
Definition at line 57 of file AutomatonConstraintProto.java.
|
static |
Definition at line 152 of file AutomatonConstraintProto.java.
|
static |
Definition at line 182 of file AutomatonConstraintProto.java.
|
static |
Definition at line 104 of file AutomatonConstraintProto.java.
|
static |
Definition at line 212 of file AutomatonConstraintProto.java.