Research Article
Detection Performance of Packet Arrival under Downclocking for Mobile Edge Computing
Algorithm 1
Calculation of
based on the Monte Carlo method.
//Input: | //Output: | //We run the code below for 100000 times. | | while () | Generate a CGS randomly | [CGS, CGS,,CGS | “measured”) | Sample every points | Calculate and | the total number of sampling points that satisfy Condition 1. | | the total number of sampling points that satisfy Condition 2. | | | end | //We first calculate and , then . | |
|