Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <connected_components.h>
Classes | |
struct | SelectContainer |
struct | SelectContainer< U, V, absl::enable_if_t< std::is_integral< decltype(std::declval< const U & >()(std::declval< const T & >()))>::value &&!std::is_same_v< V, void > > > |
Specialization for when U is a hash functor and Eq is provided (not void). More... | |
struct | SelectContainer< U, V, absl::enable_if_t< std::is_integral< decltype(std::declval< const U & >()(std::declval< const T & >()))>::value &&std::is_same_v< V, void > > > |
Public Types | |
using | Set = typename SelectContainer<CompareOrHashT, Eq>::Set |
using | Map = typename SelectContainer<CompareOrHashT, Eq>::Map |
A helper to deduce the type of map to use depending on whether CompareOrHashT is a comparator or a hasher (prefer the latter).
Definition at line 149 of file connected_components.h.
using internal::ConnectedComponentsTypeHelper< T, CompareOrHashT, Eq >::Map = typename SelectContainer<CompareOrHashT, Eq>::Map |
Definition at line 186 of file connected_components.h.
using internal::ConnectedComponentsTypeHelper< T, CompareOrHashT, Eq >::Set = typename SelectContainer<CompareOrHashT, Eq>::Set |
Definition at line 185 of file connected_components.h.