Example #1
0
 public Vertice(VerticeDB datos)
 {
     Aristas  = new List <Arista>();
     Nombre   = datos.Nombre;
     Latitud  = datos.Latitud;
     Longitud = datos.Longitud;
 }
Example #2
0
 public bool CargarGrafo()
 {
     try
     {
         Vertices = VerticeDB.ConsultarVertices();
         CompletarGrafo();
         return(true);
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.ToString());
         return(false);
     }
 }