struct

ORTools::Sat::InverseConstraintProto

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :f_direct, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :f_inverse, 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(f_direct : Array(Int32) | Nil = nil, f_inverse : Array(Int32) | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

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