![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <cstddef>#include <cstdint>#include <iterator>#include <ostream>#include <string>#include <type_traits>#include <utility>#include <vector>#include "absl/base/attributes.h"#include "absl/log/check.h"#include "absl/strings/str_format.h"#include "absl/strings/string_view.h"#include "ortools/base/array.h"Go to the source code of this file.
Classes | |
| class | operations_research::math_opt::ElementId< element_type > |
| A strongly typed element id. Value type. More... | |
| class | operations_research::math_opt::ElementIdsConstView< element_type, Container > |
| class | operations_research::math_opt::ElementIdsVector< element_type > |
| struct | operations_research::math_opt::is_element_id< T > |
| Traits to detect whether T is an ElementId. More... | |
| struct | operations_research::math_opt::is_element_id< ElementId< element_type > > |
Namespaces | |
| namespace | operations_research |
| In SWIG mode, we don't want anything besides these top-level includes. | |
| namespace | operations_research::math_opt |
| An object oriented wrapper for quadratic constraints in ModelStorage. | |
Typedefs | |
| template<ElementType element_type> | |
| using | operations_research::math_opt::ElementIdsSpan = typename ElementIdsVector<element_type>::View |
| using | operations_research::math_opt::VariableId = ElementId<ElementType::kVariable> |
| using | operations_research::math_opt::LinearConstraintId = ElementId<ElementType::kLinearConstraint> |
| using | operations_research::math_opt::AuxiliaryObjectiveId = ElementId<ElementType::kAuxiliaryObjective> |
| using | operations_research::math_opt::QuadraticConstraintId = ElementId<ElementType::kQuadraticConstraint> |
| using | operations_research::math_opt::IndicatorConstraintId = ElementId<ElementType::kIndicatorConstraint> |
Functions | |
| absl::string_view | operations_research::math_opt::ToString (const ElementType element_type) |
| std::ostream & | operations_research::math_opt::operator<< (std::ostream &ostr, const ElementType element_type) |
| template<typename Sink> | |
| void | operations_research::math_opt::AbslStringify (Sink &sink, ElementType element_type) |
| template<ElementType element_type> | |
| std::string | operations_research::math_opt::ToString (const ElementId< element_type > &id) |
| template<ElementType element_type> | |
| std::ostream & | operations_research::math_opt::operator<< (std::ostream &ostr, const ElementId< element_type > &id) |
| template<typename Sink, ElementType element_type> | |
| void | operations_research::math_opt::AbslStringify (Sink &sink, const ElementId< element_type > &id) |
Variables | |
| constexpr auto | operations_research::math_opt::kElements |
| constexpr int | operations_research::math_opt::kNumElements = static_cast<int>(kElements.size()) |
| constexpr absl::string_view | operations_research::math_opt::kElementNames [kNumElements] |
| constexpr absl::string_view | operations_research::math_opt::kShortElementNames [kNumElements] |
| template<typename T> | |
| static constexpr bool | operations_research::math_opt::is_element_id_v = is_element_id<T>::value |