Returns the number of vertices in the connected component containing vertex *v*.
(&self, v: usize)
| 62 | |
| 63 | /// Returns the number of vertices in the connected component containing vertex *v*. |
| 64 | pub fn size(&self, v: usize) -> usize { |
| 65 | self.size[self.id[v]] |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | impl CC { |
nothing calls this directly
no outgoing calls
no test coverage detected