![]() |
Google OR-Tools v9.12
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 8138 of file CpModel.pb.cs.
|
inline |
Definition at line 8163 of file CpModel.pb.cs.
|
inline |
Definition at line 8171 of file CpModel.pb.cs.
|
inline |
Definition at line 8275 of file CpModel.pb.cs.
|
inline |
Definition at line 8179 of file CpModel.pb.cs.
|
inline |
Definition at line 8211 of file CpModel.pb.cs.
|
inline |
Definition at line 8217 of file CpModel.pb.cs.
|
inline |
Definition at line 8231 of file CpModel.pb.cs.
|
inline |
Definition at line 8298 of file CpModel.pb.cs.
|
inline |
Definition at line 8287 of file CpModel.pb.cs.
|
inline |
Definition at line 8243 of file CpModel.pb.cs.
|
inline |
Definition at line 8249 of file CpModel.pb.cs.
|
static |
Field number for the "cycle_sizes" field.
Definition at line 8199 of file CpModel.pb.cs.
|
static |
Field number for the "support" field.
Definition at line 8184 of file CpModel.pb.cs.
|
get |
Definition at line 8205 of file CpModel.pb.cs.
|
staticget |
Definition at line 8151 of file CpModel.pb.cs.
|
staticget |
Definition at line 8147 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 8194 of file CpModel.pb.cs.