示例#1
0
 public void Simulate()
 {
     while (MySimulationData.BitsLost < 100)
     {
         GenerateData();
         int[] _tempInputData = new int[MySimulationData.FrameLength]; InputData.CopyTo(_tempInputData, 0);
         RunTransmitter(_tempInputData, MySimulationData.FrameLength, RealData, ImagData, MySimulationData.CodingMode.Index, MySimulationData.ModulationMode.Index);
         RollEngine.RollNoise(RealData, ImagData, MySimulationData.SNR);
         RunReceiver(OutcomeData, MySimulationData.FrameLength, RealData, ImagData, MySimulationData.DecisionDepth, MySimulationData.CodingMode.Index, MySimulationData.ModulationMode.Index);
         UpdateData();
     }
 }