group "ccmsk:Conditions"
Namespace:
Content:
10 elements
Defined:
globally in ccmsk.xsd, see XML source
Includes:
definitions of 10 elements
Used:
Complex Content Model
Content Elements (10):
Known Usage Locations
XML Source (w/o annotations (10); see schema source)
<xsd:group name="Conditions">
<xsd:choice>
<xsd:element name="either" type="ccmsk:ConditionParamsList">
</xsd:element>
<xsd:element name="all" type="ccmsk:ConditionParamsList">
</xsd:element>
<xsd:element name="queueSizes" type="ccmsk:TwoIndicesWithTypesParams">
</xsd:element>
</xsd:element>
<xsd:element name="numFreeAgents" type="ccmsk:TwoIndicesParams">
</xsd:element>
</xsd:element>
</xsd:element>
</xsd:element>
<xsd:element name="stat" type="ccmsk:StatConditionParams">
</xsd:element>
<xsd:element name="custom" type="ssj:Named">
</xsd:element>
</xsd:choice>
</xsd:group>
Content Element Detail
all
Verifies that all the contained conditions apply. This corresponds to an ``and'' operation.
Type:
ccmsk:ConditionParamsList, complex content
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="all" type="ccmsk:ConditionParamsList">
</xsd:element>

custom
Represents a user-defined condition. The name attribute gives the name of a class implementing the Condition interface from package umontreal.iro.lecuyer.contactcenters.msk.conditions. Eight signatures of constructors are looked for, in that order: (CallCenter, int, Map), (CallCenter, int), (CallCenter, Map), (int, Map), (CallCenter), (Map), (int), and () (no argument). The first matching constructor is used to create the function object. The CallCenter class comes from package umontreal.iro.lecuyer.contactcenters.msk.model, the integer corresponds to the index of the call type, and the map comes from java.util.

If the constructor accepts a map, it is given a map whose keys are of type String and values are of type Object. The given map is filled with the properties parsed from the prpoerties child element. This can be used to pass parameters to custom conditions.

Some conditions require complex state information, such as statistics observed during some time periods. In such cases, mechanisms need to be initialized at the beginning of simulation steps, and started during time intervals the condition is used. For this, the condition object might implement the Initializable and ToggleElement interfaces in package umontreal.iro.lecuyer.contactcenters. At the beginning of each step, the simulator calls init() on each initializable condition, then start() for each condition implementing ToggleElement.

Type:
ssj:Named, complex content
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="custom" type="ssj:Named">
</xsd:element>

either
Verifies that at least one of the contained conditions applies. This corresponds to an ``or'' operation.
Type:
ccmsk:ConditionParamsList, complex content
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="either" type="ccmsk:ConditionParamsList">
</xsd:element>

fracBusyAgents
Compares the fraction of busy agents in group with index given by the first attribute with that of the agent group identified by the second attribute. Fractions are computed relative to the total number of agents in the group, and the comparison is performed using the relationship given by the rel attribute. If the firstType attribute is given, the fraction of busy agents in the first group serving calls of the given type is used for comparison. Similarly, the fraction of busy agents of a given type in the second group is used if the secondType attribute is set.
Type:
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="fracBusyAgents" type="ccmsk:TwoIndicesWithTypesParams">
</xsd:element>

fracBusyAgentsThresh
Compares the fraction of busy agents in group with index given by the index attribute with the threshold given by the threshold attribute. The fraction is computed relative to the total number of agents in the group, and the comparison is performed using the relationship given by the rel attribute. Moreover, if the type attribute is set, the fraction of busy agents serving calls of a specific type is used rather than the fraction of all busy agents.
Type:
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="fracBusyAgentsThresh" type="ccmsk:IndexThreshWithTypeParams">
</xsd:element>

numFreeAgents
Compares the number of free agents in group with index given by the first attribute with that of the agent group identified by the second attribute. The comparison is performed using the relationship given by the rel attribute.
Type:
ccmsk:TwoIndicesParams, empty content
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="numFreeAgents" type="ccmsk:TwoIndicesParams">
</xsd:element>

numFreeAgentsThresh
Compares the number of free agents in group with index given by the index attribute with the threshold given by the threshold attribute. The comparison is performed using the relationship given by the rel attribute.
Type:
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="numFreeAgentsThresh" type="ccmsk:IndexThreshIntParams">
</xsd:element>

queueSizeThresh
Compares the waiting queue with index given by the index attribute with the threshold given by the threshold attribute using the relationship given by the rel attribute. If the type attribute is given as well, the number of calls of the given type is compared rather than the total number of calls in the queue.
Type:
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="queueSizeThresh" type="ccmsk:IndexThreshIntWithTypeParams">
</xsd:element>

queueSizes
Compares the waiting queue with index given by the first attribute with the waiting queue identified by the second attribute using the relationship given by the rel attribute. If the firstType attribute is given, the number of calls of the given type in the first queue is used rather than the total number of calls. The secondType attribute has a similar behavior, for the second queue.
Type:
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="queueSizes" type="ccmsk:TwoIndicesWithTypesParams">
</xsd:element>

stat
Establishes a condition on statistics concerning a given type of performance measure.
Type:
ccmsk:StatConditionParams, complex content
Defined:
locally, within (this) ccmsk:Conditions group
XML Source (w/o annotations (1); see schema source)
<xsd:element name="stat" type="ccmsk:StatConditionParams">
</xsd:element>

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