Example #1
0
 public Vertex(Figure c, int id)
 {
     this.id       = id;
     this.circle   = c;
     this.ListEdge = new List <Edge>();
 }
Example #2
0
 public Vertex(Vertex v)
 {
     this.id       = v.id;
     this.circle   = v.circle;
     this.ListEdge = new List <Edge>();
 }
Example #3
0
 public void addVertex(Figure circle, int id)
 {
     //cada nuevo circulo que entre se agregara al grafo
     listVertex.Add(new Vertex(circle, id));
 }