示例#1
0
 /// <summary>
 /// конструктор окна
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     knowlegeBase = XMLDataLoader.Deserialize();
     knowlegeBase.LoadRules();
     workMemory     = new WorkMemory(knowlegeBase.Facts);
     confirmedFacts = new List <Fact>();
     facts          = new List <string>();
     ExplW          = new ExplanationWindow();
     title          = string.Empty;
     Run();
 }
示例#2
0
 /// <summary>
 /// конструктор окна
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     knowlegeBase = XMLDataLoader.Deserialize();
     knowlegeBase.LoadRules();
     workMemory = new WorkMemory(knowlegeBase.Facts);
     confirmedFacts = new List<Fact>();
     facts = new List<string>();
     ExplW = new ExplanationWindow();
     title = string.Empty;
     Run();
 }