![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 1407 of file model.pb.h.
#include <model.pb.h>
Classes | |
class | _Internal |
Public Types | |
enum | : int { kNameFieldNumber = 5 , kLinearCoefficientsFieldNumber = 3 , kQuadraticCoefficientsFieldNumber = 4 , kOffsetFieldNumber = 2 , kPriorityFieldNumber = 6 , kMaximizeFieldNumber = 1 } |
nested types -------------------------------------------------— More... |
Public Member Functions | |
ObjectiveProto () | |
~ObjectiveProto () PROTOBUF_FINAL | |
template<typename = void> | |
PROTOBUF_CONSTEXPR | ObjectiveProto (::google::protobuf::internal::ConstantInitialized) |
ObjectiveProto (const ObjectiveProto &from) | |
ObjectiveProto (ObjectiveProto &&from) noexcept | |
ObjectiveProto & | operator= (const ObjectiveProto &from) |
ObjectiveProto & | operator= (ObjectiveProto &&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 (ObjectiveProto *PROTOBUF_NONNULL other) |
void | UnsafeArenaSwap (ObjectiveProto *PROTOBUF_NONNULL other) |
ObjectiveProto *PROTOBUF_NONNULL | New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const |
implements Message -------------------------------------------— | |
void | CopyFrom (const ObjectiveProto &from) |
void | MergeFrom (const ObjectiveProto &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 |
void | clear_name () |
string name = 5; | |
const ::std::string & | name () const |
template<typename Arg_ = const ::std::string&, typename... Args_> | |
void | set_name (Arg_ &&arg, Args_... args) |
::std::string *PROTOBUF_NONNULL | mutable_name () |
::std::string *PROTOBUF_NULLABLE | release_name () |
void | set_allocated_name (::std::string *PROTOBUF_NULLABLE value) |
bool | has_linear_coefficients () const |
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3; | |
void | clear_linear_coefficients () |
const ::operations_research::math_opt::SparseDoubleVectorProto & | linear_coefficients () const |
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE | release_linear_coefficients () |
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL | mutable_linear_coefficients () |
void | set_allocated_linear_coefficients (::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value) |
void | unsafe_arena_set_allocated_linear_coefficients (::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value) |
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE | unsafe_arena_release_linear_coefficients () |
bool | has_quadratic_coefficients () const |
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4; | |
void | clear_quadratic_coefficients () |
const ::operations_research::math_opt::SparseDoubleMatrixProto & | quadratic_coefficients () const |
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE | release_quadratic_coefficients () |
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL | mutable_quadratic_coefficients () |
void | set_allocated_quadratic_coefficients (::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value) |
void | unsafe_arena_set_allocated_quadratic_coefficients (::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value) |
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE | unsafe_arena_release_quadratic_coefficients () |
void | clear_offset () |
double offset = 2; | |
double | offset () const |
void | set_offset (double value) |
void | clear_priority () |
int64 priority = 6; | |
::int64_t | priority () const |
void | set_priority (::int64_t value) |
void | clear_maximize () |
bool maximize = 1; | |
bool | maximize () const |
void | set_maximize (bool value) |
template<typename> | |
PROTOBUF_CONSTEXPR | ObjectiveProto (::_pbi::ConstantInitialized) |
template<typename Arg_, typename... Args_> | |
PROTOBUF_ALWAYS_INLINE void | set_name (Arg_ &&arg, Args_... args) |
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 ObjectiveProto & | default_instance () |
static constexpr auto | InternalGenerateClassData_ () |
Static Public Attributes | |
static constexpr int | kIndexInFileMessages = 1 |
Protected Member Functions | |
ObjectiveProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena) | |
ObjectiveProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const ObjectiveProto &from) | |
ObjectiveProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, ObjectiveProto &&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_2fmodel_2eproto |
void | swap (ObjectiveProto &a, ObjectiveProto &b) |
anonymous enum : int |
nested types -------------------------------------------------—
accessors ----------------------------------------------------—
Enumerator | |
---|---|
kNameFieldNumber | |
kLinearCoefficientsFieldNumber | |
kQuadraticCoefficientsFieldNumber | |
kOffsetFieldNumber | |
kPriorityFieldNumber | |
kMaximizeFieldNumber |
Definition at line 1549 of file model.pb.h.
|
inline |
Definition at line 1410 of file model.pb.h.
operations_research::math_opt::ObjectiveProto::~ObjectiveProto | ( | ) |
@protoc_insertion_point(destructor:operations_research.math_opt.ObjectiveProto)
Definition at line 1132 of file model.pb.cc.
|
explicit |
|
inline |
Definition at line 1423 of file model.pb.h.
|
inlinenoexcept |
Definition at line 1424 of file model.pb.h.
|
explicitprotected |
@protoc_insertion_point(arena_constructor:operations_research.math_opt.ObjectiveProto)
Definition at line 1070 of file model.pb.cc.
|
protected |
@protoc_insertion_point(copy_constructor:operations_research.math_opt.ObjectiveProto)
Definition at line 1087 of file model.pb.cc.
|
inlineprotectednoexcept |
Definition at line 1531 of file model.pb.h.
PROTOBUF_CONSTEXPR operations_research::math_opt::ObjectiveProto::ObjectiveProto | ( | ::_pbi::ConstantInitialized | ) |
Definition at line 191 of file model.pb.cc.
|
final |
@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ObjectiveProto)
bool maximize = 1;
double offset = 2;
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
string name = 5;
int64 priority = 6;
@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ObjectiveProto)
Definition at line 1296 of file model.pb.cc.
|
final |
@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ObjectiveProto)
Prevent compiler warnings about cached_has_bits being unused
string name = 5;
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
double offset = 2;
int64 priority = 6;
bool maximize = 1;
Definition at line 1370 of file model.pb.cc.
PROTOBUF_NOINLINE void operations_research::math_opt::ObjectiveProto::Clear | ( | ) |
@protoc_insertion_point(message_clear_start:operations_research.math_opt.ObjectiveProto)
Prevent compiler warnings about cached_has_bits being unused
Definition at line 1260 of file model.pb.cc.
void operations_research::math_opt::ObjectiveProto::clear_linear_coefficients | ( | ) |
Definition at line 1060 of file model.pb.cc.
|
inline |
|
inline |
string name = 5;
Definition at line 3067 of file model.pb.h.
|
inline |
double offset = 2;
Definition at line 2857 of file model.pb.h.
|
inline |
int64 priority = 6;
Definition at line 3132 of file model.pb.h.
void operations_research::math_opt::ObjectiveProto::clear_quadratic_coefficients | ( | ) |
Definition at line 1065 of file model.pb.cc.
void operations_research::math_opt::ObjectiveProto::CopyFrom | ( | const ObjectiveProto & | from | ) |
@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ObjectiveProto)
Definition at line 1480 of file model.pb.cc.
|
inlinestatic |
Definition at line 1458 of file model.pb.h.
|
inlinestatic |
Definition at line 1449 of file model.pb.h.
|
inline |
Definition at line 1517 of file model.pb.h.
|
protected |
Definition at line 1183 of file model.pb.cc.
|
inlinestatic |
Definition at line 1452 of file model.pb.h.
google::protobuf::Metadata operations_research::math_opt::ObjectiveProto::GetMetadata | ( | ) | const |
Definition at line 1503 of file model.pb.cc.
|
inlinestatic |
Definition at line 1455 of file model.pb.h.
|
inline |
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
Definition at line 2881 of file model.pb.h.
|
inline |
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
Definition at line 2974 of file model.pb.h.
|
staticconstexpr |
Definition at line 1155 of file model.pb.cc.
|
staticconstexprprotected |
Definition at line 1151 of file model.pb.cc.
|
inline |
Definition at line 1493 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.linear_coefficients)
Definition at line 2891 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.maximize)
Definition at line 2838 of file model.pb.h.
|
inline |
Definition at line 1486 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.linear_coefficients)
Definition at line 2945 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.name)
Definition at line 3084 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
Definition at line 3038 of file model.pb.h.
|
inline |
Definition at line 1444 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.name)
Definition at line 3072 of file model.pb.h.
|
inline |
implements Message -------------------------------------------—
Definition at line 1480 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.offset)
Definition at line 2862 of file model.pb.h.
|
inline |
Definition at line 1426 of file model.pb.h.
|
inlinenoexcept |
Definition at line 1430 of file model.pb.h.
|
inlinestaticprotected |
Definition at line 1146 of file model.pb.cc.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.priority)
Definition at line 3137 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
Definition at line 2984 of file model.pb.h.
|
inlinenodiscard |
Definition at line 2909 of file model.pb.h.
|
inlinenodiscard |
@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.name)
Definition at line 3104 of file model.pb.h.
|
inlinenodiscard |
Definition at line 3002 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.linear_coefficients)
Definition at line 2952 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.name)
Definition at line 3117 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
Definition at line 3045 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.maximize)
Definition at line 2842 of file model.pb.h.
void operations_research::math_opt::ObjectiveProto::set_name | ( | Arg_ && | arg, |
Args_... | args ) |
PROTOBUF_ALWAYS_INLINE void operations_research::math_opt::ObjectiveProto::set_name | ( | Arg_ && | arg, |
Args_... | args ) |
@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.name)
Definition at line 3078 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.offset)
Definition at line 2866 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.priority)
Definition at line 3141 of file model.pb.h.
|
inline |
Definition at line 1464 of file model.pb.h.
|
inline |
Definition at line 1440 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.linear_coefficients)
Definition at line 2928 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
Definition at line 3021 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveProto.linear_coefficients)
Definition at line 2895 of file model.pb.h.
|
inline |
@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
Definition at line 2988 of file model.pb.h.
|
inline |
Definition at line 1472 of file model.pb.h.
|
friend |
Definition at line 1642 of file model.pb.h.
|
friend |
Definition at line 1644 of file model.pb.h.
|
friend |
Definition at line 1635 of file model.pb.h.
|
friend |
Definition at line 1641 of file model.pb.h.
|
friend |
Definition at line 1667 of file model.pb.h.
|
friend |
Definition at line 1463 of file model.pb.h.
Impl_ operations_research::math_opt::ObjectiveProto::_impl_ |
Definition at line 1666 of file model.pb.h.
|
staticconstexpr |
Definition at line 1462 of file model.pb.h.