![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getSupportList () |
int | getSupportCount () |
int | getSupport (int index) |
java.util.List< java.lang.Integer > | getCycleSizesList () |
int | getCycleSizesCount () |
int | getCycleSizes (int index) |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< SparsePermutationProto > | getParserForType () |
com.google.ortools.sat.SparsePermutationProto | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.SparsePermutationProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.SparsePermutationProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.SparsePermutationProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.SparsePermutationProto | 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.SparsePermutationProto prototype) |
static com.google.ortools.sat.SparsePermutationProto | getDefaultInstance () |
static com.google.protobuf.Parser< SparsePermutationProto > | parser () |
Static Public Attributes | |
static final int | SUPPORT_FIELD_NUMBER = 1 |
static final int | CYCLE_SIZES_FIELD_NUMBER = 2 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
A permutation of integers encoded as a list of cycles, hence the "sparse" format. The image of an element cycle[i] is cycle[(i + 1) % cycle_length].
Protobuf type operations_research.sat.SparsePermutationProto
Definition at line 16 of file SparsePermutationProto.java.
boolean com.google.ortools.sat.SparsePermutationProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 199 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.getCycleSizes | ( | int | index | ) |
repeated int32 cycle_sizes = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.SparsePermutationProtoOrBuilder.
Definition at line 122 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.getCycleSizesCount | ( | ) |
repeated int32 cycle_sizes = 2;
Implements com.google.ortools.sat.SparsePermutationProtoOrBuilder.
Definition at line 114 of file SparsePermutationProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.SparsePermutationProto.getCycleSizesList | ( | ) |
repeated int32 cycle_sizes = 2;
Implements com.google.ortools.sat.SparsePermutationProtoOrBuilder.
Definition at line 107 of file SparsePermutationProto.java.
|
static |
Definition at line 733 of file SparsePermutationProto.java.
com.google.ortools.sat.SparsePermutationProto com.google.ortools.sat.SparsePermutationProto.getDefaultInstanceForType | ( | ) |
Definition at line 769 of file SparsePermutationProto.java.
|
static |
Definition at line 40 of file SparsePermutationProto.java.
com.google.protobuf.Parser< SparsePermutationProto > com.google.ortools.sat.SparsePermutationProto.getParserForType | ( | ) |
Definition at line 764 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.getSerializedSize | ( | ) |
Definition at line 160 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.getSupport | ( | int | index | ) |
Each cycle is listed one after the other in the support field. The size of each cycle is given (in order) in the cycle_sizes field.
repeated int32 support = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.SparsePermutationProtoOrBuilder.
Definition at line 92 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.getSupportCount | ( | ) |
Each cycle is listed one after the other in the support field. The size of each cycle is given (in order) in the cycle_sizes field.
repeated int32 support = 1;
Implements com.google.ortools.sat.SparsePermutationProtoOrBuilder.
Definition at line 79 of file SparsePermutationProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.SparsePermutationProto.getSupportList | ( | ) |
Each cycle is listed one after the other in the support field. The size of each cycle is given (in order) in the cycle_sizes field.
repeated int32 support = 1;
Implements com.google.ortools.sat.SparsePermutationProtoOrBuilder.
Definition at line 67 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.hashCode | ( | ) |
Definition at line 217 of file SparsePermutationProto.java.
|
protected |
Definition at line 46 of file SparsePermutationProto.java.
final boolean com.google.ortools.sat.SparsePermutationProto.isInitialized | ( | ) |
Definition at line 129 of file SparsePermutationProto.java.
|
static |
Definition at line 310 of file SparsePermutationProto.java.
|
static |
Definition at line 313 of file SparsePermutationProto.java.
Builder com.google.ortools.sat.SparsePermutationProto.newBuilderForType | ( | ) |
Definition at line 309 of file SparsePermutationProto.java.
|
protected |
Definition at line 323 of file SparsePermutationProto.java.
|
static |
Definition at line 281 of file SparsePermutationProto.java.
|
static |
Definition at line 287 of file SparsePermutationProto.java.
|
static |
Definition at line 258 of file SparsePermutationProto.java.
|
static |
Definition at line 262 of file SparsePermutationProto.java.
|
static |
Definition at line 247 of file SparsePermutationProto.java.
|
static |
Definition at line 252 of file SparsePermutationProto.java.
|
static |
Definition at line 294 of file SparsePermutationProto.java.
|
static |
Definition at line 300 of file SparsePermutationProto.java.
|
static |
Definition at line 268 of file SparsePermutationProto.java.
|
static |
Definition at line 273 of file SparsePermutationProto.java.
|
static |
Definition at line 236 of file SparsePermutationProto.java.
|
static |
Definition at line 241 of file SparsePermutationProto.java.
|
static |
Definition at line 759 of file SparsePermutationProto.java.
Builder com.google.ortools.sat.SparsePermutationProto.toBuilder | ( | ) |
Definition at line 317 of file SparsePermutationProto.java.
void com.google.ortools.sat.SparsePermutationProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 139 of file SparsePermutationProto.java.
|
static |
Definition at line 97 of file SparsePermutationProto.java.
|
static |
Definition at line 52 of file SparsePermutationProto.java.