18namespace sequoia::maths
29 using size_type =
typename base_t::size_type;
30 using weight_type =
typename base_t::weight_type;
39 :
base_t{utilities::to_array<weight_type, N>(weights, std::identity{})}
51 template<
class Weight, std::
size_t N>
52 requires std::is_empty_v<Weight>
56 using weight_type = Weight;
57 using size_type = std::size_t;
66 constexpr static std::size_t size()
noexcept {
return N; }
Utility to convert an initializer_list into an array, potentially transforming the initializer_list i...
Classes to allow homogeneous treatment of graphs with empty/non-empty node weights.
Definition: NodeStorage.hpp:37
Definition: StaticNodeStorage.hpp:26