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