struct ORTools::Sat::SparsePermutationProto
- ORTools::Sat::SparsePermutationProto
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
ortools-sat/connector/cp_model.pb.crConstant Summary
-
FIELDS =
{1 => {name: :support, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :cycle_sizes, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(support : Array(Int32) | Nil = nil, cycle_sizes : Array(Int32) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #cycle_sizes : Array(Int32) | Nil
- #cycle_sizes=(cycle_sizes : Array(Int32) | Nil)
- #support : Array(Int32) | Nil
- #support=(support : Array(Int32) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf