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...
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 8345 of file CpModel.pb.cs.
|
| 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] |
◆ SparsePermutationProto() [1/2]
| Google.OrTools.Sat.SparsePermutationProto.SparsePermutationProto |
( |
| ) |
|
|
inline |
◆ SparsePermutationProto() [2/2]
| Google.OrTools.Sat.SparsePermutationProto.SparsePermutationProto |
( |
SparsePermutationProto | other | ) |
|
|
inline |
◆ CalculateSize()
| int Google.OrTools.Sat.SparsePermutationProto.CalculateSize |
( |
| ) |
|
|
inline |
◆ Clone()
◆ Equals() [1/2]
| override bool Google.OrTools.Sat.SparsePermutationProto.Equals |
( |
object | other | ) |
|
|
inline |
◆ Equals() [2/2]
◆ GetHashCode()
| override int Google.OrTools.Sat.SparsePermutationProto.GetHashCode |
( |
| ) |
|
|
inline |
◆ MergeFrom() [1/2]
| void Google.OrTools.Sat.SparsePermutationProto.MergeFrom |
( |
pb.CodedInputStream | input | ) |
|
|
inline |
◆ MergeFrom() [2/2]
◆ ToString()
| override string Google.OrTools.Sat.SparsePermutationProto.ToString |
( |
| ) |
|
|
inline |
◆ WriteTo()
| void Google.OrTools.Sat.SparsePermutationProto.WriteTo |
( |
pb.CodedOutputStream | output | ) |
|
|
inline |
◆ CycleSizesFieldNumber
| const int Google.OrTools.Sat.SparsePermutationProto.CycleSizesFieldNumber = 2 |
|
static |
Field number for the "cycle_sizes" field.
Definition at line 8406 of file CpModel.pb.cs.
◆ SupportFieldNumber
| const int Google.OrTools.Sat.SparsePermutationProto.SupportFieldNumber = 1 |
|
static |
◆ CycleSizes
| pbc.RepeatedField<int> Google.OrTools.Sat.SparsePermutationProto.CycleSizes |
|
get |
◆ Descriptor
| pbr.MessageDescriptor Google.OrTools.Sat.SparsePermutationProto.Descriptor |
|
staticget |
◆ Parser
◆ Support
| pbc.RepeatedField<int> Google.OrTools.Sat.SparsePermutationProto.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.
Definition at line 8401 of file CpModel.pb.cs.
The documentation for this class was generated from the following file: