| DegreesOfSeparation Methods |
The DegreesOfSeparation type exposes the following members.
| Name | Description | |
|---|---|---|
| MainTest | Reads in a social network from a file, and then repeatedly reads in
individuals from standard input and prints out their degrees of
separation.
Takes three command-line arguments: the name of a file,
a delimiter, and the name of the distinguished individual.
Each line in the file contains the name of a vertex, followed by a
list of the names of the vertices adjacent to that vertex,
separated by the delimiter. |