Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
derived_data.h File Reference
#include <array>
#include <string>
#include <tuple>
#include <type_traits>
#include "absl/log/log.h"
#include "absl/strings/str_cat.h"
#include "ortools/math_opt/elemental/arrays.h"
#include "ortools/math_opt/elemental/attr_key.h"
#include "ortools/math_opt/elemental/attributes.h"
#include "ortools/math_opt/elemental/elements.h"
#include "ortools/util/fp_roundtrip_conv.h"

Go to the source code of this file.

Classes

struct  operations_research::math_opt::AllAttrs
struct  operations_research::math_opt::EnumeratedTupleCpp17Helper< ValueType >
class  operations_research::math_opt::AttrMap< ValueType >

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::math_opt

Typedefs

template<typename AttrT>
using operations_research::math_opt::AttrTypeDescriptorT
template<typename AttrType>
using operations_research::math_opt::AttrKeyFor
template<typename AttrType>
using operations_research::math_opt::ValueTypeFor = typename AttrTypeDescriptorT<AttrType>::ValueType
template<int n, template< int i > typename ValueType>
using operations_research::math_opt::EnumeratedTuple

Functions

template<auto attr>
constexpr AttrTypeDescriptorT< decltype(attr)>::ValueType operations_research::math_opt::GetAttrDefaultValue ()
template<typename AttrType>
constexpr int operations_research::math_opt::GetAttrKeySize ()
template<auto attr>
constexpr int operations_research::math_opt::GetAttrKeySize ()
template<typename AttrType>
constexpr std::array< ElementType, GetAttrKeySize< AttrType >()> operations_research::math_opt::GetElementTypes (const AttrType attr)
template<auto attr>
constexpr std::array< ElementType, GetAttrKeySize< attr >()> operations_research::math_opt::GetElementTypes ()
template<typename AttrType, typename Fn, int n = 0>
decltype(auto) operations_research::math_opt::CallForAttr (AttrType attr, Fn &&fn)
template<typename ValueType>
std::string operations_research::math_opt::FormatAttrValue (const ValueType v)
template<>
std::string operations_research::math_opt::FormatAttrValue (const double v)
template<>
std::string operations_research::math_opt::FormatAttrValue (const bool v)