Esempio n. 1
0
 private void UpdateData()
 {
     MySimulationData.BitsSend += (MySimulationData.FrameLength - 2 * MySimulationData.DecisionDepth) * SymbolLength;
     for (int i = MySimulationData.DecisionDepth; i < InputData.Count() - MySimulationData.DecisionDepth; i++)
     {
         var temp = InputData[i] ^ OutcomeData[i];
         MySimulationData.BitsLost += CalculateHammingWeight(temp);
     }
 }