vpr/src/device/rr_graph_obj.cpp
/* Empty all the vectors related to nodes */
Empty all the vectors related to nodes
Empty all the vectors related to nodes
void RRGraph::clear_nodes() {
    num_nodes_ = 0;
    node_types_.clear();
    node_bounding_boxes_.clear();
    node_capacities_.clear();
    node_ptc_nums_.clear();
    node_cost_indices_.clear();
    node_directions_.clear();
    node_sides_.clear();
    node_Rs_.clear();
    node_Cs_.clear();
    node_rc_data_indices_.clear();
    node_segments_.clear();
    node_num_in_edges_.clear();
    node_num_out_edges_.clear();
    node_num_non_configurable_in_edges_.clear();
    node_num_non_configurable_out_edges_.clear();
    node_edges_.clear();
    node_lookup_.clear();
}
void RRGraph :: clear_nodes ( ) { num_nodes_ = 0 ; node_types_ . clear ( ) ; node_bounding_boxes_ . clear ( ) ; node_capacities_ . clear ( ) ; node_ptc_nums_ . clear ( ) ; node_cost_indices_ . clear ( ) ; node_directions_ . clear ( ) ; node_sides_ . clear ( ) ; node_Rs_ . clear ( ) ; node_Cs_ . clear ( ) ; node_rc_data_indices_ . clear ( ) ; node_segments_ . clear ( ) ; node_num_in_edges_ . clear ( ) ; node_num_out_edges_ . clear ( ) ; node_num_non_configurable_in_edges_ . clear ( ) ; node_num_non_configurable_out_edges_ . clear ( ) ; node_edges_ . clear ( ) ; node_lookup_ . clear ( ) ; }
Empty all the vectors related to nodes
Empty all the vectors related to nodes
/* clean node_look_up */