Girth (source code)

= Girth
{wiki}

The girth of a graph containing a cycle is the length of its shortest cycle. A forest is conventionally assigned infinite girth.