@@ -143,7 +143,7 @@ class hypergraph final {
143143 return std::views::iota (initial_id_v<id_type>, this ->_n_vertices );
144144 }
145145
146- [[nodiscard]] vertex_type get_vertex (const id_type vertex_id) const {
146+ [[nodiscard]] vertex_type vertex (const id_type vertex_id) const {
147147 this ->_verify_vertex_id (vertex_id);
148148 if constexpr (traits::c_non_empty_properties<vertex_properties_type>)
149149 return vertex_type{vertex_id, *this ->_vertex_properties [vertex_id]};
@@ -251,7 +251,7 @@ class hypergraph final {
251251 return util::deref_view (this ->_vertex_properties );
252252 }
253253
254- [[nodiscard]] gl_attr_force_inline vertex_properties_type& get_vertex_properties (
254+ [[nodiscard]] gl_attr_force_inline vertex_properties_type& vertex_properties (
255255 const id_type vertex_id
256256 ) const
257257 requires(traits::c_non_empty_properties<vertex_properties_type>)
@@ -270,7 +270,7 @@ class hypergraph final {
270270 return std::views::iota (initial_id_v<id_type>, this ->_n_hyperedges );
271271 }
272272
273- [[nodiscard]] hyperedge_type get_hyperedge (const id_type hyperedge_id) const {
273+ [[nodiscard]] hyperedge_type hyperedge (const id_type hyperedge_id) const {
274274 this ->_verify_hyperedge_id (hyperedge_id);
275275 if constexpr (traits::c_non_empty_properties<hyperedge_properties_type>)
276276 return hyperedge_type{hyperedge_id, *this ->_hyperedge_properties [hyperedge_id]};
@@ -538,7 +538,7 @@ class hypergraph final {
538538 return util::deref_view (this ->_hyperedge_properties );
539539 }
540540
541- [[nodiscard]] gl_attr_force_inline hyperedge_properties_type& get_hyperedge_properties (
541+ [[nodiscard]] gl_attr_force_inline hyperedge_properties_type& hyperedge_properties (
542542 const id_type id
543543 ) const
544544 requires(traits::c_non_empty_properties<hyperedge_properties_type>)
0 commit comments