![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 1225 of file sparse_containers.pb.h.
#include <sparse_containers.pb.h>
Classes | |
class | _Internal |
Public Types | |
enum | : int { kIdsFieldNumber = 1 , kCoefficientsFieldNumber = 2 , kOffsetFieldNumber = 3 } |
nested types -------------------------------------------------— More... |
Public Member Functions | |
LinearExpressionProto () | |
~LinearExpressionProto () PROTOBUF_FINAL | |
template<typename = void> | |
PROTOBUF_CONSTEXPR | LinearExpressionProto (::google::protobuf::internal::ConstantInitialized) |
LinearExpressionProto (const LinearExpressionProto &from) | |
LinearExpressionProto (LinearExpressionProto &&from) noexcept | |
LinearExpressionProto & | operator= (const LinearExpressionProto &from) |
LinearExpressionProto & | operator= (LinearExpressionProto &&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 (LinearExpressionProto *PROTOBUF_NONNULL other) |
void | UnsafeArenaSwap (LinearExpressionProto *PROTOBUF_NONNULL other) |
LinearExpressionProto *PROTOBUF_NONNULL | New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const |
implements Message -------------------------------------------— | |
void | CopyFrom (const LinearExpressionProto &from) |
void | MergeFrom (const LinearExpressionProto &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 | ids_size () const |
repeated int64 ids = 1; | |
void | clear_ids () |
::int64_t | ids (int index) const |
void | set_ids (int index, ::int64_t value) |
void | add_ids (::int64_t value) |
const ::google::protobuf::RepeatedField<::int64_t > & | ids () const |
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL | mutable_ids () |
int | coefficients_size () const |
repeated double coefficients = 2; | |
void | clear_coefficients () |
double | coefficients (int index) const |
void | set_coefficients (int index, double value) |
void | add_coefficients (double value) |
const ::google::protobuf::RepeatedField< double > & | coefficients () const |
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL | mutable_coefficients () |
void | clear_offset () |
double offset = 3; | |
double | offset () const |
void | set_offset (double value) |
template<typename> | |
PROTOBUF_CONSTEXPR | LinearExpressionProto (::_pbi::ConstantInitialized) |
template<typename> | |
PROTOBUF_CONSTEXPR | LinearExpressionProto (::_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 LinearExpressionProto & | default_instance () |
static constexpr auto | InternalGenerateClassData_ () |
Static Public Attributes | |
static constexpr int | kIndexInFileMessages = 5 |
Protected Member Functions | |
LinearExpressionProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena) | |
LinearExpressionProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const LinearExpressionProto &from) | |
LinearExpressionProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, LinearExpressionProto &&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_2fmath_5fopt_2fsparse_5fcontainers_2eproto |
void | swap (LinearExpressionProto &a, LinearExpressionProto &b) |
anonymous enum : int |
nested types -------------------------------------------------—
accessors ----------------------------------------------------—
Enumerator | |
---|---|
kIdsFieldNumber | |
kCoefficientsFieldNumber | |
kOffsetFieldNumber |
Definition at line 1367 of file sparse_containers.pb.h.
|
inline |
Definition at line 1228 of file sparse_containers.pb.h.
operations_research::math_opt::LinearExpressionProto::~LinearExpressionProto | ( | ) |
@protoc_insertion_point(destructor:operations_research.math_opt.LinearExpressionProto)
Definition at line 1846 of file sparse_containers.pb.cc.
|
explicit |
|
inline |
Definition at line 1241 of file sparse_containers.pb.h.
|
inlinenoexcept |
Definition at line 1242 of file sparse_containers.pb.h.
|
explicitprotected |
@protoc_insertion_point(arena_constructor:operations_research.math_opt.LinearExpressionProto)
Definition at line 1798 of file sparse_containers.pb.cc.
|
protected |
@protoc_insertion_point(copy_constructor:operations_research.math_opt.LinearExpressionProto)
Definition at line 1817 of file sparse_containers.pb.cc.
|
inlineprotectednoexcept |
Definition at line 1349 of file sparse_containers.pb.h.
PROTOBUF_CONSTEXPR operations_research::math_opt::LinearExpressionProto::LinearExpressionProto | ( | ::_pbi::ConstantInitialized | ) |
Definition at line 178 of file sparse_containers.pb.cc.
PROTOBUF_CONSTEXPR operations_research::math_opt::LinearExpressionProto::LinearExpressionProto | ( | ::_pbi::ConstantInitialized | ) |
Definition at line 176 of file cp_model.pb.cc.
|
final |
@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.LinearExpressionProto)
repeated int64 ids = 1;
repeated double coefficients = 2;
double offset = 3;
@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.LinearExpressionProto)
Definition at line 1982 of file sparse_containers.pb.cc.
|
inline |
@protoc_insertion_point(field_add:operations_research.math_opt.LinearExpressionProto.coefficients)
Definition at line 2073 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_add:operations_research.math_opt.LinearExpressionProto.ids)
Definition at line 2027 of file sparse_containers.pb.h.
|
final |
@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.LinearExpressionProto)
Prevent compiler warnings about cached_has_bits being unused
repeated int64 ids = 1;
repeated double coefficients = 2;
double offset = 3;
Definition at line 2027 of file sparse_containers.pb.cc.
PROTOBUF_NOINLINE void operations_research::math_opt::LinearExpressionProto::Clear | ( | ) |
@protoc_insertion_point(message_clear_start:operations_research.math_opt.LinearExpressionProto)
Prevent compiler warnings about cached_has_bits being unused
Definition at line 1962 of file sparse_containers.pb.cc.
|
inline |
Definition at line 2061 of file sparse_containers.pb.h.
|
inline |
Definition at line 2015 of file sparse_containers.pb.h.
|
inline |
double offset = 3;
Definition at line 2101 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.math_opt.LinearExpressionProto.coefficients)
Definition at line 2078 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.LinearExpressionProto.coefficients)
Definition at line 2065 of file sparse_containers.pb.h.
|
inline |
repeated double coefficients = 2;
Definition at line 2058 of file sparse_containers.pb.h.
void operations_research::math_opt::LinearExpressionProto::CopyFrom | ( | const LinearExpressionProto & | from | ) |
@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.LinearExpressionProto)
Definition at line 2090 of file sparse_containers.pb.cc.
|
inlinestatic |
Definition at line 1276 of file sparse_containers.pb.h.
|
inlinestatic |
Definition at line 1267 of file sparse_containers.pb.h.
|
inline |
Definition at line 1335 of file sparse_containers.pb.h.
|
protected |
Definition at line 1910 of file sparse_containers.pb.cc.
|
inlinestatic |
Definition at line 1270 of file sparse_containers.pb.h.
google::protobuf::Metadata operations_research::math_opt::LinearExpressionProto::GetMetadata | ( | ) | const |
Definition at line 2107 of file sparse_containers.pb.cc.
|
inlinestatic |
Definition at line 1273 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.math_opt.LinearExpressionProto.ids)
Definition at line 2032 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.LinearExpressionProto.ids)
Definition at line 2019 of file sparse_containers.pb.h.
|
inline |
repeated int64 ids = 1;
Definition at line 2012 of file sparse_containers.pb.h.
|
staticconstexpr |
Definition at line 1882 of file sparse_containers.pb.cc.
|
staticconstexprprotected |
Definition at line 1862 of file sparse_containers.pb.cc.
|
inline |
Definition at line 1311 of file sparse_containers.pb.h.
|
inline |
Definition at line 1304 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearExpressionProto.coefficients)
Definition at line 2083 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearExpressionProto.ids)
Definition at line 2037 of file sparse_containers.pb.h.
|
inline |
Definition at line 1262 of file sparse_containers.pb.h.
|
inline |
implements Message -------------------------------------------—
Definition at line 1298 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.LinearExpressionProto.offset)
Definition at line 2106 of file sparse_containers.pb.h.
|
inline |
Definition at line 1244 of file sparse_containers.pb.h.
|
inlinenoexcept |
Definition at line 1248 of file sparse_containers.pb.h.
|
inlinestaticprotected |
Definition at line 1857 of file sparse_containers.pb.cc.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.LinearExpressionProto.coefficients)
Definition at line 2069 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.LinearExpressionProto.ids)
Definition at line 2023 of file sparse_containers.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.LinearExpressionProto.offset)
Definition at line 2110 of file sparse_containers.pb.h.
|
inline |
Definition at line 1282 of file sparse_containers.pb.h.
|
inline |
Definition at line 1258 of file sparse_containers.pb.h.
|
inline |
Definition at line 1290 of file sparse_containers.pb.h.
|
friend |
Definition at line 1428 of file sparse_containers.pb.h.
|
friend |
Definition at line 1430 of file sparse_containers.pb.h.
|
friend |
Definition at line 1421 of file sparse_containers.pb.h.
|
friend |
Definition at line 1427 of file sparse_containers.pb.h.
|
friend |
Definition at line 1451 of file sparse_containers.pb.h.
|
friend |
Definition at line 1281 of file sparse_containers.pb.h.
Impl_ operations_research::math_opt::LinearExpressionProto::_impl_ |
Definition at line 1450 of file sparse_containers.pb.h.
|
staticconstexpr |
Definition at line 1280 of file sparse_containers.pb.h.