You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// @brief Converts a graph from one implementation model to another.
165
+
///
166
+
/// This function efficiently transforms a graph's underlying memory representation (e.g., from a standard adjacency list to a flattened adjacency list) while preserving its exact topology, properties, and identifiers.
167
+
///
165
168
/// ### Template Parameters
166
169
/// | Parameter | Description | Constraints |
167
170
/// | :------------ | :---------- | :---------- |
168
171
/// | TargetImplTag | The implementation tag of the desired target representation (e.g., `gl::impl::flat_list_t`) | [**c_graph_impl_tag**](gl_concepts.md#gl-traits-c-graph-impl-tag) |
169
172
/// | Graph | The type of the source graph, which will be automatically deduced from the function argument. | [**c_graph**](gl_concepts.md#gl-traits-c-graph) |
173
+
///
170
174
/// @param source The graph to convert. After the operation it will be left in a valid, empty state.
171
-
/// @return A new graph containing the moved data, structured according to TargetImplTag.
175
+
/// @return A new graph containing the moved data, structured according to `TargetImplTag`.
176
+
///
172
177
/// ### See Also
173
178
/// - @ref gl::traits::swap_impl_tag "swap_impl_tag" : For the trait used to resolve the target graph type with the swapped implementation tag.
/// @brief Converts a hypergraph from one implementation model to another.
205
-
/// @tparam TargetImplTag The desired implementation tag (e.g., gl::impl::flat_list_t)
206
-
/// @tparam Hypergraph The automatically deduced type of the source hypergraph
221
+
///
222
+
/// This function efficiently transforms a hypergraph's underlying memory representation (e.g., from a standard incidence list to a flattened incidence list) while preserving its exact topology, properties, and identifiers.
223
+
///
224
+
/// ### Template Parameters
225
+
/// | Parameter | Description | Constraint |
226
+
/// | :-------- | :---------- | :--------- |
227
+
/// | TargetImplTag | The implementation tag of the desired target representation (e.g., `hgl::impl::flat_list_t`). | [**c_hypergraph_impl_tag**](hgl_concepts.md#hgl-traits-c-hypergraph-impl-tag) |
228
+
/// | Hypergraph | The type of the source hypergraph, which will be automatically deduced from the function argument. | [**c_hypergraph**](hgl_concepts.md#hgl-traits-c-hypergraph) |
229
+
///
207
230
/// @param source The hypergraph to convert. After the operation it will be left in a valid, empty state.
208
-
/// @return A new hypergraph containing the moved data, structured according to TargetImplTag.
231
+
/// @return A new hypergraph containing the moved data, structured according to `TargetImplTag`.
232
+
///
233
+
/// ### See Also
234
+
/// - @ref hgl::traits::swap_impl_tag "swap_impl_tag" : For the trait used to resolve the target hypergraph type with the swapped implementation tag.
0 commit comments