Ejemplo n.º 1
0
 /// <summary>
 /// Read input data from text file.
 /// </summary>
 private void ReadingTextFile()
 {
     int NumberOfVertex = GetNumberFromLine();
     NumberOfRobots = GetNumberFromLine();
     ArrayOfRobots = new bool[NumberOfVertex];
     CreateArrayOfRobots();
     Graph = new GraphOfNetwork(NumberOfVertex);
     CreateGraph();
 }
 public void Initialize()
 {
     graph = new GraphOfNetwork(5);
 }