private static void InitStatisticalAnalysis() { string strDateTime = DateTime.Now.Year.ToString() + "_" + DateTime.Now.Month.ToString() + "_" + DateTime.Now.Day.ToString(); string strContentAnalysisFile = System.Environment.CurrentDirectory + "\\" + "ContentAnalysis_" + strDateTime; ContentAnalysis.LoadContentAnalysisHistory(strContentAnalysisFile); string strUrlAnalysisFile = System.Environment.CurrentDirectory + "\\" + "UrlAnalysis_" + strDateTime; UrlAnalysis.LoadUrlAnalysisHistory(strUrlAnalysisFile); }
public static Thread LoadBehaviorFeatureHistoryThread; //加载行为特征值的文件 /* #region ContentClassificationThread * public static void StartContentClassificationThread() * { * ContentClassification contentCf = new ContentClassification(); * ContentClassificationThread = new Thread(new ThreadStart(contentCf.ClassifyProcess)); * ContentClassificationThread.Start(); * } * public static void AbortContentClassificationThread() * { * ContentClassificationThread.Abort(); * } #endregion */ /* #region EmotionClassificationThread * public static void StartEmotionClassificationThread() * { * EmotionClassification emotionCf = new EmotionClassification(); * EmotionClassificationThread = new Thread(new ThreadStart(emotionCf.ClassifyProcess)); * EmotionClassificationThread.Start(); * } * public static void AbortEmotionClassificationThread() * { * EmotionClassificationThread.Abort(); * } #endregion */ #region BehaviorAnalysisThread public static void StartBehaviorAnalysisThread() { UrlAnalysis url = new UrlAnalysis(); BehaviorAnalysisThread = new Thread(new ThreadStart(url.AnalysisCurrentHistory)); }
public static void StartBehaviorAnalysisThread() { UrlAnalysis url = new UrlAnalysis(); BehaviorAnalysisThread = new Thread(new ThreadStart(url.AnalysisCurrentHistory)); }