Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
attr_key.h File Reference
#include <array>
#include <cstddef>
#include <cstdint>
#include <ostream>
#include <type_traits>
#include <utility>
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/types/span.h"
#include "ortools/base/status_builder.h"
#include "ortools/math_opt/elemental/elements.h"
#include "ortools/math_opt/elemental/symmetry.h"

Go to the source code of this file.

Classes

class  operations_research::math_opt::AttrKey< n, Symmetry >
struct  operations_research::math_opt::is_attr_key< T >
 Traits to detect whether T is an AttrKey. More...
struct  operations_research::math_opt::is_attr_key< AttrKey< n, Symmetry > >
class  operations_research::math_opt::detail::AttrKey0RawSet< Symmetry, V >
class  operations_research::math_opt::detail::AttrKey0RawSet< Symmetry, V >::IteratorImpl< ValueT >

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.
namespace  operations_research::math_opt::detail

Typedefs

template<typename AttrKeyT, typename = std::enable_if_t<is_attr_key_v<AttrKeyT>>>
using operations_research::math_opt::AttrKeyHashSet
 A hash set of AttrKeyT, where AttrKeyT is an AttrKey<n, Symmetry>.
template<typename AttrKeyT, typename V, typename = std::enable_if_t<is_attr_key_v<AttrKeyT>>>
using operations_research::math_opt::AttrKeyHashMap

Functions

template<typename... Ints>
 operations_research::math_opt::AttrKey (Ints... dims) -> AttrKey< sizeof...(Ints), NoSymmetry >
 CTAD for AttrKey(1,2).
template<int n, typename Symmetry>
std::ostream & operations_research::math_opt::operator<< (std::ostream &ostr, const AttrKey< n, Symmetry > &key)
 Required for open-source StatusBuilder support.

Variables

template<typename T>
static constexpr bool operations_research::math_opt::is_attr_key_v = is_attr_key<T>::value