struct

ORTools::Sat::SymmetryProto

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :permutations, pb_type: SparsePermutationProto, crystal_type: SparsePermutationProto, cast_type: Array(SparsePermutationProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :orbitopes, pb_type: DenseMatrixProto, crystal_type: DenseMatrixProto, cast_type: Array(DenseMatrixProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(permutations : Array(SparsePermutationProto) | Nil = nil, orbitopes : Array(DenseMatrixProto) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
orbitopes
orbitopes=(orbitopes : Array(DenseMatrixProto) | Nil)
permutations
permutations=(permutations : Array(SparsePermutationProto) | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf