ORTools::Sat::CircuitConstraintProto
Constants
FIELDS = {3 => {name: :tails, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :heads, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :literals, 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)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
heads
literals
tails
to_protobuf(io : IO, embedded = false)
to_protobuf