Google OR-Tools v9.11
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 7745 of file CpModel.pb.cs.
|
inline |
Definition at line 7770 of file CpModel.pb.cs.
|
inline |
Definition at line 7778 of file CpModel.pb.cs.
|
inline |
Definition at line 7882 of file CpModel.pb.cs.
|
inline |
Definition at line 7786 of file CpModel.pb.cs.
|
inline |
Definition at line 7818 of file CpModel.pb.cs.
|
inline |
Definition at line 7824 of file CpModel.pb.cs.
|
inline |
Definition at line 7838 of file CpModel.pb.cs.
|
inline |
Definition at line 7905 of file CpModel.pb.cs.
|
inline |
Definition at line 7894 of file CpModel.pb.cs.
|
inline |
Definition at line 7850 of file CpModel.pb.cs.
|
inline |
Definition at line 7856 of file CpModel.pb.cs.
|
static |
Field number for the "cycle_sizes" field.
Definition at line 7806 of file CpModel.pb.cs.
|
static |
Field number for the "support" field.
Definition at line 7791 of file CpModel.pb.cs.
|
get |
Definition at line 7812 of file CpModel.pb.cs.
|
staticget |
Definition at line 7758 of file CpModel.pb.cs.
|
staticget |
Definition at line 7754 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 7801 of file CpModel.pb.cs.