![]() |
Google OR-Tools v9.14
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 640 of file AutomatonConstraintProto.java.
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllExprs | ( | java.lang.Iterable<? extends com.google.ortools.sat.LinearExpressionProto > | values | ) |
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;
Definition at line 1729 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 1106 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 1316 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 1400 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 1226 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addAllVars | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
Legacy field.
repeated int32 vars = 7;
values | The vars to add. |
Definition at line 1508 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addExprs | ( | com.google.ortools.sat.LinearExpressionProto | value | ) |
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;
Definition at line 1644 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addExprs | ( | com.google.ortools.sat.LinearExpressionProto.Builder | builderForValue | ) |
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;
Definition at line 1689 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addExprs | ( | int | index, |
com.google.ortools.sat.LinearExpressionProto | value ) |
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;
Definition at line 1666 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addExprs | ( | int | index, |
com.google.ortools.sat.LinearExpressionProto.Builder | builderForValue ) |
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;
Definition at line 1709 of file AutomatonConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto.Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addExprsBuilder | ( | ) |
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;
Definition at line 1834 of file AutomatonConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto.Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addExprsBuilder | ( | 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;
Definition at line 1847 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 1093 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 1303 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 1387 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 1207 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.addVars | ( | int | value | ) |
Legacy field.
repeated int32 vars = 7;
value | The vars to add. |
Definition at line 1491 of file AutomatonConstraintProto.java.
com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.Builder.build | ( | ) |
Definition at line 699 of file AutomatonConstraintProto.java.
com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 708 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clear | ( | ) |
Definition at line 668 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearExprs | ( | ) |
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;
Definition at line 1750 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearFinalStates | ( | ) |
repeated int64 final_states = 3;
Definition at line 1119 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 1035 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearTransitionHead | ( | ) |
repeated int64 transition_head = 5;
Definition at line 1329 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearTransitionLabel | ( | ) |
repeated int64 transition_label = 6;
Definition at line 1413 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 1245 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.clearVars | ( | ) |
Legacy field.
repeated int32 vars = 7;
Definition at line 1525 of file AutomatonConstraintProto.java.
com.google.ortools.sat.AutomatonConstraintProto com.google.ortools.sat.AutomatonConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 694 of file AutomatonConstraintProto.java.
|
static |
Definition at line 645 of file AutomatonConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.AutomatonConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 689 of file AutomatonConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1585 of file AutomatonConstraintProto.java.
com.google.ortools.sat.LinearExpressionProto.Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.getExprsBuilder | ( | 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;
Definition at line 1788 of file AutomatonConstraintProto.java.
java.util.List< com.google.ortools.sat.LinearExpressionProto.Builder > com.google.ortools.sat.AutomatonConstraintProto.Builder.getExprsBuilderList | ( | ) |
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;
Definition at line 1862 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1569 of file AutomatonConstraintProto.java.
java.util.List< com.google.ortools.sat.LinearExpressionProto > com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1553 of file AutomatonConstraintProto.java.
com.google.ortools.sat.LinearExpressionProtoOrBuilder com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1801 of file AutomatonConstraintProto.java.
java.util.List<? extends com.google.ortools.sat.LinearExpressionProtoOrBuilder > com.google.ortools.sat.AutomatonConstraintProto.Builder.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;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1818 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 1070 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 1062 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 1054 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 1004 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 1280 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 1272 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 1264 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 1364 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 1356 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 1348 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 1172 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 1158 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 1144 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.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 1460 of file AutomatonConstraintProto.java.
int com.google.ortools.sat.AutomatonConstraintProto.Builder.getVarsCount | ( | ) |
Legacy field.
repeated int32 vars = 7;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1448 of file AutomatonConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.AutomatonConstraintProto.Builder.getVarsList | ( | ) |
Legacy field.
repeated int32 vars = 7;
Implements com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.
Definition at line 1436 of file AutomatonConstraintProto.java.
|
protected |
Definition at line 651 of file AutomatonConstraintProto.java.
final boolean com.google.ortools.sat.AutomatonConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 857 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.mergeFrom | ( | com.google.ortools.sat.AutomatonConstraintProto | other | ) |
Definition at line 765 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 862 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 756 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.removeExprs | ( | 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;
Definition at line 1769 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setExprs | ( | int | index, |
com.google.ortools.sat.LinearExpressionProto | value ) |
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;
Definition at line 1601 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setExprs | ( | int | index, |
com.google.ortools.sat.LinearExpressionProto.Builder | builderForValue ) |
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;
Definition at line 1624 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 1079 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 1018 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 1289 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 1373 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 1187 of file AutomatonConstraintProto.java.
Builder com.google.ortools.sat.AutomatonConstraintProto.Builder.setVars | ( | int | index, |
int | value ) |
Legacy field.
repeated int32 vars = 7;
index | The index to set the value at. |
value | The vars to set. |
Definition at line 1473 of file AutomatonConstraintProto.java.