|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.msk.ParameterEstimator
public class ParameterEstimator
Estimates the parameters of a call center model. This class defines a main method that loads a parameter file, estimates the parameters for probability distribution with associated data, and writes a new file for the same model, with the estimated parameters.
Constructor Summary | |
---|---|
ParameterEstimator()
|
Method Summary | |
---|---|
static boolean |
estimateParameters(CallCenterParams ccParams)
Estimates the parameters for each element in the call center parameter objects for which raw observations are specified. |
static void |
main(String[] args)
Main method of this class taking, as arguments, the names of the input and the output files. |
static void |
setParamsFromDefault(ArrivalProcessParams par,
ArrivalProcessParams defaultPar)
If the basic parameters of arrival process par are not set, sets them to those of the default arrival process defPar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterEstimator()
Method Detail |
---|
public static void setParamsFromDefault(ArrivalProcessParams par, ArrivalProcessParams defaultPar)
par
- parameters of the given arrival processdefaultPar
- parameters of the default arrival processpublic static boolean estimateParameters(CallCenterParams ccParams) throws DistributionCreationException
ccParams
- the call center parameters.
DistributionCreationException
- if an error
occurs during the creation of a distribution.public static void main(String[] args)
args
- the arguments given to the program.
IOException
- if an I/O error occurs when reading or writing files.
ParserConfigurationException
- if an error occurs when parsing the XML file.
SAXException
- if an error occurs with SAX, when parsing the XML file.
TransformerException
- if an error occurs when creating the output XML file.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |