application/controllers/Ticketing.php
/**
     * Calculates interarrival time for a single queue M/M/1
     * @param $queue
     * @return float
     */
Calculates interarrival time for a single queue M/M/1
@param $queue
@return float
Calculates interarrival time for a single queue M / M / 1 @param $queue @return float
public function mean_interArrivalTime_single($queue)
    {
        $date = date('Y-m-d');
        $interarrivaltime = $this->ticketing_model->getInterArrivalTime($queue, $date);
        return $interarrivaltime;
    }
public function mean_interArrivalTime_single ( $ queue ) { $ date = date ( 'Y-m-d' ) ; $ interarrivaltime = $ this -> ticketing_model -> getInterArrivalTime ( $ queue , $ date ) ; return $ interarrivaltime ; }
Calculates interarrival time for a single queue M/M/1
 @param $queue
 @return float
Calculates interarrival time for a single queue M / M / 1 @param $queue @return float
// $values = array(); // $sum = Statistics::mean($interarrivaltime); // print_r($sum);