SSJ  3.3.1
Stochastic Simulation in Java
Classes | Public Member Functions | Static Public Member Functions | Package Attributes | Static Package Attributes | List of all members
CallCenter Class Reference
Collaboration diagram for CallCenter:
[legend]

Classes

class  Arrival
 
class  Call
 
class  CallCompletion
 
class  NextPeriod
 

Public Member Functions

 CallCenter (String fileName) throws IOException
 
void readData (String dataFile) throws IOException
 
void checkQueue ()
 
double generPatience ()
 
void simulateOneDay (double busyness)
 
void simulateOneDay ()
 

Static Public Member Functions

static void main (String[] args) throws IOException
 

Package Attributes

double openingTime
 
int numPeriods
 
int [] numAgents
 
double [] lambda
 
double alpha0
 
double p
 
double nu
 
double alpha
 
double beta
 
double s
 
double busyness
 
double arrRate = 0.0
 
int nAgents
 
int nBusy
 
int nArrivals
 
int nAbandon
 
int nGoodQoS
 
double nCallsExpected
 
Event nextArrival = new Arrival()
 
LinkedList< CallwaitList = new LinkedList<Call>()
 
RandomStream streamB = new MRG32k3a()
 
RandomStream streamArr = new MRG32k3a()
 
RandomStream streamPatience = new MRG32k3a()
 
GammaGen genServ
 
Tally [] allTal = new Tally [4]
 
Tally statArrivals = allTal[0] = new Tally ("Number of arrivals per day")
 
Tally statWaits = allTal[1] = new Tally ("Average waiting time per customer")
 
Tally statGoodQoS = allTal[2] = new Tally ("Proportion of waiting times < s")
 
Tally statAbandon = allTal[3] = new Tally ("Proportion of calls lost")
 
Tally statWaitsDay = new Tally ("Waiting times within a day")
 

Static Package Attributes

static final double HOUR = 3600.0
 

The documentation for this class was generated from the following file: