A non-segmented network of nodes.
The diameter (the longest among the shortest paths) in the Network.
The nodes that belong to this Network.
Returns true whether the Network contains the node passed as input.
Returns true whether the Network contains at least one of the nodes passed as input.
Returns a new Network obtained by adding the otherNetwork to this one.