Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
attributes.h File Reference
#include <array>
#include <cstdint>
#include <limits>
#include <ostream>
#include <tuple>
#include <type_traits>
#include "absl/strings/string_view.h"
#include "ortools/base/array.h"
#include "ortools/math_opt/elemental/arrays.h"
#include "ortools/math_opt/elemental/elements.h"
#include "ortools/math_opt/elemental/symmetry.h"

Go to the source code of this file.

Classes

struct  operations_research::math_opt::AttrTypeDescriptor< ValueTypeT, n, SymmetryT, Impl >
struct  operations_research::math_opt::AttrTypeDescriptor< ValueTypeT, n, SymmetryT, Impl >::AttrDescriptor
struct  operations_research::math_opt::BoolAttr0TypeDescriptor
struct  operations_research::math_opt::BoolAttr1TypeDescriptor
struct  operations_research::math_opt::IntAttr0TypeDescriptor
struct  operations_research::math_opt::IntAttr1TypeDescriptor
struct  operations_research::math_opt::DoubleAttr0TypeDescriptor
struct  operations_research::math_opt::DoubleAttr1TypeDescriptor
struct  operations_research::math_opt::DoubleAttr2TypeDescriptor
struct  operations_research::math_opt::SymmetricDoubleAttr2TypeDescriptor
struct  operations_research::math_opt::SymmetricDoubleAttr3TypeDescriptor
struct  operations_research::math_opt::VariableAttr1TypeDescriptor

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

using operations_research::math_opt::AllAttrTypeDescriptors
using operations_research::math_opt::BoolAttr0 = BoolAttr0TypeDescriptor::AttrType
 Aliases for types.
using operations_research::math_opt::BoolAttr1 = BoolAttr1TypeDescriptor::AttrType
using operations_research::math_opt::IntAttr0 = IntAttr0TypeDescriptor::AttrType
using operations_research::math_opt::IntAttr1 = IntAttr1TypeDescriptor::AttrType
using operations_research::math_opt::DoubleAttr0 = DoubleAttr0TypeDescriptor::AttrType
using operations_research::math_opt::DoubleAttr1 = DoubleAttr1TypeDescriptor::AttrType
using operations_research::math_opt::DoubleAttr2 = DoubleAttr2TypeDescriptor::AttrType
using operations_research::math_opt::SymmetricDoubleAttr2 = SymmetricDoubleAttr2TypeDescriptor::AttrType
using operations_research::math_opt::SymmetricDoubleAttr3 = SymmetricDoubleAttr3TypeDescriptor::AttrType
using operations_research::math_opt::VariableAttr1 = VariableAttr1TypeDescriptor::AttrType

Functions

template<typename AttrT>
static constexpr int operations_research::math_opt::GetIndexIfAttr ()
template<typename AttrT, typename = std::enable_if_t<(GetIndexIfAttr<AttrT>() >= 0)>>
absl::string_view operations_research::math_opt::ToString (const AttrT attr)
template<typename Sink, typename AttrT, typename = std::enable_if_t<(GetIndexIfAttr<AttrT>() >= 0)>>
void operations_research::math_opt::AbslStringify (Sink &sink, const AttrT attr_type)
template<typename AttrT>
std::enable_if_t<(GetIndexIfAttr< AttrT >() >=0), std::ostream & > operations_research::math_opt::operator<< (std::ostream &ostr, AttrT attr)