<xsd:annotation>
<xsd:documentation>
Represents parameters for a random variate generator over
multiple periods. Such a generator is defined by specifying
a random variate generator for each main period of the time
horizon, using
<tt>periodGen</tt>
elements. One can also give a specific generator for the
preliminary and wrap-up periods using
<tt>preGen</tt>
, and
<tt>wrapGen,</tt>
respectively. For more convenience, this type defines
attributes for the distribution class, generator class,
parameter estimation, and shift that are inherited by child
elements. This permits one to omit these attributes in the
child elements corresponding to parameters of random variate
generators. A
<tt>repeat</tt>
attribute can also be used to duplicate the same parameters
over several successive periods. Moreover, the default
distribution, if given using the
<tt>defaultGen</tt>
element, is used as follows by the simulator. Let
<i>P</i>
be the total number of main periods of the time horizon. If
at least
<i>P</i>
period-specific sets of parameters are available, the first
<tt>P</tt>
sets are used to construct the generator. Otherwise, the
<i>Q < P</i>
available sets of parameters are used, and the default set
of parameters is used
<i>P - Q</i>
times to replace missing sets of parameters.
<p>
Variates can be transformed after they are generated.
First, they are converted from the unit given by
<tt>unit</tt>
to the default time unit used by the application. Then,
they are multiplied by the factor given by the
<tt>mult</tt>
attribute. They may also be multiplied by other factors
depending on the role of the random variates.
</p>
<p>
The class
<tt>CCParamReadHelper</tt>
in package
<tt>umontreal.iro.lecuyer.contactcenters</tt>
provides helper methods to create a random variate
generator for multiple periods from any instance of the
class derived by JAXB from this complex type.
</p>
<p>
For example, let
<tt>mpg</tt>
be an element representing a random variate generator
over multiple periods. The following XML code describes a
random variate generator with parameters depending on the
main period.
</p>
<pre>
<![CDATA[
<mpg distributionClass="ExponentialDist" unit="MINUTE">
<defaultGen>10</defaultGen> <periodGen repeat="3">5</periodGen>
</mpg>
]]>
</pre>
<p>
The
<tt>distributionClass</tt>
attribute of
<tt>mpg</tt>
is inherited by
<tt>defaultGen</tt>
and
<tt>periodGen</tt>
elements so every period-specific distribution is
exponential. The mean is 1/3min for the first three
periods while it is 1/10min for the other periods.
</p>
</xsd:documentation>
<xsd:appinfo>
<jxb:class>
<jxb:javadoc>
Represents parameters for a random variate generator
over multiple periods.
</jxb:javadoc>
</jxb:class>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>