public void updateAnomalyMap(List <string> strings, Dictionary <string, List <float> > anomalyMap) { this.Xml_Csv_AnomalyMap = anomalyMap; this.selectedDatavalues = Xml_Csv_AnomalyMap[SelectedDataName]; this.findMostCorr = new FindCorrelation(SelectedDataName, selectedDatavalues); this.corrName = findMostCorr.findCrr(Xml_Csv_LearnMap, XmlDataNamesList); this.corrValues = Xml_Csv_AnomalyMap[corrName]; }
public void setMaps(Dictionary <string, List <float> > learnMap, List <string> strings, Dictionary <string, List <float> > AnomalyMap) { this.Xml_Csv_LearnMap = learnMap; this.Xml_Csv_AnomalyMap = AnomalyMap; this.XmlDataNamesList = strings; this.slectedDataName = XmlDataNamesList[0]; this.selectedDatavalues = Xml_Csv_AnomalyMap[XmlDataNamesList[0]]; this.maxTime = Xml_Csv_LearnMap[XmlDataNamesList[0]].Count; this.findMostCorr = new FindCorrelation(SelectedDataName, selectedDatavalues); this.corrName = findMostCorr.findCrr(Xml_Csv_LearnMap, XmlDataNamesList); this.corrValues = Xml_Csv_AnomalyMap[corrName]; }