C++ Reference
C++ Reference: CP-SAT
Detailed Description
Definition at line 4238 of file cp_model.pb.h.
Public Types | |
| enum | : int { kVarsFieldNumber = 1, kCoeffsFieldNumber = 4, kDomainFieldNumber = 5, kOffsetFieldNumber = 2, kScalingFactorFieldNumber = 3 } |
Public Member Functions | |
| CpObjectiveProto () | |
| virtual | ~CpObjectiveProto () |
| CpObjectiveProto (const CpObjectiveProto &from) | |
| CpObjectiveProto (CpObjectiveProto &&from) noexcept | |
| CpObjectiveProto & | operator= (const CpObjectiveProto &from) |
| CpObjectiveProto & | operator= (CpObjectiveProto &&from) noexcept |
| void | Swap (CpObjectiveProto *other) |
| CpObjectiveProto * | New () const final |
| CpObjectiveProto * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final |
| void | CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
| void | MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final |
| void | CopyFrom (const CpObjectiveProto &from) |
| void | MergeFrom (const CpObjectiveProto &from) |
| PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
| bool | IsInitialized () const final |
| size_t | ByteSizeLong () const final |
| const char * | _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final |
| ::PROTOBUF_NAMESPACE_ID::uint8 * | _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final |
| int | GetCachedSize () const final |
| ::PROTOBUF_NAMESPACE_ID::Metadata | GetMetadata () const final |
| int | vars_size () const |
| void | clear_vars () |
| ::PROTOBUF_NAMESPACE_ID::int32 | vars (int index) const |
| void | set_vars (int index, ::PROTOBUF_NAMESPACE_ID::int32 value) |
| void | add_vars (::PROTOBUF_NAMESPACE_ID::int32 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & | vars () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * | mutable_vars () |
| int | coeffs_size () const |
| void | clear_coeffs () |
| ::PROTOBUF_NAMESPACE_ID::int64 | coeffs (int index) const |
| void | set_coeffs (int index, ::PROTOBUF_NAMESPACE_ID::int64 value) |
| void | add_coeffs (::PROTOBUF_NAMESPACE_ID::int64 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > & | coeffs () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > * | mutable_coeffs () |
| int | domain_size () const |
| void | clear_domain () |
| ::PROTOBUF_NAMESPACE_ID::int64 | domain (int index) const |
| void | set_domain (int index, ::PROTOBUF_NAMESPACE_ID::int64 value) |
| void | add_domain (::PROTOBUF_NAMESPACE_ID::int64 value) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > & | domain () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > * | mutable_domain () |
| void | clear_offset () |
| double | offset () const |
| void | set_offset (double value) |
| void | clear_scaling_factor () |
| double | scaling_factor () const |
| void | set_scaling_factor (double value) |
Static Public Member Functions | |
| static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
| static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
| static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
| static const CpObjectiveProto & | default_instance () |
| static void | InitAsDefaultInstance () |
| static const CpObjectiveProto * | internal_default_instance () |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum : int |
| Enumerator | |
|---|---|
| kVarsFieldNumber | |
| kCoeffsFieldNumber | |
| kDomainFieldNumber | |
| kOffsetFieldNumber | |
| kScalingFactorFieldNumber | |
Definition at line 4343 of file cp_model.pb.h.
Constructor & Destructor Documentation
◆ CpObjectiveProto() [1/3]
| CpObjectiveProto | ( | ) |
◆ ~CpObjectiveProto()
|
virtual |
◆ CpObjectiveProto() [2/3]
| CpObjectiveProto | ( | const CpObjectiveProto & | from | ) |
◆ CpObjectiveProto() [3/3]
|
inlinenoexcept |
Definition at line 4245 of file cp_model.pb.h.
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ add_coeffs()
|
inline |
Definition at line 9336 of file cp_model.pb.h.
◆ add_domain()
|
inline |
Definition at line 9423 of file cp_model.pb.h.
◆ add_vars()
|
inline |
Definition at line 9289 of file cp_model.pb.h.
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_coeffs()
|
inline |
Definition at line 9319 of file cp_model.pb.h.
◆ clear_domain()
|
inline |
Definition at line 9406 of file cp_model.pb.h.
◆ clear_offset()
|
inline |
Definition at line 9360 of file cp_model.pb.h.
◆ clear_scaling_factor()
|
inline |
Definition at line 9380 of file cp_model.pb.h.
◆ clear_vars()
|
inline |
Definition at line 9272 of file cp_model.pb.h.
◆ coeffs() [1/2]
|
inline |
Definition at line 9345 of file cp_model.pb.h.
◆ coeffs() [2/2]
|
inline |
Definition at line 9325 of file cp_model.pb.h.
◆ coeffs_size()
|
inline |
Definition at line 9316 of file cp_model.pb.h.
◆ CopyFrom() [1/2]
|
final |
◆ CopyFrom() [2/2]
| void CopyFrom | ( | const CpObjectiveProto & | from | ) |
◆ default_instance()
|
static |
◆ descriptor()
|
inlinestatic |
Definition at line 4263 of file cp_model.pb.h.
◆ domain() [1/2]
|
inline |
Definition at line 9432 of file cp_model.pb.h.
◆ domain() [2/2]
|
inline |
Definition at line 9412 of file cp_model.pb.h.
◆ domain_size()
|
inline |
Definition at line 9403 of file cp_model.pb.h.
◆ GetCachedSize()
|
inlinefinal |
Definition at line 4310 of file cp_model.pb.h.
◆ GetDescriptor()
|
inlinestatic |
Definition at line 4266 of file cp_model.pb.h.
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
Definition at line 4269 of file cp_model.pb.h.
◆ InitAsDefaultInstance()
|
static |
◆ internal_default_instance()
|
inlinestatic |
Definition at line 4275 of file cp_model.pb.h.
◆ IsInitialized()
|
final |
◆ MergeFrom() [1/2]
|
final |
◆ MergeFrom() [2/2]
| void MergeFrom | ( | const CpObjectiveProto & | from | ) |
◆ mutable_coeffs()
|
inline |
Definition at line 9354 of file cp_model.pb.h.
◆ mutable_domain()
|
inline |
Definition at line 9441 of file cp_model.pb.h.
◆ mutable_vars()
|
inline |
Definition at line 9307 of file cp_model.pb.h.
◆ New() [1/2]
|
inlinefinal |
Definition at line 4292 of file cp_model.pb.h.
◆ New() [2/2]
|
inlinefinal |
Definition at line 4296 of file cp_model.pb.h.
◆ offset()
|
inline |
Definition at line 9366 of file cp_model.pb.h.
◆ operator=() [1/2]
|
inline |
Definition at line 4250 of file cp_model.pb.h.
◆ operator=() [2/2]
|
inlinenoexcept |
Definition at line 4254 of file cp_model.pb.h.
◆ scaling_factor()
|
inline |
Definition at line 9386 of file cp_model.pb.h.
◆ set_coeffs()
|
inline |
Definition at line 9329 of file cp_model.pb.h.
◆ set_domain()
|
inline |
Definition at line 9416 of file cp_model.pb.h.
◆ set_offset()
|
inline |
Definition at line 9374 of file cp_model.pb.h.
◆ set_scaling_factor()
|
inline |
Definition at line 9394 of file cp_model.pb.h.
◆ set_vars()
|
inline |
Definition at line 9282 of file cp_model.pb.h.
◆ Swap()
|
inline |
Definition at line 4285 of file cp_model.pb.h.
◆ vars() [1/2]
|
inline |
Definition at line 9298 of file cp_model.pb.h.
◆ vars() [2/2]
|
inline |
Definition at line 9278 of file cp_model.pb.h.
◆ vars_size()
|
inline |
Definition at line 9269 of file cp_model.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 4279 of file cp_model.pb.h.
The documentation for this class was generated from the following file: