struct

ORTools::Sat::ListOfVariablesProto

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :vars, 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(vars : Array(Int32) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
to_protobuf(io : IO, embedded = false)
to_protobuf
vars
vars=(vars : Array(Int32) | Nil)