C++ Reference
C++ Reference: CP-SAT
Detailed Description
Definition at line 658 of file boolean_problem.pb.h.
Public Types | |
| enum | : int { kConstraintsFieldNumber = 4, kVarNamesFieldNumber = 6, kNameFieldNumber = 1, kObjectiveFieldNumber = 5, kAssignmentFieldNumber = 7, kNumVariablesFieldNumber = 3, kOriginalNumVariablesFieldNumber = 8 } |
Public Member Functions | |
| LinearBooleanProblem () | |
| virtual | ~LinearBooleanProblem () |
| LinearBooleanProblem (const LinearBooleanProblem &from) | |
| LinearBooleanProblem (LinearBooleanProblem &&from) noexcept | |
| LinearBooleanProblem & | operator= (const LinearBooleanProblem &from) |
| LinearBooleanProblem & | operator= (LinearBooleanProblem &&from) noexcept |
| const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & | unknown_fields () const |
| inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * | mutable_unknown_fields () |
| void | Swap (LinearBooleanProblem *other) |
| LinearBooleanProblem * | New () const final |
| LinearBooleanProblem * | 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 LinearBooleanProblem &from) |
| void | MergeFrom (const LinearBooleanProblem &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 | constraints_size () const |
| void | clear_constraints () |
| ::operations_research::LinearBooleanConstraint * | mutable_constraints (int index) |
| ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LinearBooleanConstraint > * | mutable_constraints () |
| const ::operations_research::LinearBooleanConstraint & | constraints (int index) const |
| ::operations_research::LinearBooleanConstraint * | add_constraints () |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::LinearBooleanConstraint > & | constraints () const |
| int | var_names_size () const |
| void | clear_var_names () |
| const std::string & | var_names (int index) const |
| std::string * | mutable_var_names (int index) |
| void | set_var_names (int index, const std::string &value) |
| void | set_var_names (int index, std::string &&value) |
| void | set_var_names (int index, const char *value) |
| void | set_var_names (int index, const char *value, size_t size) |
| std::string * | add_var_names () |
| void | add_var_names (const std::string &value) |
| void | add_var_names (std::string &&value) |
| void | add_var_names (const char *value) |
| void | add_var_names (const char *value, size_t size) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & | var_names () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * | mutable_var_names () |
| bool | has_name () const |
| void | clear_name () |
| const std::string & | name () const |
| void | set_name (const std::string &value) |
| void | set_name (std::string &&value) |
| void | set_name (const char *value) |
| void | set_name (const char *value, size_t size) |
| std::string * | mutable_name () |
| std::string * | release_name () |
| void | set_allocated_name (std::string *name) |
| bool | has_objective () const |
| void | clear_objective () |
| const ::operations_research::LinearObjective & | objective () const |
| ::operations_research::LinearObjective * | release_objective () |
| ::operations_research::LinearObjective * | mutable_objective () |
| void | set_allocated_objective (::operations_research::LinearObjective *objective) |
| bool | has_assignment () const |
| void | clear_assignment () |
| const ::operations_research::BooleanAssignment & | assignment () const |
| ::operations_research::BooleanAssignment * | release_assignment () |
| ::operations_research::BooleanAssignment * | mutable_assignment () |
| void | set_allocated_assignment (::operations_research::BooleanAssignment *assignment) |
| bool | has_num_variables () const |
| void | clear_num_variables () |
| ::PROTOBUF_NAMESPACE_ID::int32 | num_variables () const |
| void | set_num_variables (::PROTOBUF_NAMESPACE_ID::int32 value) |
| bool | has_original_num_variables () const |
| void | clear_original_num_variables () |
| ::PROTOBUF_NAMESPACE_ID::int32 | original_num_variables () const |
| void | set_original_num_variables (::PROTOBUF_NAMESPACE_ID::int32 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 LinearBooleanProblem & | default_instance () |
| static void | InitAsDefaultInstance () |
| static const LinearBooleanProblem * | internal_default_instance () |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
Member Enumeration Documentation
◆ anonymous enum
| anonymous enum : int |
| Enumerator | |
|---|---|
| kConstraintsFieldNumber | |
| kVarNamesFieldNumber | |
| kNameFieldNumber | |
| kObjectiveFieldNumber | |
| kAssignmentFieldNumber | |
| kNumVariablesFieldNumber | |
| kOriginalNumVariablesFieldNumber | |
Definition at line 770 of file boolean_problem.pb.h.
Constructor & Destructor Documentation
◆ LinearBooleanProblem() [1/3]
◆ ~LinearBooleanProblem()
|
virtual |
◆ LinearBooleanProblem() [2/3]
| LinearBooleanProblem | ( | const LinearBooleanProblem & | from | ) |
◆ LinearBooleanProblem() [3/3]
|
inlinenoexcept |
Definition at line 665 of file boolean_problem.pb.h.
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ add_constraints()
|
inline |
Definition at line 1482 of file boolean_problem.pb.h.
◆ add_var_names() [1/5]
|
inline |
Definition at line 1562 of file boolean_problem.pb.h.
◆ add_var_names() [2/5]
|
inline |
Definition at line 1606 of file boolean_problem.pb.h.
◆ add_var_names() [3/5]
|
inline |
Definition at line 1611 of file boolean_problem.pb.h.
◆ add_var_names() [4/5]
|
inline |
Definition at line 1598 of file boolean_problem.pb.h.
◆ add_var_names() [5/5]
|
inline |
Definition at line 1602 of file boolean_problem.pb.h.
◆ assignment()
|
inline |
Definition at line 1644 of file boolean_problem.pb.h.
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_assignment()
|
inline |
Definition at line 1635 of file boolean_problem.pb.h.
◆ clear_constraints()
|
inline |
Definition at line 1460 of file boolean_problem.pb.h.
◆ clear_name()
|
inline |
Definition at line 1362 of file boolean_problem.pb.h.
◆ clear_num_variables()
|
inline |
Definition at line 1433 of file boolean_problem.pb.h.
◆ clear_objective()
|
inline |
Definition at line 1501 of file boolean_problem.pb.h.
◆ clear_original_num_variables()
|
inline |
Definition at line 1694 of file boolean_problem.pb.h.
◆ clear_var_names()
|
inline |
Definition at line 1559 of file boolean_problem.pb.h.
◆ constraints() [1/2]
|
inline |
Definition at line 1487 of file boolean_problem.pb.h.
◆ constraints() [2/2]
|
inline |
Definition at line 1475 of file boolean_problem.pb.h.
◆ constraints_size()
|
inline |
Definition at line 1457 of file boolean_problem.pb.h.
◆ CopyFrom() [1/2]
|
final |
◆ CopyFrom() [2/2]
| void CopyFrom | ( | const LinearBooleanProblem & | from | ) |
◆ default_instance()
|
static |
◆ descriptor()
|
inlinestatic |
Definition at line 690 of file boolean_problem.pb.h.
◆ GetCachedSize()
|
inlinefinal |
Definition at line 737 of file boolean_problem.pb.h.
◆ GetDescriptor()
|
inlinestatic |
Definition at line 693 of file boolean_problem.pb.h.
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
Definition at line 696 of file boolean_problem.pb.h.
◆ has_assignment()
|
inline |
Definition at line 1632 of file boolean_problem.pb.h.
◆ has_name()
|
inline |
Definition at line 1359 of file boolean_problem.pb.h.
◆ has_num_variables()
|
inline |
Definition at line 1430 of file boolean_problem.pb.h.
◆ has_objective()
|
inline |
Definition at line 1498 of file boolean_problem.pb.h.
◆ has_original_num_variables()
|
inline |
Definition at line 1691 of file boolean_problem.pb.h.
◆ InitAsDefaultInstance()
|
static |
◆ internal_default_instance()
|
inlinestatic |
Definition at line 702 of file boolean_problem.pb.h.
◆ IsInitialized()
|
final |
◆ MergeFrom() [1/2]
|
final |
◆ MergeFrom() [2/2]
| void MergeFrom | ( | const LinearBooleanProblem & | from | ) |
◆ mutable_assignment()
|
inline |
Definition at line 1663 of file boolean_problem.pb.h.
◆ mutable_constraints() [1/2]
|
inline |
Definition at line 1468 of file boolean_problem.pb.h.
◆ mutable_constraints() [2/2]
|
inline |
Definition at line 1463 of file boolean_problem.pb.h.
◆ mutable_name()
|
inline |
Definition at line 1374 of file boolean_problem.pb.h.
◆ mutable_objective()
|
inline |
Definition at line 1529 of file boolean_problem.pb.h.
◆ mutable_unknown_fields()
|
inline |
Definition at line 686 of file boolean_problem.pb.h.
◆ mutable_var_names() [1/2]
|
inline |
Definition at line 1621 of file boolean_problem.pb.h.
◆ mutable_var_names() [2/2]
|
inline |
Definition at line 1573 of file boolean_problem.pb.h.
◆ name()
|
inline |
Definition at line 1366 of file boolean_problem.pb.h.
◆ New() [1/2]
|
inlinefinal |
Definition at line 719 of file boolean_problem.pb.h.
◆ New() [2/2]
|
inlinefinal |
Definition at line 723 of file boolean_problem.pb.h.
◆ num_variables()
|
inline |
Definition at line 1440 of file boolean_problem.pb.h.
◆ objective()
|
inline |
Definition at line 1510 of file boolean_problem.pb.h.
◆ operator=() [1/2]
|
inline |
Definition at line 670 of file boolean_problem.pb.h.
◆ operator=() [2/2]
|
inlinenoexcept |
Definition at line 674 of file boolean_problem.pb.h.
◆ original_num_variables()
|
inline |
Definition at line 1701 of file boolean_problem.pb.h.
◆ release_assignment()
|
inline |
Definition at line 1648 of file boolean_problem.pb.h.
◆ release_name()
|
inline |
Definition at line 1407 of file boolean_problem.pb.h.
◆ release_objective()
|
inline |
Definition at line 1514 of file boolean_problem.pb.h.
◆ set_allocated_assignment()
|
inline |
Definition at line 1667 of file boolean_problem.pb.h.
◆ set_allocated_name()
|
inline |
Definition at line 1415 of file boolean_problem.pb.h.
◆ set_allocated_objective()
|
inline |
Definition at line 1533 of file boolean_problem.pb.h.
◆ set_name() [1/4]
|
inline |
Definition at line 1391 of file boolean_problem.pb.h.
◆ set_name() [2/4]
|
inline |
Definition at line 1397 of file boolean_problem.pb.h.
◆ set_name() [3/4]
|
inline |
Definition at line 1370 of file boolean_problem.pb.h.
◆ set_name() [4/4]
|
inline |
Definition at line 1385 of file boolean_problem.pb.h.
◆ set_num_variables()
|
inline |
Definition at line 1448 of file boolean_problem.pb.h.
◆ set_original_num_variables()
|
inline |
Definition at line 1709 of file boolean_problem.pb.h.
◆ set_var_names() [1/4]
|
inline |
Definition at line 1585 of file boolean_problem.pb.h.
◆ set_var_names() [2/4]
|
inline |
Definition at line 1590 of file boolean_problem.pb.h.
◆ set_var_names() [3/4]
|
inline |
Definition at line 1577 of file boolean_problem.pb.h.
◆ set_var_names() [4/4]
|
inline |
Definition at line 1581 of file boolean_problem.pb.h.
◆ Swap()
|
inline |
Definition at line 712 of file boolean_problem.pb.h.
◆ unknown_fields()
|
inline |
Definition at line 683 of file boolean_problem.pb.h.
◆ var_names() [1/2]
|
inline |
Definition at line 1616 of file boolean_problem.pb.h.
◆ var_names() [2/2]
|
inline |
Definition at line 1569 of file boolean_problem.pb.h.
◆ var_names_size()
|
inline |
Definition at line 1556 of file boolean_problem.pb.h.
Member Data Documentation
◆ kIndexInFileMessages
|
staticconstexpr |
Definition at line 706 of file boolean_problem.pb.h.
The documentation for this class was generated from the following file: