![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 2976 of file cp_model.pb.h.
#include <cp_model.pb.h>
Classes | |
class | _Internal |
Public Types | |
enum | : int { kVarsFieldNumber = 1 , kCoeffsFieldNumber = 4 , kDomainFieldNumber = 5 , kOffsetFieldNumber = 2 , kScalingFactorFieldNumber = 3 , kIntegerBeforeOffsetFieldNumber = 7 , kIntegerScalingFactorFieldNumber = 8 , kIntegerAfterOffsetFieldNumber = 9 , kScalingWasExactFieldNumber = 6 } |
nested types -------------------------------------------------— More... |
Public Member Functions | |
CpObjectiveProto () | |
~CpObjectiveProto () PROTOBUF_FINAL | |
template<typename = void> | |
PROTOBUF_CONSTEXPR | CpObjectiveProto (::google::protobuf::internal::ConstantInitialized) |
CpObjectiveProto (const CpObjectiveProto &from) | |
CpObjectiveProto (CpObjectiveProto &&from) noexcept | |
CpObjectiveProto & | operator= (const CpObjectiveProto &from) |
CpObjectiveProto & | operator= (CpObjectiveProto &&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 (CpObjectiveProto *PROTOBUF_NONNULL other) |
void | UnsafeArenaSwap (CpObjectiveProto *PROTOBUF_NONNULL other) |
CpObjectiveProto *PROTOBUF_NONNULL | New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const |
implements Message -------------------------------------------— | |
void | CopyFrom (const CpObjectiveProto &from) |
void | MergeFrom (const CpObjectiveProto &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 = 4; | |
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 = 5; | |
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 () |
void | clear_offset () |
double offset = 2; | |
double | offset () const |
void | set_offset (double value) |
void | clear_scaling_factor () |
double scaling_factor = 3; | |
double | scaling_factor () const |
void | set_scaling_factor (double value) |
void | clear_integer_before_offset () |
int64 integer_before_offset = 7; | |
::int64_t | integer_before_offset () const |
void | set_integer_before_offset (::int64_t value) |
void | clear_integer_scaling_factor () |
int64 integer_scaling_factor = 8; | |
::int64_t | integer_scaling_factor () const |
void | set_integer_scaling_factor (::int64_t value) |
void | clear_integer_after_offset () |
int64 integer_after_offset = 9; | |
::int64_t | integer_after_offset () const |
void | set_integer_after_offset (::int64_t value) |
void | clear_scaling_was_exact () |
bool scaling_was_exact = 6; | |
bool | scaling_was_exact () const |
void | set_scaling_was_exact (bool value) |
template<typename> | |
PROTOBUF_CONSTEXPR | CpObjectiveProto (::_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 CpObjectiveProto & | default_instance () |
static constexpr auto | InternalGenerateClassData_ () |
Static Public Attributes | |
static constexpr int | kIndexInFileMessages = 20 |
Protected Member Functions | |
CpObjectiveProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena) | |
CpObjectiveProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const CpObjectiveProto &from) | |
CpObjectiveProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, CpObjectiveProto &&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 (CpObjectiveProto &a, CpObjectiveProto &b) |
anonymous enum : int |
nested types -------------------------------------------------—
accessors ----------------------------------------------------—
Definition at line 3118 of file cp_model.pb.h.
|
inline |
Definition at line 2979 of file cp_model.pb.h.
operations_research::sat::CpObjectiveProto::~CpObjectiveProto | ( | ) |
@protoc_insertion_point(destructor:operations_research.sat.CpObjectiveProto)
Definition at line 9289 of file cp_model.pb.cc.
|
explicit |
|
inline |
Definition at line 2992 of file cp_model.pb.h.
|
inlinenoexcept |
Definition at line 2993 of file cp_model.pb.h.
|
explicitprotected |
@protoc_insertion_point(arena_constructor:operations_research.sat.CpObjectiveProto)
Definition at line 9224 of file cp_model.pb.cc.
|
protected |
@protoc_insertion_point(copy_constructor:operations_research.sat.CpObjectiveProto)
Definition at line 9246 of file cp_model.pb.cc.
|
inlineprotectednoexcept |
Definition at line 3100 of file cp_model.pb.h.
PROTOBUF_CONSTEXPR operations_research::sat::CpObjectiveProto::CpObjectiveProto | ( | ::_pbi::ConstantInitialized | ) |
Definition at line 382 of file cp_model.pb.cc.
|
final |
@protoc_insertion_point(serialize_to_array_start:operations_research.sat.CpObjectiveProto)
repeated int32 vars = 1;
double offset = 2;
double scaling_factor = 3;
repeated int64 coeffs = 4;
repeated int64 domain = 5;
bool scaling_was_exact = 6;
int64 integer_before_offset = 7;
int64 integer_scaling_factor = 8;
int64 integer_after_offset = 9;
@protoc_insertion_point(serialize_to_array_end:operations_research.sat.CpObjectiveProto)
Definition at line 9477 of file cp_model.pb.cc.
|
inline |
@protoc_insertion_point(field_add:operations_research.sat.CpObjectiveProto.coeffs)
Definition at line 13332 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_add:operations_research.sat.CpObjectiveProto.domain)
Definition at line 13426 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_add:operations_research.sat.CpObjectiveProto.vars)
Definition at line 13286 of file cp_model.pb.h.
|
final |
@protoc_insertion_point(message_byte_size_start:operations_research.sat.CpObjectiveProto)
Prevent compiler warnings about cached_has_bits being unused
repeated int32 vars = 1;
repeated int64 coeffs = 4;
repeated int64 domain = 5;
double offset = 2;
double scaling_factor = 3;
int64 integer_before_offset = 7;
int64 integer_scaling_factor = 8;
int64 integer_after_offset = 9;
bool scaling_was_exact = 6;
Definition at line 9580 of file cp_model.pb.cc.
PROTOBUF_NOINLINE void operations_research::sat::CpObjectiveProto::Clear | ( | ) |
@protoc_insertion_point(message_clear_start:operations_research.sat.CpObjectiveProto)
Prevent compiler warnings about cached_has_bits being unused
Definition at line 9451 of file cp_model.pb.cc.
|
inline |
Definition at line 13320 of file cp_model.pb.h.
|
inline |
Definition at line 13414 of file cp_model.pb.h.
|
inline |
int64 integer_after_offset = 9;
Definition at line 13502 of file cp_model.pb.h.
|
inline |
int64 integer_before_offset = 7;
Definition at line 13478 of file cp_model.pb.h.
|
inline |
int64 integer_scaling_factor = 8;
Definition at line 13526 of file cp_model.pb.h.
|
inline |
double offset = 2;
Definition at line 13360 of file cp_model.pb.h.
|
inline |
double scaling_factor = 3;
Definition at line 13384 of file cp_model.pb.h.
|
inline |
bool scaling_was_exact = 6;
Definition at line 13454 of file cp_model.pb.h.
|
inline |
Definition at line 13274 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.sat.CpObjectiveProto.coeffs)
Definition at line 13337 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.coeffs)
Definition at line 13324 of file cp_model.pb.h.
|
inline |
repeated int64 coeffs = 4;
Definition at line 13317 of file cp_model.pb.h.
void operations_research::sat::CpObjectiveProto::CopyFrom | ( | const CpObjectiveProto & | from | ) |
@protoc_insertion_point(class_specific_copy_from_start:operations_research.sat.CpObjectiveProto)
Definition at line 9708 of file cp_model.pb.cc.
|
inlinestatic |
Definition at line 3027 of file cp_model.pb.h.
|
inlinestatic |
Definition at line 3018 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.sat.CpObjectiveProto.domain)
Definition at line 13431 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.domain)
Definition at line 13418 of file cp_model.pb.h.
|
inline |
repeated int64 domain = 5;
Definition at line 13411 of file cp_model.pb.h.
|
inline |
Definition at line 3086 of file cp_model.pb.h.
|
protected |
Definition at line 9357 of file cp_model.pb.cc.
|
inlinestatic |
Definition at line 3021 of file cp_model.pb.h.
google::protobuf::Metadata operations_research::sat::CpObjectiveProto::GetMetadata | ( | ) | const |
Definition at line 9731 of file cp_model.pb.cc.
|
inlinestatic |
Definition at line 3024 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.integer_after_offset)
Definition at line 13507 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.integer_before_offset)
Definition at line 13483 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.integer_scaling_factor)
Definition at line 13531 of file cp_model.pb.h.
|
staticconstexpr |
Definition at line 9329 of file cp_model.pb.cc.
|
staticconstexprprotected |
Definition at line 9305 of file cp_model.pb.cc.
|
inline |
Definition at line 3062 of file cp_model.pb.h.
|
inline |
Definition at line 3055 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.sat.CpObjectiveProto.coeffs)
Definition at line 13342 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.sat.CpObjectiveProto.domain)
Definition at line 13436 of file cp_model.pb.h.
|
inline |
Definition at line 3013 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_mutable_list:operations_research.sat.CpObjectiveProto.vars)
Definition at line 13296 of file cp_model.pb.h.
|
inline |
implements Message -------------------------------------------—
Definition at line 3049 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.offset)
Definition at line 13365 of file cp_model.pb.h.
|
inline |
Definition at line 2995 of file cp_model.pb.h.
|
inlinenoexcept |
Definition at line 2999 of file cp_model.pb.h.
|
inlinestaticprotected |
Definition at line 9300 of file cp_model.pb.cc.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.scaling_factor)
Definition at line 13389 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.scaling_was_exact)
Definition at line 13459 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.coeffs)
Definition at line 13328 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.domain)
Definition at line 13422 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.integer_after_offset)
Definition at line 13511 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.integer_before_offset)
Definition at line 13487 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.integer_scaling_factor)
Definition at line 13535 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.offset)
Definition at line 13369 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.scaling_factor)
Definition at line 13393 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.scaling_was_exact)
Definition at line 13463 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_set:operations_research.sat.CpObjectiveProto.vars)
Definition at line 13282 of file cp_model.pb.h.
|
inline |
Definition at line 3033 of file cp_model.pb.h.
|
inline |
Definition at line 3009 of file cp_model.pb.h.
|
inline |
Definition at line 3041 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_list:operations_research.sat.CpObjectiveProto.vars)
Definition at line 13291 of file cp_model.pb.h.
|
inline |
@protoc_insertion_point(field_get:operations_research.sat.CpObjectiveProto.vars)
Definition at line 13278 of file cp_model.pb.h.
|
inline |
repeated int32 vars = 1;
Definition at line 13271 of file cp_model.pb.h.
|
friend |
Definition at line 3253 of file cp_model.pb.h.
|
friend |
Definition at line 3255 of file cp_model.pb.h.
|
friend |
Definition at line 3246 of file cp_model.pb.h.
|
friend |
Definition at line 3252 of file cp_model.pb.h.
|
friend |
Definition at line 3284 of file cp_model.pb.h.
|
friend |
Definition at line 3032 of file cp_model.pb.h.
Impl_ operations_research::sat::CpObjectiveProto::_impl_ |
Definition at line 3283 of file cp_model.pb.h.
|
staticconstexpr |
Definition at line 3031 of file cp_model.pb.h.