Skip to content

Commit 4830963

Browse files
committed
[lib][rr_graph] add remove_node header
1 parent de52b91 commit 4830963

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libs/librrgraph/src/base/rr_graph_storage.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,16 @@ class t_rr_graph_storage {
737737
*/
738738
void set_virtual_clock_network_root_idx(RRNodeId virtual_clock_network_root_idx);
739739

740+
/**
741+
* @brief Removes a given list of RRNodes from the RR Graph
742+
* This method should be called after partition_edges has been called.
743+
* @note This a very expensive method, so should be called only when necessary. It is better
744+
* to not add nodes in the first place, instead of relying on this method to remove nodes.
745+
*
746+
* @param nodes list of RRNodes to be removed
747+
*/
748+
void remove_nodes(const std::vector<RRNodeId>& nodes);
749+
740750
/****************
741751
* Edge methods *
742752
****************/

0 commit comments

Comments
 (0)