![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
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]. More...
Public Member Functions | |
SparsePermutationProto () | |
SparsePermutationProto (SparsePermutationProto other) | |
SparsePermutationProto | Clone () |
override bool | Equals (object other) |
bool | Equals (SparsePermutationProto other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (SparsePermutationProto other) |
void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
const int | SupportFieldNumber = 1 |
Field number for the "support" field. | |
const int | CycleSizesFieldNumber = 2 |
Field number for the "cycle_sizes" field. |
Properties | |
static pb::MessageParser< SparsePermutationProto > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
pbc::RepeatedField< int > | Support [get] |
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. | |
pbc::RepeatedField< int > | CycleSizes [get] |
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].
Definition at line 8372 of file CpModel.pb.cs.
|
inline |
Definition at line 8397 of file CpModel.pb.cs.
|
inline |
Definition at line 8405 of file CpModel.pb.cs.
|
inline |
Definition at line 8509 of file CpModel.pb.cs.
|
inline |
Definition at line 8413 of file CpModel.pb.cs.
|
inline |
Definition at line 8445 of file CpModel.pb.cs.
|
inline |
Definition at line 8451 of file CpModel.pb.cs.
|
inline |
Definition at line 8465 of file CpModel.pb.cs.
|
inline |
Definition at line 8532 of file CpModel.pb.cs.
|
inline |
Definition at line 8521 of file CpModel.pb.cs.
|
inline |
Definition at line 8477 of file CpModel.pb.cs.
|
inline |
Definition at line 8483 of file CpModel.pb.cs.
|
static |
Field number for the "cycle_sizes" field.
Definition at line 8433 of file CpModel.pb.cs.
|
static |
Field number for the "support" field.
Definition at line 8418 of file CpModel.pb.cs.
|
get |
Definition at line 8439 of file CpModel.pb.cs.
|
staticget |
Definition at line 8385 of file CpModel.pb.cs.
|
staticget |
Definition at line 8381 of file CpModel.pb.cs.
|
get |
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.
Definition at line 8428 of file CpModel.pb.cs.