XML Schema "cc.xsd"
Target Namespace:

  http://www.iro.umontreal.ca/lecuyer/contactcenters

Components:

  4 local elements, 1 complexType

Schema Location:

  /u/simardr/java/contactcenters/source/umontreal/iro/lecuyer/schemas/cc.xsd, see XML source

Imports Schema:

  ssj.xsd [src]

Imported by Schemas (2):

  ccapp.xsd [src], ccmsk.xsd [src]

Annotation
Defines basic types usable by simulators of contact center. This schema defines a complex type representing parameters of random variate generators over multiple periods.

All Element Summary
defaultGen (type ssj:RandomVariateGenParams) | Defines the parameters of the default random variate generator.
Type: | ssj:RandomVariateGenParams
Content: | simple, 6 attributes
Defined: | locally at 1 location
periodGen (type extension of ssj:RandomVariateGenParams) | Defines the parameters of a random variate generator used during a specific main period of the time horizon.
Type: | embedded (extension of ssj:RandomVariateGenParams)
Content: | empty, 7 attributes
Defined: | locally at 1 location
Includes: | definition of 1 attribute
preGen (type ssj:RandomVariateGenParams) | Defines the parameters of the random variate generator used during the preliminary period.
Type: | ssj:RandomVariateGenParams
Content: | simple, 6 attributes
Defined: | locally at 1 location
wrapGen (type ssj:RandomVariateGenParams) | Defines the parameters of the random variate generator used during the wrap-up period.
Type: | ssj:RandomVariateGenParams
Content: | simple, 6 attributes
Defined: | locally at 1 location

Complex Type Summary
cc:MultiPeriodGenParams | Represents parameters for a random variate generator over multiple periods.
Content: | complex, 6 attributes, 4 elements
Includes: | definitions of 6 attributes and 4 elements
Used: | at 6 locations

XML Source

<?xml version="1.0"?> <xsd:schema elementFormDefault="unqualified" jxb:version="2.0" targetNamespace="http://www.iro.umontreal.ca/lecuyer/contactcenters" xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http://www.iro.umontreal.ca/lecuyer/contactcenters" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:ssj="http://www.iro.umontreal.ca/lecuyer/ssj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:annotation> <xsd:documentation> Defines basic types usable by simulators of contact center. This schema defines a complex type representing parameters of random variate generators over multiple periods. </xsd:documentation> <xsd:appinfo> <jxb:schemaBindings> <jxb:package name="umontreal.iro.lecuyer.contactcenters.params"> <jxb:javadoc> <![CDATA[ Defines basic types usable by simulators of contact center. This package contains JAXB-derived classes for XML namespace <tt>http://www.iro.umontreal.ca/lecuyer/contactcenters</tt>. ]]> </jxb:javadoc> </jxb:package> </jxb:schemaBindings> </xsd:appinfo> </xsd:annotation> <xsd:import namespace="http://www.iro.umontreal.ca/lecuyer/ssj" schemaLocation="ssj.xsd"/> <xsd:complexType name="MultiPeriodGenParams"> <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 &lt; 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> <xsd:element maxOccurs="1" minOccurs="0" name="defaultGen" type="ssj:RandomVariateGenParams"> <xsd:annotation> <xsd:documentation> Defines the parameters of the default random variate generator. These parameters are used when the number of main periods exceeds the number of per-period parameters specified. This can also be used to specify a generator used for all periods. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element maxOccurs="1" minOccurs="0" name="preGen" type="ssj:RandomVariateGenParams"> <xsd:annotation> <xsd:documentation> Defines the parameters of the random variate generator used during the preliminary period. If this element is omitted, the generator of the first main period is used during preliminary period. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element maxOccurs="1" minOccurs="0" name="wrapGen" type="ssj:RandomVariateGenParams"> <xsd:annotation> <xsd:documentation> Defines the parameters of the random variate generator used during the wrap-up period. If this element is omitted, the generator of the last main period is used during wrap-up period. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element maxOccurs="unbounded" minOccurs="0" name="periodGen"> <xsd:annotation> <xsd:documentation> Defines the parameters of a random variate generator used during a specific main period of the time horizon. For convenience, parameters can be repeated more than once for successive main periods by using the <tt>repeat</tt> attribute. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="ssj:RandomVariateGenParams"> <xsd:attribute default="1" name="repeat" type="ssj:nonNegativeInt"> <xsd:annotation> <xsd:documentation> Gives the number of successive main periods for which this set of parameters is reused. Repeating the parameters using this attribute results in a single random variate generator being created and reused for the concerned periods; this can be useful to reduce memory usage. If this attribute is omitted, this set of parameters is repeated only once. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="distributionClass" type="xsd:string"> <xsd:annotation> <xsd:documentation> Gives the default Java class name for the probability distribution. This attribute is inherited by children of this element if they do not specify it. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="generatorClass" type="xsd:string"> <xsd:annotation> <xsd:documentation> Gives the default Java class name for the random variate generator. This attribute is inherited by children of this element if they do not specify it. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="shift" type="xsd:double"> <xsd:annotation> <xsd:documentation> Gives the default shift subtracted to any generated value. This attribute is inherited by children of this element if they do not specify it. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="false" name="estimateParameters" type="xsd:boolean"> <xsd:annotation> <xsd:documentation> Determines if parameter estimation needs to be performed by default. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="unit" type="ssj:TimeUnitParam"> <xsd:annotation> <xsd:documentation> Defines the time unit in which generated values are expressed. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="1" name="mult" type="ssj:nonNegativeDouble"> <xsd:annotation> <xsd:documentation> Determines the multiplier applied to each random value generated by this multi-period generator. This multiplier can be used to change the mean of the random variates without altering each period-specific distribution. The default value of the multiplier is 1. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:schema>

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.8 DocFlex/XML (Kit) is a freeware edition of DocFlex/XML, which is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else! Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task! Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com