@@ -184,51 +184,6 @@ class RRSpatialLookup {
184
184
int ptc,
185
185
e_side side = SIDES[0 ]);
186
186
187
- /* *
188
- * @brief Mirror the last dimension of a look-up, i.e., a list of nodes, from a source coordinate to
189
- * a destination coordinate.
190
- *
191
- * This function is mostly need by SOURCE and SINK nodes which are indexable in multiple locations.
192
- * Considering a bounding box (layer, x, y)->(layer, x + width, y + height) of a multi-height and multi-width grid,
193
- * SOURCE and SINK nodes are indexable in any location inside the boundry.
194
- *
195
- * An example of usage:
196
- *
197
- *
198
- * ```
199
- * // Create a empty lookup
200
- * RRSpatialLookup rr_lookup;
201
- * // Adding other nodes ...
202
- * // Copy the nodes whose types are SOURCE at (1, 1) to (1, 2)
203
- * rr_lookup.mirror_nodes(vtr::Point<int>(1, 1),
204
- * vtr::Point<int>(1, 2),
205
- * SOURCE,
206
- * TOP);
207
- * ```
208
- *
209
- * @note currently this function only accepts SOURCE/SINK nodes. May unlock for the other types
210
- * depending on needs
211
- */
212
- /*
213
- * TODO: Consider to make a high-level API to duplicate the nodes for large blocks.
214
- * Then this API can become a private one
215
- * For example,
216
- *
217
- *
218
- * ```
219
- * expand_nodes(source_coordinate, bounding_box_coordinate, type, side);
220
- * ```
221
- *
222
- * Alternatively, we can rework the ``find_node()`` API so that we always search the lowest (x,y)
223
- * corner when dealing with large blocks. But this may require the data structure to be dependent
224
- * on DeviceGrid information (it needs to identify if a grid has height > 1 as well as width > 1)
225
- */
226
- void mirror_nodes (const int layer,
227
- const vtr::Point <int >& src_coord,
228
- const vtr::Point <int >& des_coord,
229
- t_rr_type type,
230
- e_side side);
231
-
232
187
/* *
233
188
* @brief Resize the given 4 dimensions (layer, x, y, side) of the RRSpatialLookup data structure for the given type
234
189
*
0 commit comments