Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
long | getStartingState () |
java.util.List< java.lang.Long > | getFinalStatesList () |
int | getFinalStatesCount () |
long | getFinalStates (int index) |
java.util.List< java.lang.Long > | getTransitionTailList () |
int | getTransitionTailCount () |
long | getTransitionTail (int index) |
java.util.List< java.lang.Long > | getTransitionHeadList () |
int | getTransitionHeadCount () |
long | getTransitionHead (int index) |
java.util.List< java.lang.Long > | getTransitionLabelList () |
int | getTransitionLabelCount () |
long | getTransitionLabel (int index) |
java.util.List< java.lang.Integer > | getVarsList () |
int | getVarsCount () |
int | getVars (int index) |
Definition at line 7 of file AutomatonConstraintProtoOrBuilder.java.
long com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getFinalStates | ( | int | index | ) |
repeated int64 final_states = 3;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
int com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getFinalStatesCount | ( | ) |
repeated int64 final_states = 3;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getFinalStatesList | ( | ) |
repeated int64 final_states = 3;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
long com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
long com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getTransitionHead | ( | int | index | ) |
repeated int64 transition_head = 5;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
int com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getTransitionHeadCount | ( | ) |
repeated int64 transition_head = 5;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getTransitionHeadList | ( | ) |
repeated int64 transition_head = 5;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
long com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getTransitionLabel | ( | int | index | ) |
repeated int64 transition_label = 6;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
int com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getTransitionLabelCount | ( | ) |
repeated int64 transition_label = 6;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.getTransitionLabelList | ( | ) |
repeated int64 transition_label = 6;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
long com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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. |
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
int com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
java.util.List< java.lang.Long > com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
int com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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. |
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
int com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.AutomatonConstraintProtoOrBuilder.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;
Implemented in com.google.ortools.sat.AutomatonConstraintProto.Builder, and com.google.ortools.sat.AutomatonConstraintProto.