Google OR-Tools v9.11
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 () |
Public Member Functions inherited from com.google.ortools.sat.SparsePermutationProtoOrBuilder |
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 15 of file SparsePermutationProto.java.
boolean com.google.ortools.sat.SparsePermutationProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 198 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 121 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 113 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 106 of file SparsePermutationProto.java.
|
static |
Definition at line 732 of file SparsePermutationProto.java.
com.google.ortools.sat.SparsePermutationProto com.google.ortools.sat.SparsePermutationProto.getDefaultInstanceForType | ( | ) |
Definition at line 768 of file SparsePermutationProto.java.
|
static |
Definition at line 39 of file SparsePermutationProto.java.
com.google.protobuf.Parser< SparsePermutationProto > com.google.ortools.sat.SparsePermutationProto.getParserForType | ( | ) |
Definition at line 763 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.getSerializedSize | ( | ) |
Definition at line 159 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 91 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 78 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 66 of file SparsePermutationProto.java.
int com.google.ortools.sat.SparsePermutationProto.hashCode | ( | ) |
Definition at line 216 of file SparsePermutationProto.java.
|
protected |
Definition at line 45 of file SparsePermutationProto.java.
final boolean com.google.ortools.sat.SparsePermutationProto.isInitialized | ( | ) |
Definition at line 128 of file SparsePermutationProto.java.
|
static |
Definition at line 309 of file SparsePermutationProto.java.
|
static |
Definition at line 312 of file SparsePermutationProto.java.
Builder com.google.ortools.sat.SparsePermutationProto.newBuilderForType | ( | ) |
Definition at line 308 of file SparsePermutationProto.java.
|
protected |
Definition at line 322 of file SparsePermutationProto.java.
|
static |
Definition at line 280 of file SparsePermutationProto.java.
|
static |
Definition at line 286 of file SparsePermutationProto.java.
|
static |
Definition at line 257 of file SparsePermutationProto.java.
|
static |
Definition at line 261 of file SparsePermutationProto.java.
|
static |
Definition at line 246 of file SparsePermutationProto.java.
|
static |
Definition at line 251 of file SparsePermutationProto.java.
|
static |
Definition at line 293 of file SparsePermutationProto.java.
|
static |
Definition at line 299 of file SparsePermutationProto.java.
|
static |
Definition at line 267 of file SparsePermutationProto.java.
|
static |
Definition at line 272 of file SparsePermutationProto.java.
|
static |
Definition at line 235 of file SparsePermutationProto.java.
|
static |
Definition at line 240 of file SparsePermutationProto.java.
|
static |
Definition at line 758 of file SparsePermutationProto.java.
Builder com.google.ortools.sat.SparsePermutationProto.toBuilder | ( | ) |
Definition at line 316 of file SparsePermutationProto.java.
void com.google.ortools.sat.SparsePermutationProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 138 of file SparsePermutationProto.java.
|
static |
Definition at line 96 of file SparsePermutationProto.java.
|
static |
Definition at line 51 of file SparsePermutationProto.java.