Class RetransmissionLossUtility

    • Constructor Detail

      • RetransmissionLossUtility

        public RetransmissionLossUtility()
    • Method Detail

      • 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