예제 #1
0
        public MeasurePlanCellRelation GenerateMeasurePlanCellRelation(double trafficLoad)
        {
            MeasurePlanCellRelation mpcRelation = new MeasurePlanCellRelation
            {
                MainCell          = new MeasurePlanCell(Result.StrongestCell),
                InterferenceCells = new List <MeasurePlanCell>(),
                TrafficLoad       = trafficLoad,
                CoverPoints       = 1
            };

            foreach (MeasurableCell mcell
                     in CellRepository.CellList.Where(x => x != Result.StrongestCell))
            {
                mpcRelation.InterferenceCells.Add(new MeasurePlanCell(mcell));
            }

            return(mpcRelation);
        }
        public void TestInitialize()
        {
            MeasurePoint mPoint =
                FakeMeasurePoint.GenerateMeasurePoint(
                new IOutdoorCell[2] { mainCell, otherCell1 },
                new byte[2] { 2, 1 },
                new double[2] { -10, -12 });

            mpcRelation = mPoint.GenerateMeasurePlanCellRelation(0.1);
        }