protected void save_FS(TSAFuzzySystem FS, string Name_alg) { if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } string file_name = DateTime.Now.ToLongDateString() + " " + DateTime.Now.TimeOfDay.ToString("hh','mm','ss") + " (" + Thread.CurrentThread.ManagedThreadId.ToString() + ")" + "[" + FS.ValueComplexity().ToString() + "]{" + Name_alg + "}.ufs"; TSAFSUFSWriter.saveToUFS(FS, path + file_name); // SAFSUFSWriter.Knowledge_base_Jsonto(FS.RulesDatabaseSet[0],fileName+".json"); }