Esempio n. 1
0
 public Grafo()
 {
     ArregloDVertices   = new TablaHash <String, Vertice <T> >(40);
     MatrizDAdyacencias = new Arista <T> [TablaHash <String, Vertice <T> > .ObtenerPrimo(40), TablaHash <String, Vertice <T> > .ObtenerPrimo(40)];
 }
Esempio n. 2
0
 public Grafo(bool pDirigido)
 {
     this.EsDirigido    = pDirigido;
     ArregloDVertices   = new TablaHash <String, Vertice <T> >(40);
     MatrizDAdyacencias = new Arista <T> [TablaHash <String, Vertice <T> > .ObtenerPrimo(40), TablaHash <String, Vertice <T> > .ObtenerPrimo(40)];
 }