public Vertex RandomNeighbor(Vertex startVertex) { var edges = mapGraph.EdgeList(startVertex); return(edges[random.Next(edges.Count)].End); }