private void EndClear() { this.m_DataManager.SaveResults(); this.m_BestServerSuite = null; this.m_BinSuite = null; this.m_DataManager = null; this.m_LinkPrediction = null; GC.Collect(); }
private void InitialSuite() { this.m_BestServerSuite = new CellSearchSuite(this.m_DataManager, this.m_LinkPrediction, this.m_Interfaces, this.m_ProgressHandle); this.m_BestServerSuite.IsFirstSuite = true; this.m_BinSuite = new BinSearchSuite(this.m_DataManager, this.m_Interfaces, this.m_LinkPrediction, this.m_ProgressHandle); }
public bool DataPrepare(CellSearchSuite bestServerSuite, BinSearchSuite analyseCaseSuite, ILTELinkLossCalculator linkLoss, GeoPolygonRegion region, bool isRF) { this.m_ProgressHandle.SetProgress(LTEPredictionResource.PREDICTION_PROGRESS_READCELL, 11); this.InitialCalcCells(region); if (this.CalcLTECells.TranceiverInfos.Count == 0) { return false; } this.InitialCalCarriers(this.m_CalcLTECells); this.m_ProgressHandle.SetProgress(LTEPredictionResource.PREDICTION_PROGRESS_READPATHLOSS, 12); this.UpdateCalcCellsPropLoss(); if (!bool.Parse(this.m_PathLossCalStatus)) { return bool.Parse(this.m_PathLossCalStatus); } this.m_ProgressHandle.SetProgress(LTEPredictionResource.PREDICTION_PROGRESS_POLYGON, 13); this.InitialTrueFalseMatrixByRegion(region); bestServerSuite.InitialThreadCount(); analyseCaseSuite.InitialThreadCount(); this.GetBlockCellInfoColl(bestServerSuite.ThreadCount, region); this.m_TFMatrix.CreateMatrixBlock(bestServerSuite.ThreadCount); this.m_ProgressHandle.SetProgress(LTEPredictionResource.PREDICTION_PROGRESS_INITIDATA, 14); this.InitialRxPowerValueMatrixDic(isRF); this.InitialDLSameInterfere(); this.InitialInterfereForPDCCH(); this.InitialValueMatrix(region); Dictionary<int, MCS> mCSDic = this.m_Interfaces.ITrafficMCS.GetMCSDic(LinkType.Downlink); Dictionary<int, MCS> dictionary2 = this.m_Interfaces.ITrafficMCS.GetMCSDic(LinkType.Uplink); this.m_Group.MCSDLDictionary = new Dictionary<int, MCS>(); this.m_Group.MCSULDictionary = new Dictionary<int, MCS>(); foreach (int num in mCSDic.Keys) { this.m_Group.MCSDLDictionary[num] = mCSDic[num]; } foreach (int num in dictionary2.Keys) { this.m_Group.MCSULDictionary[num] = dictionary2[num]; } return true; }