Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.sat.AutomatonConstraintProto | getDefaultInstanceForType () |
com.google.ortools.sat.AutomatonConstraintProto | build () |
com.google.ortools.sat.AutomatonConstraintProto | buildPartial () |
Builder | clone () |
Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) |
Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) |
Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.sat.AutomatonConstraintProto other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
long | getStartingState () |
Builder | setStartingState (long value) |
Builder | clearStartingState () |
java.util.List< java.lang.Long > | getFinalStatesList () |
int | getFinalStatesCount () |
long | getFinalStates (int index) |
Builder | setFinalStates (int index, long value) |
Builder | addFinalStates (long value) |
Builder | addAllFinalStates (java.lang.Iterable<? extends java.lang.Long > values) |
Builder | clearFinalStates () |
java.util.List< java.lang.Long > | getTransitionTailList () |
int | getTransitionTailCount () |
long | getTransitionTail (int index) |
Builder | setTransitionTail (int index, long value) |
Builder | addTransitionTail (long value) |
Builder | addAllTransitionTail (java.lang.Iterable<? extends java.lang.Long > values) |
Builder | clearTransitionTail () |
java.util.List< java.lang.Long > | getTransitionHeadList () |
int | getTransitionHeadCount () |
long | getTransitionHead (int index) |
Builder | setTransitionHead (int index, long value) |
Builder | addTransitionHead (long value) |
Builder | addAllTransitionHead (java.lang.Iterable<? extends java.lang.Long > values) |
Builder | clearTransitionHead () |
java.util.List< java.lang.Long > | getTransitionLabelList () |
int | getTransitionLabelCount () |
long | getTransitionLabel (int index) |
Builder | setTransitionLabel (int index, long value) |
Builder | addTransitionLabel (long value) |
Builder | addAllTransitionLabel (java.lang.Iterable<? extends java.lang.Long > values) |
Builder | clearTransitionLabel () |
java.util.List< java.lang.Integer > | getVarsList () |
int | getVarsCount () |
int | getVars (int index) |
Builder | setVars (int index, int value) |
Builder | addVars (int value) |
Builder | addAllVars (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearVars () |
final Builder | setUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields) |
final Builder | mergeUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields) |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
This constraint forces a sequence of variables to be accepted by an automaton.
Protobuf type operations_research.sat.AutomatonConstraintProto
Definition at line 554 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllFinalStates | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
repeated int64 final_states = 3;
values | The finalStates to add. |
Definition at line 993 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllTransitionHead | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
repeated int64 transition_head = 5;
values | The transitionHead to add. |
Definition at line 1203 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllTransitionLabel | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
repeated int64 transition_label = 6;
values | The transitionLabel to add. |
Definition at line 1287 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllTransitionTail | ( | java.lang.Iterable<? extends java.lang.Long > | values | ) |
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;
values | The transitionTail to add. |
Definition at line 1113 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllVars | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
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;
values | The vars to add. |
Definition at line 1401 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addFinalStates | ( | long | value | ) |
repeated int64 final_states = 3;
value | The finalStates to add. |
Definition at line 980 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 676 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addTransitionHead | ( | long | value | ) |
repeated int64 transition_head = 5;
value | The transitionHead to add. |
Definition at line 1190 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addTransitionLabel | ( | long | value | ) |
repeated int64 transition_label = 6;
value | The transitionLabel to add. |
Definition at line 1274 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addTransitionTail | ( | long | value | ) |
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;
value | The transitionTail to add. |
Definition at line 1094 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addVars | ( | int | value | ) |
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;
value | The vars to add. |
Definition at line 1383 of file AutomatonConstraintProto.java.
com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.Builder.build | ( | ) |
Definition at line 606 of file AutomatonConstraintProto.java.
com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 615 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clear | ( | ) |
Definition at line 582 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field | ) |
Definition at line 660 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearFinalStates | ( | ) |
repeated int64 final_states = 3;
Definition at line 1006 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearOneof | ( | com.google.protobuf.Descriptors.OneofDescriptor | oneof | ) |
Definition at line 665 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearStartingState | ( | ) |
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;
Definition at line 922 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearTransitionHead | ( | ) |
repeated int64 transition_head = 5;
Definition at line 1216 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearTransitionLabel | ( | ) |
repeated int64 transition_label = 6;
Definition at line 1300 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearTransitionTail | ( | ) |
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;
Definition at line 1132 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearVars | ( | ) |
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;
Definition at line 1419 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clone | ( | ) |
Definition at line 650 of file AutomatonConstraintProto.java.
com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 601 of file AutomatonConstraintProto.java.
|
static |
Definition at line 559 of file AutomatonConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.AutomatonConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 596 of file AutomatonConstraintProto.java.
long com.google.ortools.sat.AutomatonConstraintProto.Builder.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 957 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.getFinalStatesCount | ( | ) |
repeated int64 final_states = 3;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 949 of file AutomatonConstraintProto.java.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.Builder.getFinalStatesList | ( | ) |
repeated int64 final_states = 3;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 941 of file AutomatonConstraintProto.java.
long com.google.ortools.sat.AutomatonConstraintProto.Builder.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 891 of file AutomatonConstraintProto.java.
long com.google.ortools.sat.AutomatonConstraintProto.Builder.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 1167 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.getTransitionHeadCount | ( | ) |
repeated int64 transition_head = 5;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1159 of file AutomatonConstraintProto.java.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.Builder.getTransitionHeadList | ( | ) |
repeated int64 transition_head = 5;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1151 of file AutomatonConstraintProto.java.
long com.google.ortools.sat.AutomatonConstraintProto.Builder.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 1251 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.getTransitionLabelCount | ( | ) |
repeated int64 transition_label = 6;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1243 of file AutomatonConstraintProto.java.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.Builder.getTransitionLabelList | ( | ) |
repeated int64 transition_label = 6;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1235 of file AutomatonConstraintProto.java.
long com.google.ortools.sat.AutomatonConstraintProto.Builder.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 1059 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.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 1045 of file AutomatonConstraintProto.java.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProto.Builder.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 1031 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
index | The index of the element to return. |
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1350 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1337 of file AutomatonConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1324 of file AutomatonConstraintProto.java.
|
protected |
Definition at line 565 of file AutomatonConstraintProto.java.
final boolean com.google.ortools.sat.AutomatonConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 757 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.AutomatonConstraintProto | other | ) |
Definition at line 691 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 762 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 682 of file AutomatonConstraintProto.java.
final Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.mergeUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 1432 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 654 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setFinalStates | ( | int | index, |
long | value ) |
repeated int64 final_states = 3;
index | The index to set the value at. |
value | The finalStates to set. |
Definition at line 966 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
int | index, | ||
java.lang.Object | value ) |
Definition at line 670 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setStartingState | ( | long | value | ) |
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;
value | The startingState to set. |
Definition at line 905 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setTransitionHead | ( | int | index, |
long | value ) |
repeated int64 transition_head = 5;
index | The index to set the value at. |
value | The transitionHead to set. |
Definition at line 1176 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setTransitionLabel | ( | int | index, |
long | value ) |
repeated int64 transition_label = 6;
index | The index to set the value at. |
value | The transitionLabel to set. |
Definition at line 1260 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setTransitionTail | ( | int | index, |
long | value ) |
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 to set the value at. |
value | The transitionTail to set. |
Definition at line 1074 of file AutomatonConstraintProto.java.
final Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 1426 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setVars | ( | int | index, |
int | value ) |
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;
index | The index to set the value at. |
value | The vars to set. |
Definition at line 1364 of file AutomatonConstraintProto.java.