![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 1625 of file cp_model.pb.h.
#include <cp_model.pb.h>
Classes | |
class | _Internal |
Public Types | |
enum | : int { kVarsFieldNumber = 1 , kCoeffsFieldNumber = 2 , kDomainFieldNumber = 3 } |
nested types -------------------------------------------------— More... |
Public Member Functions | |
LinearConstraintProto () | |
~LinearConstraintProto () PROTOBUF_FINAL | |
template<typename = void> | |
PROTOBUF_CONSTEXPR | LinearConstraintProto (::google::protobuf::internal::ConstantInitialized) |
LinearConstraintProto (const LinearConstraintProto &from) | |
LinearConstraintProto (LinearConstraintProto &&from) noexcept | |
LinearConstraintProto & | operator= (const LinearConstraintProto &from) |
LinearConstraintProto & | operator= (LinearConstraintProto &&from) noexcept |
const ::google::protobuf::UnknownFieldSet & | unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND |
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL | mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND |
void | Swap (LinearConstraintProto *PROTOBUF_NONNULL other) |
void | UnsafeArenaSwap (LinearConstraintProto *PROTOBUF_NONNULL other) |
LinearConstraintProto *PROTOBUF_NONNULL | New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const |
implements Message -------------------------------------------— | |
void | CopyFrom (const LinearConstraintProto &from) |
void | MergeFrom (const LinearConstraintProto &from) |
bool | IsInitialized () const |
ABSL_ATTRIBUTE_REINITIALIZES void | Clear () PROTOBUF_FINAL |
::size_t | ByteSizeLong () const final |
::uint8_t *PROTOBUF_NONNULL | _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final |
int | GetCachedSize () const |
::google::protobuf::Metadata | GetMetadata () const |
int | vars_size () const |
repeated int32 vars = 1; | |
void | clear_vars () |
::int32_t | vars (int index) const |
void | set_vars (int index, ::int32_t value) |
void | add_vars (::int32_t value) |
const ::google::protobuf::RepeatedField<::int32_t > & | vars () const |
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL | mutable_vars () |
int | coeffs_size () const |
repeated int64 coeffs = 2; | |
void | clear_coeffs () |
::int64_t | coeffs (int index) const |
void | set_coeffs (int index, ::int64_t value) |
void | add_coeffs (::int64_t value) |
const ::google::protobuf::RepeatedField<::int64_t > & | coeffs () const |
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL | mutable_coeffs () |
int | domain_size () const |
repeated int64 domain = 3; | |
void | clear_domain () |
::int64_t | domain (int index) const |
void | set_domain (int index, ::int64_t value) |
void | add_domain (::int64_t value) |
const ::google::protobuf::RepeatedField<::int64_t > & | domain () const |
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL | mutable_domain () |
template<typename> | |
PROTOBUF_CONSTEXPR | LinearConstraintProto (::_pbi::ConstantInitialized) |
Static Public Member Functions | |
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL | descriptor () |
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL | GetDescriptor () |
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL | GetReflection () |
static const LinearConstraintProto & | default_instance () |
static constexpr auto | InternalGenerateClassData_ () |
Static Public Attributes | |
static constexpr int | kIndexInFileMessages = 5 |
Protected Member Functions | |
LinearConstraintProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena) | |
LinearConstraintProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const LinearConstraintProto &from) | |
LinearConstraintProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, LinearConstraintProto &&from) noexcept | |
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL | GetClassData () const PROTOBUF_FINAL |
Static Protected Member Functions | |
static void *PROTOBUF_NONNULL | PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena) |
static constexpr auto | InternalNewImpl_ () |
Friends | |
class | ::google::protobuf::internal::TcParser |
class | ::google::protobuf::MessageLite |
class | ::google::protobuf::Arena |
template<typename T> | |
class | ::google::protobuf::Arena::InternalHelper |
struct | ::TableStruct_ortools_2fsat_2fcp_5fmodel_2eproto |
void | swap (LinearConstraintProto &a, LinearConstraintProto &b) |
anonymous enum : int |
nested types -------------------------------------------------—
accessors ----------------------------------------------------—
Enumerator | |
---|---|
kVarsFieldNumber | |
kCoeffsFieldNumber | |
kDomainFieldNumber |
Definition at line 1767 of file cp_model.pb.h.
|
inline |
Definition at line 1628 of file cp_model.pb.h.
operations_research::sat::LinearConstraintProto::~LinearConstraintProto | ( | ) |
@protoc_insertion_point(destructor:operations_research.sat.LinearConstraintProto)
Definition at line 3041 of file cp_model.pb.cc.
|
explicit |
|
inline |
Definition at line 1641 of file cp_model.pb.h.
|
inlinenoexcept |
Definition at line 1642 of file cp_model.pb.h.
|
explicitprotected |
@protoc_insertion_point(arena_constructor:operations_research.sat.LinearConstraintProto)
Definition at line 2990 of file cp_model.pb.cc.
|
protected |
@protoc_insertion_point(copy_constructor:operations_research.sat.LinearConstraintProto)
Definition at line 3011 of file cp_model.pb.cc.
|
inlineprotectednoexcept |
Definition at line 1749 of file cp_model.pb.h.
PROTOBUF_CONSTEXPR operations_research::sat::LinearConstraintProto::LinearConstraintProto | ( | ::_pbi::ConstantInitialized | ) |
Definition at line 206 of file cp_model.pb.cc.
|
final |
@protoc_insertion_point(serialize_to_array_start:operations_research.sat.LinearConstraintProto)
repeated int32 vars = 1;
repeated int64 coeffs = 2;
repeated int64 domain = 3;
@protoc_insertion_point(serialize_to_array_end:operations_research.sat.LinearConstraintProto)
Definition at line 3180 of file cp_model.pb.cc.
|
inline |
@protoc_insertion_point(field_add:operations_research.sat.LinearConstraintProto.coeffs)
Definition at line 8922 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_add:operations_research.sat.LinearConstraintProto.domain)
Definition at line 8968 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_add:operations_research.sat.LinearConstraintProto.vars)
Definition at line 8876 of file cp_model.pb.h.
|
final |
@protoc_insertion_point(message_byte_size_start:operations_research.sat.LinearConstraintProto)
Prevent compiler warnings about cached_has_bits being unused
repeated int32 vars = 1;
repeated int64 coeffs = 2;
repeated int64 domain = 3;
Definition at line 3229 of file cp_model.pb.cc.
PROTOBUF_NOINLINE void operations_research::sat::LinearConstraintProto::Clear | ( | ) |
@protoc_insertion_point(message_clear_start:operations_research.sat.LinearConstraintProto)
Prevent compiler warnings about cached_has_bits being unused
Definition at line 3161 of file cp_model.pb.cc.
|
inline |
Definition at line 8910 of file cp_model.pb.h.
|
inline |
Definition at line 8956 of file cp_model.pb.h.
|
inline |
Definition at line 8864 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.sat.LinearConstraintProto.coeffs)
Definition at line 8927 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.LinearConstraintProto.coeffs)
Definition at line 8914 of file cp_model.pb.h.
|
inline |
repeated int64 coeffs = 2;
Definition at line 8907 of file cp_model.pb.h.
void operations_research::sat::LinearConstraintProto::CopyFrom | ( | const LinearConstraintProto & | from | ) |
@protoc_insertion_point(class_specific_copy_from_start:operations_research.sat.LinearConstraintProto)
Definition at line 3281 of file cp_model.pb.cc.
|
inlinestatic |
Definition at line 1676 of file cp_model.pb.h.
|
inlinestatic |
Definition at line 1667 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.sat.LinearConstraintProto.domain)
Definition at line 8973 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.LinearConstraintProto.domain)
Definition at line 8960 of file cp_model.pb.h.
|
inline |
repeated int64 domain = 3;
Definition at line 8953 of file cp_model.pb.h.
|
inline |
Definition at line 1735 of file cp_model.pb.h.
|
protected |
Definition at line 3109 of file cp_model.pb.cc.
|
inlinestatic |
Definition at line 1670 of file cp_model.pb.h.
google::protobuf::Metadata operations_research::sat::LinearConstraintProto::GetMetadata | ( | ) | const |
Definition at line 3297 of file cp_model.pb.cc.
|
inlinestatic |
Definition at line 1673 of file cp_model.pb.h.
|
staticconstexpr |
Definition at line 3081 of file cp_model.pb.cc.
|
staticconstexprprotected |
Definition at line 3057 of file cp_model.pb.cc.
|
inline |
Definition at line 1711 of file cp_model.pb.h.
|
inline |
Definition at line 1704 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.sat.LinearConstraintProto.coeffs)
Definition at line 8932 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.sat.LinearConstraintProto.domain)
Definition at line 8978 of file cp_model.pb.h.
|
inline |
Definition at line 1662 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.sat.LinearConstraintProto.vars)
Definition at line 8886 of file cp_model.pb.h.
|
inline |
implements Message -------------------------------------------—
Definition at line 1698 of file cp_model.pb.h.
|
inline |
Definition at line 1644 of file cp_model.pb.h.
|
inlinenoexcept |
Definition at line 1648 of file cp_model.pb.h.
|
inlinestaticprotected |
Definition at line 3052 of file cp_model.pb.cc.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.LinearConstraintProto.coeffs)
Definition at line 8918 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.LinearConstraintProto.domain)
Definition at line 8964 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.LinearConstraintProto.vars)
Definition at line 8872 of file cp_model.pb.h.
|
inline |
Definition at line 1682 of file cp_model.pb.h.
|
inline |
Definition at line 1658 of file cp_model.pb.h.
|
inline |
Definition at line 1690 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.sat.LinearConstraintProto.vars)
Definition at line 8881 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.LinearConstraintProto.vars)
Definition at line 8868 of file cp_model.pb.h.
|
inline |
repeated int32 vars = 1;
Definition at line 8861 of file cp_model.pb.h.
|
friend |
Definition at line 1836 of file cp_model.pb.h.
|
friend |
Definition at line 1838 of file cp_model.pb.h.
|
friend |
Definition at line 1829 of file cp_model.pb.h.
|
friend |
Definition at line 1835 of file cp_model.pb.h.
|
friend |
Definition at line 1860 of file cp_model.pb.h.
|
friend |
Definition at line 1681 of file cp_model.pb.h.
Impl_ operations_research::sat::LinearConstraintProto::_impl_ |
Definition at line 1859 of file cp_model.pb.h.
|
staticconstexpr |
Definition at line 1680 of file cp_model.pb.h.