Overview | Package | Class | Tree | Deprecated | Index | Help
| ContactCenters V. 0.9.9.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## umontreal.iro.lecuyer.contactcenters.msk
Class ParameterEstimator

    java.lang.Object
      umontreal.iro.lecuyer.contactcenters.msk.ParameterEstimator

    public class ParameterEstimator

extends Object

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

### ParameterEstimator

    public ParameterEstimator()

Method Detail

### setParamsFromDefault

    public 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`.

  Parameters:
    `par` - parameters of the given arrival process
    `defaultPar` - parameters of the default arrival process

### estimateParameters

    public static boolean estimateParameters(CallCenterParams ccParams)
                                      throws DistributionCreationException

  Estimates the parameters for each element in the call center parameter objects for which raw observations are specified. Returns `true` if at least one parameter has been estimated by this method.

  Parameters:
    `ccParams` - the call center parameters.
  Returns:
    true if method was successfull.
  Throws:
    `DistributionCreationException` - if an error occurs during the creation of a distribution.

### main

    public static void main(String[] args)

  Main method of this class taking, as arguments, the names of the input and the output files.

  Parameters:
    `args` - the arguments given to the program.
  Throws:
    `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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| ContactCenters V. 0.9.9.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

To submit a bug or ask questions, send an e-mail to Richard Simard.