Class RetransmissionLossUtility

java.lang.Object
org.eclipse.mosaic.fed.cell.utility.RetransmissionLossUtility

public class RetransmissionLossUtility extends Object
Cellular Pr/Pl utility to determine packet retransmission and loss in regions. (relies on the logic of the common TransmissionModel.simulateTransmission(org.eclipse.mosaic.lib.math.RandomNumberGenerator, double, int) in MOSAIC-communication)
  • Constructor Details

    • RetransmissionLossUtility

      public RetransmissionLossUtility()
  • Method Details

    • determineTransmissionAttempts

      public static TransmissionResult determineTransmissionAttempts(RandomNumberGenerator rng, CNetworkProperties region, TransmissionMode mode)
      Determine the number and success of the transmission attempts for the given message in the according region with the help of the DirectTransmission.
      Parameters:
      region - Region where the node is located
      mode - Transmission mode (up, down, - uni,multi)
      Returns:
      TransmissionResult, which includes number of attempts and success