public Khoi() { n = 0; mang = new string[0, 0]; target = new Target(); f = 0; g = 0; h = 0; parent = null; }
static void Input() { n = int.Parse(Console.ReadLine()); // Nhập n nguon = new Khoi(n, new string [n + 1, n + 1]); // (bỏ 0) và đi 1=>n dich = new Khoi(n, new string [n + 1, n + 1]); dich.ToDich(); //nguon.ToNguon(dich); nguon.ToNguon_Example(dich); }
public Khoi(Khoi another) { this.n = another.n; this.mang = CopyMang(another); this.target = another.target; this.f = another.f; this.g = another.g; this.h = another.h; this.parent = another.parent; }