| 1665 | } |
| 1666 | |
| 1667 | void TxGraphImpl::DeleteCluster(Cluster& cluster, int level) noexcept |
| 1668 | { |
| 1669 | // Extract the cluster from where it currently resides. |
| 1670 | auto cluster_ptr = ExtractCluster(level, cluster.m_quality, cluster.m_setindex); |
| 1671 | // And throw it away. |
| 1672 | cluster_ptr.reset(); |
| 1673 | } |
| 1674 | |
| 1675 | std::pair<Cluster*, int> TxGraphImpl::FindClusterAndLevel(GraphIndex idx, int level) const noexcept |
| 1676 | { |