Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RandomCallGenerator"/> class.
 /// </summary>
 /// <param name="randomSeed">The random seed to use when generating data.</param>
 /// <param name="speedMean">The call travelling speed distribution mean.</param>
 /// <param name="speedDeviation">The call travelling speed distribution deviation.</param>
 /// <param name="interArrivalMean">The mean value of the inter arrival time of calls.</param>
 /// <param name="durationMean">The mean value of the call duration distribution.</param>
 /// <param name="callPosPeak">The peak, or mode, value of the call position distribution</param>
 /// <param name="callPosStart"></param>
 /// <param name="callPosEnd"></param>
 public RandomCallGenerator(
     uint randomSeed,
     double callPosStart,
     double callPosEnd,
     double callPosPeak,
     double speedMean,
     double speedDeviation,
     double interArrivalMean,
     double durationMean)
 {
     _callPosStart     = callPosStart;
     _callPosEnd       = callPosEnd;
     _callPosPeak      = callPosPeak;
     _speedMean        = speedMean;
     _speedDeviation   = speedDeviation;
     _interArrivalMean = interArrivalMean;
     _durationMean     = durationMean;
     _random           = new RandomExtender(randomSeed);
 }