component identifier for v ( between 0 and count()-1 )
(&self, v: usize)
| 57 | /// component identifier for v |
| 58 | /// ( between 0 and count()-1 ) |
| 59 | pub fn id(&self, v: usize) -> usize { |
| 60 | self.id[v] |
| 61 | } |
| 62 | |
| 63 | /// Returns the number of vertices in the connected component containing vertex *v*. |
| 64 | pub fn size(&self, v: usize) -> usize { |
nothing calls this directly
no outgoing calls
no test coverage detected