| 22 | } |
| 23 | |
| 24 | void EdgeVector::Clear() noexcept { |
| 25 | src_node_list_.clear(); |
| 26 | dst_node_list_.clear(); |
| 27 | weight_list_.clear(); |
| 28 | |
| 29 | adj_node_list_.clear(); |
| 30 | adj_edge_list_.clear(); |
| 31 | |
| 32 | src_indexing_.Clear(); |
| 33 | dst_indexing_.Clear(); |
| 34 | } |
| 35 | |
| 36 | void EdgeVector::Reserve(uint64_t estimated_size) { |
| 37 | src_node_list_.reserve(estimated_size); |