Passed
Push — master ( f1e3b2...b13a8b )
by Peter
01:02
created

ore.models.xml_fuzztree._BuildAutomaton_21()   B

Complexity

Conditions 1

Size

Total Lines 41
Code Lines 39

Duplication

Lines 41
Ratio 100 %

Importance

Changes 0
Metric Value
eloc 39
dl 41
loc 41
rs 8.9439
c 0
b 0
f 0
cc 1
nop 0
1
# ore/models/xml_fuzztree.py
2
# -*- coding: utf-8 -*-
3
# PyXB bindings for NM:4e577dc0c998265d17f355c47a293bafde28b966
4
# Generated 2019-01-09 14:06:28.492298 by PyXB version 1.2.6 using Python 2.7.15.candidate.1
5
# Namespace net.fuzztree
6
7
from __future__ import unicode_literals
8
import pyxb
9
import pyxb.binding
10
import pyxb.binding.saxer
11
import io
12
import pyxb.utils.utility
13
import pyxb.utils.domutils
14
import sys
15
import pyxb.utils.six as _six
16
# Unique identifier for bindings created at the same time
17
_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:c1f84e9a-1417-11e9-9981-0242c0a83004')
18
19
# Version of PyXB used to generate the bindings
20
_PyXBVersion = '1.2.6'
21
# Generated bindings are not compatible across PyXB versions
22
if pyxb.__version__ != _PyXBVersion:
23
    raise pyxb.PyXBVersionError(_PyXBVersion)
24
25
# A holder for module-level binding classes so we can access them from
26
# inside class definitions where property names may conflict.
27
_module_typeBindings = pyxb.utils.utility.Object()
28
29
# Import bindings for namespaces imported into schema
30
import pyxb.binding.datatypes
31
32
# NOTE: All namespace declarations are reserved within the binding
33
Namespace = pyxb.namespace.NamespaceForURI('net.fuzztree', create_if_missing=True)
34
Namespace.configureCategories(['typeBinding', 'elementBinding'])
35
36
def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
37
    """Parse the given XML and use the document element to create a
38
    Python instance.
39
40
    @param xml_text An XML document.  This should be data (Python 2
41
    str or Python 3 bytes), or a text (Python 2 unicode or Python 3
42
    str) in the L{pyxb._InputEncoding} encoding.
43
44
    @keyword default_namespace The L{pyxb.Namespace} instance to use as the
45
    default namespace where there is no default namespace in scope.
46
    If unspecified or C{None}, the namespace of the module containing
47
    this function will be used.
48
49
    @keyword location_base: An object to be recorded as the base of all
50
    L{pyxb.utils.utility.Location} instances associated with events and
51
    objects handled by the parser.  You might pass the URI from which
52
    the document was obtained.
53
    """
54
55
    if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
56
        dom = pyxb.utils.domutils.StringToDOM(xml_text)
57
        return CreateFromDOM(dom.documentElement, default_namespace=default_namespace)
58
    if default_namespace is None:
59
        default_namespace = Namespace.fallbackNamespace()
60
    saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
61
    handler = saxer.getContentHandler()
62
    xmld = xml_text
63
    if isinstance(xmld, _six.text_type):
64
        xmld = xmld.encode(pyxb._InputEncoding)
65
    saxer.parse(io.BytesIO(xmld))
66
    instance = handler.rootObject()
67
    return instance
68
69
def CreateFromDOM (node, default_namespace=None):
70
    """Create a Python instance from the given DOM node.
71
    The node tag must correspond to an element declaration in this module.
72
73
    @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
74
    if default_namespace is None:
75
        default_namespace = Namespace.fallbackNamespace()
76
    return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
77
78
79
# Complex type {net.fuzztree}Annotation with content type EMPTY
80
class Annotation (pyxb.binding.basis.complexTypeDefinition):
81
    """Complex type {net.fuzztree}Annotation with content type EMPTY"""
82
    _TypeDefinition = None
83
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
84
    _Abstract = True
85
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Annotation')
86
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 5, 4)
87
    _ElementMap = {}
88
    _AttributeMap = {}
89
    # Base type is pyxb.binding.datatypes.anyType
90
    _ElementMap.update({
91
        
92
    })
93
    _AttributeMap.update({
94
        
95
    })
96
_module_typeBindings.Annotation = Annotation
97
Namespace.addCategoryObject('typeBinding', 'Annotation', Annotation)
98
99
100
# Complex type {net.fuzztree}Probability with content type EMPTY
101
class Probability (pyxb.binding.basis.complexTypeDefinition):
102
    """Complex type {net.fuzztree}Probability with content type EMPTY"""
103
    _TypeDefinition = None
104
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
105
    _Abstract = True
106
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Probability')
107
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 6, 4)
108
    _ElementMap = {}
109
    _AttributeMap = {}
110
    # Base type is pyxb.binding.datatypes.anyType
111
    _ElementMap.update({
112
        
113
    })
114
    _AttributeMap.update({
115
        
116
    })
117
_module_typeBindings.Probability = Probability
118
Namespace.addCategoryObject('typeBinding', 'Probability', Probability)
119
120
121
# Complex type {net.fuzztree}AnnotatedElement with content type ELEMENT_ONLY
122
class AnnotatedElement (pyxb.binding.basis.complexTypeDefinition):
123
    """Complex type {net.fuzztree}AnnotatedElement with content type ELEMENT_ONLY"""
124
    _TypeDefinition = None
125
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
126
    _Abstract = True
127
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'AnnotatedElement')
128
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 8, 4)
129
    _ElementMap = {}
130
    _AttributeMap = {}
131
    # Base type is pyxb.binding.datatypes.anyType
132
    
133
    # Element annotations uses Python identifier annotations
134
    __annotations = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'annotations'), 'annotations', '__net_fuzztree_AnnotatedElement_annotations', True, pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12), )
135
136
    
137
    annotations = property(__annotations.value, __annotations.set, None, None)
138
139
    
140
    # Attribute id uses Python identifier id
141
    __id = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'id'), 'id', '__net_fuzztree_AnnotatedElement_id', pyxb.binding.datatypes.string, required=True)
142
    __id._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 12, 8)
143
    __id._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 12, 8)
144
    
145
    id = property(__id.value, __id.set, None, None)
146
147
    
148
    # Attribute name uses Python identifier name
149
    __name = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'name'), 'name', '__net_fuzztree_AnnotatedElement_name', pyxb.binding.datatypes.string)
150
    __name._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 13, 8)
151
    __name._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 13, 8)
152
    
153
    name = property(__name.value, __name.set, None, None)
154
155
    _ElementMap.update({
156
        __annotations.name() : __annotations
157
    })
158
    _AttributeMap.update({
159
        __id.name() : __id,
160
        __name.name() : __name
161
    })
162
_module_typeBindings.AnnotatedElement = AnnotatedElement
163
Namespace.addCategoryObject('typeBinding', 'AnnotatedElement', AnnotatedElement)
164
165
166
# Complex type {net.fuzztree}DoubleToIntervalMap with content type ELEMENT_ONLY
167
class DoubleToIntervalMap_ (pyxb.binding.basis.complexTypeDefinition):
168
    """Complex type {net.fuzztree}DoubleToIntervalMap with content type ELEMENT_ONLY"""
169
    _TypeDefinition = None
170
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
171
    _Abstract = False
172
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'DoubleToIntervalMap')
173
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 236, 4)
174
    _ElementMap = {}
175
    _AttributeMap = {}
176
    # Base type is pyxb.binding.datatypes.anyType
177
    
178
    # Element value uses Python identifier value_
179
    __value = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'value'), 'value_', '__net_fuzztree_DoubleToIntervalMap__value', False, pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 238, 12), )
180
181
    
182
    value_ = property(__value.value, __value.set, None, None)
183
184
    
185
    # Attribute key uses Python identifier key
186
    __key = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'key'), 'key', '__net_fuzztree_DoubleToIntervalMap__key', pyxb.binding.datatypes.double, required=True)
187
    __key._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 240, 8)
188
    __key._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 240, 8)
189
    
190
    key = property(__key.value, __key.set, None, None)
191
192
    _ElementMap.update({
193
        __value.name() : __value
194
    })
195
    _AttributeMap.update({
196
        __key.name() : __key
197
    })
198
_module_typeBindings.DoubleToIntervalMap_ = DoubleToIntervalMap_
199
Namespace.addCategoryObject('typeBinding', 'DoubleToIntervalMap', DoubleToIntervalMap_)
200
201
202
# Complex type {net.fuzztree}Interval with content type EMPTY
203
class Interval_ (pyxb.binding.basis.complexTypeDefinition):
204
    """Complex type {net.fuzztree}Interval with content type EMPTY"""
205
    _TypeDefinition = None
206
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
207
    _Abstract = False
208
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Interval')
209
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 244, 4)
210
    _ElementMap = {}
211
    _AttributeMap = {}
212
    # Base type is pyxb.binding.datatypes.anyType
213
    
214
    # Attribute lowerBound uses Python identifier lowerBound
215
    __lowerBound = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'lowerBound'), 'lowerBound', '__net_fuzztree_Interval__lowerBound', pyxb.binding.datatypes.double, required=True)
216
    __lowerBound._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 245, 8)
217
    __lowerBound._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 245, 8)
218
    
219
    lowerBound = property(__lowerBound.value, __lowerBound.set, None, None)
220
221
    
222
    # Attribute upperBound uses Python identifier upperBound
223
    __upperBound = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'upperBound'), 'upperBound', '__net_fuzztree_Interval__upperBound', pyxb.binding.datatypes.double, required=True)
224
    __upperBound._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 246, 8)
225
    __upperBound._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 246, 8)
226
    
227
    upperBound = property(__upperBound.value, __upperBound.set, None, None)
228
229
    _ElementMap.update({
230
        
231
    })
232
    _AttributeMap.update({
233
        __lowerBound.name() : __lowerBound,
234
        __upperBound.name() : __upperBound
235
    })
236
_module_typeBindings.Interval_ = Interval_
237
Namespace.addCategoryObject('typeBinding', 'Interval', Interval_)
238
239
240
# Complex type {net.fuzztree}Model with content type ELEMENT_ONLY
241
class Model (AnnotatedElement):
242
    """Complex type {net.fuzztree}Model with content type ELEMENT_ONLY"""
243
    _TypeDefinition = None
244
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
245
    _Abstract = True
246
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Model')
247
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 16, 4)
248
    _ElementMap = AnnotatedElement._ElementMap.copy()
249
    _AttributeMap = AnnotatedElement._AttributeMap.copy()
250
    # Base type is AnnotatedElement
251
    
252
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
253
    
254
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
255
    
256
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
257
    _ElementMap.update({
258
        
259
    })
260
    _AttributeMap.update({
261
        
262
    })
263
_module_typeBindings.Model = Model
264
Namespace.addCategoryObject('typeBinding', 'Model', Model)
265
266
267
# Complex type {net.fuzztree}Node with content type ELEMENT_ONLY
268
class Node (AnnotatedElement):
269
    """Complex type {net.fuzztree}Node with content type ELEMENT_ONLY"""
270
    _TypeDefinition = None
271
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
272
    _Abstract = True
273
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Node')
274
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 23, 4)
275
    _ElementMap = AnnotatedElement._ElementMap.copy()
276
    _AttributeMap = AnnotatedElement._AttributeMap.copy()
277
    # Base type is AnnotatedElement
278
    
279
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
280
    
281
    # Element children uses Python identifier children
282
    __children = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'children'), 'children', '__net_fuzztree_Node_children', True, pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20), )
283
284
    
285
    children = property(__children.value, __children.set, None, None)
286
287
    
288
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
289
    
290
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
291
    
292
    # Attribute x uses Python identifier x
293
    __x = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'x'), 'x', '__net_fuzztree_Node_x', pyxb.binding.datatypes.int)
294
    __x._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 29, 16)
295
    __x._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 29, 16)
296
    
297
    x = property(__x.value, __x.set, None, None)
298
299
    
300
    # Attribute y uses Python identifier y
301
    __y = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'y'), 'y', '__net_fuzztree_Node_y', pyxb.binding.datatypes.int)
302
    __y._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 30, 16)
303
    __y._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 30, 16)
304
    
305
    y = property(__y.value, __y.set, None, None)
306
307
    _ElementMap.update({
308
        __children.name() : __children
309
    })
310
    _AttributeMap.update({
311
        __x.name() : __x,
312
        __y.name() : __y
313
    })
314
_module_typeBindings.Node = Node
315
Namespace.addCategoryObject('typeBinding', 'Node', Node)
316
317
318
# Complex type {net.fuzztree}CrispProbability with content type EMPTY
319
class CrispProbability (Probability):
320
    """Complex type {net.fuzztree}CrispProbability with content type EMPTY"""
321
    _TypeDefinition = None
322
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
323
    _Abstract = False
324
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'CrispProbability')
325
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 63, 4)
326
    _ElementMap = Probability._ElementMap.copy()
327
    _AttributeMap = Probability._AttributeMap.copy()
328
    # Base type is Probability
329
    
330
    # Attribute value uses Python identifier value_
331
    __value = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'value'), 'value_', '__net_fuzztree_CrispProbability_value', pyxb.binding.datatypes.double, required=True)
332
    __value._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 66, 16)
333
    __value._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 66, 16)
334
    
335
    value_ = property(__value.value, __value.set, None, None)
336
337
    _ElementMap.update({
338
        
339
    })
340
    _AttributeMap.update({
341
        __value.name() : __value
342
    })
343
_module_typeBindings.CrispProbability = CrispProbability
344
Namespace.addCategoryObject('typeBinding', 'CrispProbability', CrispProbability)
345
346
347
# Complex type {net.fuzztree}FailureRate with content type EMPTY
348
class FailureRate_ (Probability):
349
    """Complex type {net.fuzztree}FailureRate with content type EMPTY"""
350
    _TypeDefinition = None
351
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
352
    _Abstract = False
353
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'FailureRate')
354
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 72, 4)
355
    _ElementMap = Probability._ElementMap.copy()
356
    _AttributeMap = Probability._AttributeMap.copy()
357
    # Base type is Probability
358
    
359
    # Attribute value uses Python identifier value_
360
    __value = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'value'), 'value_', '__net_fuzztree_FailureRate__value', pyxb.binding.datatypes.double, required=True)
361
    __value._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 75, 16)
362
    __value._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 75, 16)
363
    
364
    value_ = property(__value.value, __value.set, None, None)
365
366
    _ElementMap.update({
367
        
368
    })
369
    _AttributeMap.update({
370
        __value.name() : __value
371
    })
372
_module_typeBindings.FailureRate_ = FailureRate_
373
Namespace.addCategoryObject('typeBinding', 'FailureRate', FailureRate_)
374
375
376
# Complex type {net.fuzztree}TriangularFuzzyInterval with content type EMPTY
377
class TriangularFuzzyInterval_ (Probability):
378
    """Complex type {net.fuzztree}TriangularFuzzyInterval with content type EMPTY"""
379
    _TypeDefinition = None
380
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
381
    _Abstract = False
382
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TriangularFuzzyInterval')
383
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 204, 4)
384
    _ElementMap = Probability._ElementMap.copy()
385
    _AttributeMap = Probability._AttributeMap.copy()
386
    # Base type is Probability
387
    
388
    # Attribute a uses Python identifier a
389
    __a = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'a'), 'a', '__net_fuzztree_TriangularFuzzyInterval__a', pyxb.binding.datatypes.double, required=True)
390
    __a._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 207, 16)
391
    __a._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 207, 16)
392
    
393
    a = property(__a.value, __a.set, None, None)
394
395
    
396
    # Attribute b1 uses Python identifier b1
397
    __b1 = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'b1'), 'b1', '__net_fuzztree_TriangularFuzzyInterval__b1', pyxb.binding.datatypes.double, required=True)
398
    __b1._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 208, 16)
399
    __b1._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 208, 16)
400
    
401
    b1 = property(__b1.value, __b1.set, None, None)
402
403
    
404
    # Attribute b2 uses Python identifier b2
405
    __b2 = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'b2'), 'b2', '__net_fuzztree_TriangularFuzzyInterval__b2', pyxb.binding.datatypes.double, required=True)
406
    __b2._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 209, 16)
407
    __b2._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 209, 16)
408
    
409
    b2 = property(__b2.value, __b2.set, None, None)
410
411
    
412
    # Attribute c uses Python identifier c
413
    __c = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'c'), 'c', '__net_fuzztree_TriangularFuzzyInterval__c', pyxb.binding.datatypes.double, required=True)
414
    __c._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 210, 16)
415
    __c._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 210, 16)
416
    
417
    c = property(__c.value, __c.set, None, None)
418
419
    _ElementMap.update({
420
        
421
    })
422
    _AttributeMap.update({
423
        __a.name() : __a,
424
        __b1.name() : __b1,
425
        __b2.name() : __b2,
426
        __c.name() : __c
427
    })
428
_module_typeBindings.TriangularFuzzyInterval_ = TriangularFuzzyInterval_
429
Namespace.addCategoryObject('typeBinding', 'TriangularFuzzyInterval', TriangularFuzzyInterval_)
430
431
432
# Complex type {net.fuzztree}DecomposedFuzzyProbability with content type ELEMENT_ONLY
433
class DecomposedFuzzyProbability_ (Probability):
434
    """Complex type {net.fuzztree}DecomposedFuzzyProbability with content type ELEMENT_ONLY"""
435
    _TypeDefinition = None
436
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
437
    _Abstract = False
438
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'DecomposedFuzzyProbability')
439
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 225, 4)
440
    _ElementMap = Probability._ElementMap.copy()
441
    _AttributeMap = Probability._AttributeMap.copy()
442
    # Base type is Probability
443
    
444
    # Element alphaCuts uses Python identifier alphaCuts
445
    __alphaCuts = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'alphaCuts'), 'alphaCuts', '__net_fuzztree_DecomposedFuzzyProbability__alphaCuts', True, pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 229, 20), )
446
447
    
448
    alphaCuts = property(__alphaCuts.value, __alphaCuts.set, None, None)
449
450
    _ElementMap.update({
451
        __alphaCuts.name() : __alphaCuts
452
    })
453
    _AttributeMap.update({
454
        
455
    })
456
_module_typeBindings.DecomposedFuzzyProbability_ = DecomposedFuzzyProbability_
457
Namespace.addCategoryObject('typeBinding', 'DecomposedFuzzyProbability', DecomposedFuzzyProbability_)
458
459
460
# Complex type {net.fuzztree}ChildNode with content type ELEMENT_ONLY
461
class ChildNode (Node):
462
    """Complex type {net.fuzztree}ChildNode with content type ELEMENT_ONLY"""
463
    _TypeDefinition = None
464
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
465
    _Abstract = True
466
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'ChildNode')
467
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 35, 4)
468
    _ElementMap = Node._ElementMap.copy()
469
    _AttributeMap = Node._AttributeMap.copy()
470
    # Base type is Node
471
    
472
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
473
    
474
    # Element children (children) inherited from {net.fuzztree}Node
475
    
476
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
477
    
478
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
479
    
480
    # Attribute x inherited from {net.fuzztree}Node
481
    
482
    # Attribute y inherited from {net.fuzztree}Node
483
    _ElementMap.update({
484
        
485
    })
486
    _AttributeMap.update({
487
        
488
    })
489
_module_typeBindings.ChildNode = ChildNode
490
Namespace.addCategoryObject('typeBinding', 'ChildNode', ChildNode)
491
492
493
# Complex type {net.fuzztree}FuzzTree with content type ELEMENT_ONLY
494
class FuzzTree_ (Model):
495
    """Complex type {net.fuzztree}FuzzTree with content type ELEMENT_ONLY"""
496
    _TypeDefinition = None
497
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
498
    _Abstract = False
499
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'FuzzTree')
500
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 42, 4)
501
    _ElementMap = Model._ElementMap.copy()
502
    _AttributeMap = Model._AttributeMap.copy()
503
    # Base type is Model
504
    
505
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
506
    
507
    # Element topEvent uses Python identifier topEvent
508
    __topEvent = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'topEvent'), 'topEvent', '__net_fuzztree_FuzzTree__topEvent', False, pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 46, 20), )
509
510
    
511
    topEvent = property(__topEvent.value, __topEvent.set, None, None)
512
513
    
514
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
515
    
516
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
517
    _ElementMap.update({
518
        __topEvent.name() : __topEvent
519
    })
520
    _AttributeMap.update({
521
        
522
    })
523
_module_typeBindings.FuzzTree_ = FuzzTree_
524
Namespace.addCategoryObject('typeBinding', 'FuzzTree', FuzzTree_)
525
526
527
# Complex type {net.fuzztree}TopEvent with content type ELEMENT_ONLY
528
class TopEvent_ (Node):
529
    """Complex type {net.fuzztree}TopEvent with content type ELEMENT_ONLY"""
530
    _TypeDefinition = None
531
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
532
    _Abstract = False
533
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TopEvent')
534
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 53, 4)
535
    _ElementMap = Node._ElementMap.copy()
536
    _AttributeMap = Node._AttributeMap.copy()
537
    # Base type is Node
538
    
539
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
540
    
541
    # Element children (children) inherited from {net.fuzztree}Node
542
    
543
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
544
    
545
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
546
    
547
    # Attribute x inherited from {net.fuzztree}Node
548
    
549
    # Attribute y inherited from {net.fuzztree}Node
550
    
551
    # Attribute missionTime uses Python identifier missionTime
552
    __missionTime = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'missionTime'), 'missionTime', '__net_fuzztree_TopEvent__missionTime', pyxb.binding.datatypes.int)
553
    __missionTime._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 56, 16)
554
    __missionTime._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 56, 16)
555
    
556
    missionTime = property(__missionTime.value, __missionTime.set, None, None)
557
558
    
559
    # Attribute decompositionNumber uses Python identifier decompositionNumber
560
    __decompositionNumber = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'decompositionNumber'), 'decompositionNumber', '__net_fuzztree_TopEvent__decompositionNumber', pyxb.binding.datatypes.int)
561
    __decompositionNumber._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 57, 16)
562
    __decompositionNumber._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 57, 16)
563
    
564
    decompositionNumber = property(__decompositionNumber.value, __decompositionNumber.set, None, None)
565
566
    _ElementMap.update({
567
        
568
    })
569
    _AttributeMap.update({
570
        __missionTime.name() : __missionTime,
571
        __decompositionNumber.name() : __decompositionNumber
572
    })
573
_module_typeBindings.TopEvent_ = TopEvent_
574
Namespace.addCategoryObject('typeBinding', 'TopEvent', TopEvent_)
575
576
577
# Complex type {net.fuzztree}Gate with content type ELEMENT_ONLY
578
class Gate (ChildNode):
579
    """Complex type {net.fuzztree}Gate with content type ELEMENT_ONLY"""
580
    _TypeDefinition = None
581
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
582
    _Abstract = True
583
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Gate')
584
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 82, 4)
585
    _ElementMap = ChildNode._ElementMap.copy()
586
    _AttributeMap = ChildNode._AttributeMap.copy()
587
    # Base type is ChildNode
588
    
589
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
590
    
591
    # Element children (children) inherited from {net.fuzztree}Node
592
    
593
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
594
    
595
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
596
    
597
    # Attribute x inherited from {net.fuzztree}Node
598
    
599
    # Attribute y inherited from {net.fuzztree}Node
600
    _ElementMap.update({
601
        
602
    })
603
    _AttributeMap.update({
604
        
605
    })
606
_module_typeBindings.Gate = Gate
607
Namespace.addCategoryObject('typeBinding', 'Gate', Gate)
608
609
610
# Complex type {net.fuzztree}VariationPoint with content type ELEMENT_ONLY
611
class VariationPoint (ChildNode):
612
    """Complex type {net.fuzztree}VariationPoint with content type ELEMENT_ONLY"""
613
    _TypeDefinition = None
614
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
615
    _Abstract = True
616
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'VariationPoint')
617
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 198, 4)
618
    _ElementMap = ChildNode._ElementMap.copy()
619
    _AttributeMap = ChildNode._AttributeMap.copy()
620
    # Base type is ChildNode
621
    
622
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
623
    
624
    # Element children (children) inherited from {net.fuzztree}Node
625
    
626
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
627
    
628
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
629
    
630
    # Attribute x inherited from {net.fuzztree}Node
631
    
632
    # Attribute y inherited from {net.fuzztree}Node
633
    _ElementMap.update({
634
        
635
    })
636
    _AttributeMap.update({
637
        
638
    })
639
_module_typeBindings.VariationPoint = VariationPoint
640
Namespace.addCategoryObject('typeBinding', 'VariationPoint', VariationPoint)
641
642
643
# Complex type {net.fuzztree}And with content type ELEMENT_ONLY
644
class And_ (Gate):
645
    """Complex type {net.fuzztree}And with content type ELEMENT_ONLY"""
646
    _TypeDefinition = None
647
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
648
    _Abstract = False
649
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'And')
650
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 88, 4)
651
    _ElementMap = Gate._ElementMap.copy()
652
    _AttributeMap = Gate._AttributeMap.copy()
653
    # Base type is Gate
654
    
655
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
656
    
657
    # Element children (children) inherited from {net.fuzztree}Node
658
    
659
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
660
    
661
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
662
    
663
    # Attribute x inherited from {net.fuzztree}Node
664
    
665
    # Attribute y inherited from {net.fuzztree}Node
666
    _ElementMap.update({
667
        
668
    })
669
    _AttributeMap.update({
670
        
671
    })
672
_module_typeBindings.And_ = And_
673
Namespace.addCategoryObject('typeBinding', 'And', And_)
674
675
676
# Complex type {net.fuzztree}Or with content type ELEMENT_ONLY
677
class Or_ (Gate):
678
    """Complex type {net.fuzztree}Or with content type ELEMENT_ONLY"""
679
    _TypeDefinition = None
680
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
681
    _Abstract = False
682
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Or')
683
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 95, 4)
684
    _ElementMap = Gate._ElementMap.copy()
685
    _AttributeMap = Gate._AttributeMap.copy()
686
    # Base type is Gate
687
    
688
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
689
    
690
    # Element children (children) inherited from {net.fuzztree}Node
691
    
692
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
693
    
694
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
695
    
696
    # Attribute x inherited from {net.fuzztree}Node
697
    
698
    # Attribute y inherited from {net.fuzztree}Node
699
    _ElementMap.update({
700
        
701
    })
702
    _AttributeMap.update({
703
        
704
    })
705
_module_typeBindings.Or_ = Or_
706
Namespace.addCategoryObject('typeBinding', 'Or', Or_)
707
708
709
# Complex type {net.fuzztree}Xor with content type ELEMENT_ONLY
710
class Xor_ (Gate):
711
    """Complex type {net.fuzztree}Xor with content type ELEMENT_ONLY"""
712
    _TypeDefinition = None
713
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
714
    _Abstract = False
715
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'Xor')
716
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 102, 4)
717
    _ElementMap = Gate._ElementMap.copy()
718
    _AttributeMap = Gate._AttributeMap.copy()
719
    # Base type is Gate
720
    
721
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
722
    
723
    # Element children (children) inherited from {net.fuzztree}Node
724
    
725
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
726
    
727
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
728
    
729
    # Attribute x inherited from {net.fuzztree}Node
730
    
731
    # Attribute y inherited from {net.fuzztree}Node
732
    _ElementMap.update({
733
        
734
    })
735
    _AttributeMap.update({
736
        
737
    })
738
_module_typeBindings.Xor_ = Xor_
739
Namespace.addCategoryObject('typeBinding', 'Xor', Xor_)
740
741
742
# Complex type {net.fuzztree}VotingOr with content type ELEMENT_ONLY
743
class VotingOr_ (Gate):
744
    """Complex type {net.fuzztree}VotingOr with content type ELEMENT_ONLY"""
745
    _TypeDefinition = None
746
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
747
    _Abstract = False
748
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'VotingOr')
749
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 109, 4)
750
    _ElementMap = Gate._ElementMap.copy()
751
    _AttributeMap = Gate._AttributeMap.copy()
752
    # Base type is Gate
753
    
754
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
755
    
756
    # Element children (children) inherited from {net.fuzztree}Node
757
    
758
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
759
    
760
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
761
    
762
    # Attribute x inherited from {net.fuzztree}Node
763
    
764
    # Attribute y inherited from {net.fuzztree}Node
765
    
766
    # Attribute k uses Python identifier k
767
    __k = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'k'), 'k', '__net_fuzztree_VotingOr__k', pyxb.binding.datatypes.int, required=True)
768
    __k._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 112, 16)
769
    __k._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 112, 16)
770
    
771
    k = property(__k.value, __k.set, None, None)
772
773
    _ElementMap.update({
774
        
775
    })
776
    _AttributeMap.update({
777
        __k.name() : __k
778
    })
779
_module_typeBindings.VotingOr_ = VotingOr_
780
Namespace.addCategoryObject('typeBinding', 'VotingOr', VotingOr_)
781
782
783
# Complex type {net.fuzztree}TransferIn with content type ELEMENT_ONLY
784
class TransferIn_ (VariationPoint):
785
    """Complex type {net.fuzztree}TransferIn with content type ELEMENT_ONLY"""
786
    _TypeDefinition = None
787
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
788
    _Abstract = False
789
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'TransferIn')
790
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 119, 4)
791
    _ElementMap = VariationPoint._ElementMap.copy()
792
    _AttributeMap = VariationPoint._AttributeMap.copy()
793
    # Base type is VariationPoint
794
    
795
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
796
    
797
    # Element children (children) inherited from {net.fuzztree}Node
798
    
799
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
800
    
801
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
802
    
803
    # Attribute x inherited from {net.fuzztree}Node
804
    
805
    # Attribute y inherited from {net.fuzztree}Node
806
    
807
    # Attribute fromModelId uses Python identifier fromModelId
808
    __fromModelId = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'fromModelId'), 'fromModelId', '__net_fuzztree_TransferIn__fromModelId', pyxb.binding.datatypes.int, required=True)
809
    __fromModelId._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 122, 16)
810
    __fromModelId._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 122, 16)
811
    
812
    fromModelId = property(__fromModelId.value, __fromModelId.set, None, None)
813
814
    
815
    # Attribute maxCosts uses Python identifier maxCosts
816
    __maxCosts = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'maxCosts'), 'maxCosts', '__net_fuzztree_TransferIn__maxCosts', pyxb.binding.datatypes.int, unicode_default='0')
817
    __maxCosts._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 123, 16)
818
    __maxCosts._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 123, 16)
819
    
820
    maxCosts = property(__maxCosts.value, __maxCosts.set, None, None)
821
822
    _ElementMap.update({
823
        
824
    })
825
    _AttributeMap.update({
826
        __fromModelId.name() : __fromModelId,
827
        __maxCosts.name() : __maxCosts
828
    })
829
_module_typeBindings.TransferIn_ = TransferIn_
830
Namespace.addCategoryObject('typeBinding', 'TransferIn', TransferIn_)
831
832
833
# Complex type {net.fuzztree}FeatureVariationPoint with content type ELEMENT_ONLY
834
class FeatureVariationPoint_ (VariationPoint):
835
    """Complex type {net.fuzztree}FeatureVariationPoint with content type ELEMENT_ONLY"""
836
    _TypeDefinition = None
837
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
838
    _Abstract = False
839
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'FeatureVariationPoint')
840
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 181, 4)
841
    _ElementMap = VariationPoint._ElementMap.copy()
842
    _AttributeMap = VariationPoint._AttributeMap.copy()
843
    # Base type is VariationPoint
844
    
845
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
846
    
847
    # Element children (children) inherited from {net.fuzztree}Node
848
    
849
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
850
    
851
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
852
    
853
    # Attribute x inherited from {net.fuzztree}Node
854
    
855
    # Attribute y inherited from {net.fuzztree}Node
856
    _ElementMap.update({
857
        
858
    })
859
    _AttributeMap.update({
860
        
861
    })
862
_module_typeBindings.FeatureVariationPoint_ = FeatureVariationPoint_
863
Namespace.addCategoryObject('typeBinding', 'FeatureVariationPoint', FeatureVariationPoint_)
864
865
866
# Complex type {net.fuzztree}RedundancyVariationPoint with content type ELEMENT_ONLY
867
class RedundancyVariationPoint_ (VariationPoint):
868
    """Complex type {net.fuzztree}RedundancyVariationPoint with content type ELEMENT_ONLY"""
869
    _TypeDefinition = None
870
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
871
    _Abstract = False
872
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'RedundancyVariationPoint')
873
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 187, 4)
874
    _ElementMap = VariationPoint._ElementMap.copy()
875
    _AttributeMap = VariationPoint._AttributeMap.copy()
876
    # Base type is VariationPoint
877
    
878
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
879
    
880
    # Element children (children) inherited from {net.fuzztree}Node
881
    
882
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
883
    
884
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
885
    
886
    # Attribute x inherited from {net.fuzztree}Node
887
    
888
    # Attribute y inherited from {net.fuzztree}Node
889
    
890
    # Attribute start uses Python identifier start
891
    __start = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'start'), 'start', '__net_fuzztree_RedundancyVariationPoint__start', pyxb.binding.datatypes.int, required=True)
892
    __start._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 190, 16)
893
    __start._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 190, 16)
894
    
895
    start = property(__start.value, __start.set, None, None)
896
897
    
898
    # Attribute end uses Python identifier end
899
    __end = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'end'), 'end', '__net_fuzztree_RedundancyVariationPoint__end', pyxb.binding.datatypes.int, required=True)
900
    __end._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 191, 16)
901
    __end._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 191, 16)
902
    
903
    end = property(__end.value, __end.set, None, None)
904
905
    
906
    # Attribute formula uses Python identifier formula
907
    __formula = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'formula'), 'formula', '__net_fuzztree_RedundancyVariationPoint__formula', pyxb.binding.datatypes.string, required=True)
908
    __formula._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 192, 16)
909
    __formula._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 192, 16)
910
    
911
    formula = property(__formula.value, __formula.set, None, None)
912
913
    _ElementMap.update({
914
        
915
    })
916
    _AttributeMap.update({
917
        __start.name() : __start,
918
        __end.name() : __end,
919
        __formula.name() : __formula
920
    })
921
_module_typeBindings.RedundancyVariationPoint_ = RedundancyVariationPoint_
922
Namespace.addCategoryObject('typeBinding', 'RedundancyVariationPoint', RedundancyVariationPoint_)
923
924
925
# Complex type {net.fuzztree}InclusionVariationPoint with content type ELEMENT_ONLY
926
class InclusionVariationPoint (VariationPoint):
927
    """Complex type {net.fuzztree}InclusionVariationPoint with content type ELEMENT_ONLY"""
928
    _TypeDefinition = None
929
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
930
    _Abstract = True
931
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'InclusionVariationPoint')
932
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 216, 4)
933
    _ElementMap = VariationPoint._ElementMap.copy()
934
    _AttributeMap = VariationPoint._AttributeMap.copy()
935
    # Base type is VariationPoint
936
    
937
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
938
    
939
    # Element children (children) inherited from {net.fuzztree}Node
940
    
941
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
942
    
943
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
944
    
945
    # Attribute x inherited from {net.fuzztree}Node
946
    
947
    # Attribute y inherited from {net.fuzztree}Node
948
    
949
    # Attribute optional uses Python identifier optional
950
    __optional = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'optional'), 'optional', '__net_fuzztree_InclusionVariationPoint_optional', pyxb.binding.datatypes.boolean, unicode_default='false')
951
    __optional._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 219, 16)
952
    __optional._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 219, 16)
953
    
954
    optional = property(__optional.value, __optional.set, None, None)
955
956
    
957
    # Attribute costs uses Python identifier costs
958
    __costs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'costs'), 'costs', '__net_fuzztree_InclusionVariationPoint_costs', pyxb.binding.datatypes.int)
959
    __costs._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 220, 16)
960
    __costs._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 220, 16)
961
    
962
    costs = property(__costs.value, __costs.set, None, None)
963
964
    _ElementMap.update({
965
        
966
    })
967
    _AttributeMap.update({
968
        __optional.name() : __optional,
969
        __costs.name() : __costs
970
    })
971
_module_typeBindings.InclusionVariationPoint = InclusionVariationPoint
972
Namespace.addCategoryObject('typeBinding', 'InclusionVariationPoint', InclusionVariationPoint)
973
974
975
# Complex type {net.fuzztree}UndevelopedEvent with content type ELEMENT_ONLY
976
class UndevelopedEvent_ (InclusionVariationPoint):
977
    """Complex type {net.fuzztree}UndevelopedEvent with content type ELEMENT_ONLY"""
978
    _TypeDefinition = None
979
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
980
    _Abstract = False
981
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'UndevelopedEvent')
982
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 129, 4)
983
    _ElementMap = InclusionVariationPoint._ElementMap.copy()
984
    _AttributeMap = InclusionVariationPoint._AttributeMap.copy()
985
    # Base type is InclusionVariationPoint
986
    
987
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
988
    
989
    # Element children (children) inherited from {net.fuzztree}Node
990
    
991
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
992
    
993
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
994
    
995
    # Attribute x inherited from {net.fuzztree}Node
996
    
997
    # Attribute y inherited from {net.fuzztree}Node
998
    
999
    # Attribute optional inherited from {net.fuzztree}InclusionVariationPoint
1000
    
1001
    # Attribute costs inherited from {net.fuzztree}InclusionVariationPoint
1002
    _ElementMap.update({
1003
        
1004
    })
1005
    _AttributeMap.update({
1006
        
1007
    })
1008
_module_typeBindings.UndevelopedEvent_ = UndevelopedEvent_
1009
Namespace.addCategoryObject('typeBinding', 'UndevelopedEvent', UndevelopedEvent_)
1010
1011
1012
# Complex type {net.fuzztree}BasicEvent with content type ELEMENT_ONLY
1013
class BasicEvent_ (InclusionVariationPoint):
1014
    """Complex type {net.fuzztree}BasicEvent with content type ELEMENT_ONLY"""
1015
    _TypeDefinition = None
1016
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
1017
    _Abstract = False
1018
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BasicEvent')
1019
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 143, 4)
1020
    _ElementMap = InclusionVariationPoint._ElementMap.copy()
1021
    _AttributeMap = InclusionVariationPoint._AttributeMap.copy()
1022
    # Base type is InclusionVariationPoint
1023
    
1024
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
1025
    
1026
    # Element children (children) inherited from {net.fuzztree}Node
1027
    
1028
    # Element probability uses Python identifier probability
1029
    __probability = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, 'probability'), 'probability', '__net_fuzztree_BasicEvent__probability', False, pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 147, 20), )
1030
1031
    
1032
    probability = property(__probability.value, __probability.set, None, None)
1033
1034
    
1035
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
1036
    
1037
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
1038
    
1039
    # Attribute x inherited from {net.fuzztree}Node
1040
    
1041
    # Attribute y inherited from {net.fuzztree}Node
1042
    
1043
    # Attribute optional inherited from {net.fuzztree}InclusionVariationPoint
1044
    
1045
    # Attribute costs inherited from {net.fuzztree}InclusionVariationPoint
1046
    _ElementMap.update({
1047
        __probability.name() : __probability
1048
    })
1049
    _AttributeMap.update({
1050
        
1051
    })
1052
_module_typeBindings.BasicEvent_ = BasicEvent_
1053
Namespace.addCategoryObject('typeBinding', 'BasicEvent', BasicEvent_)
1054
1055
1056
# Complex type {net.fuzztree}IntermediateEvent with content type ELEMENT_ONLY
1057
class IntermediateEvent_ (InclusionVariationPoint):
1058
    """Complex type {net.fuzztree}IntermediateEvent with content type ELEMENT_ONLY"""
1059
    _TypeDefinition = None
1060
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
1061
    _Abstract = False
1062
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'IntermediateEvent')
1063
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 154, 4)
1064
    _ElementMap = InclusionVariationPoint._ElementMap.copy()
1065
    _AttributeMap = InclusionVariationPoint._AttributeMap.copy()
1066
    # Base type is InclusionVariationPoint
1067
    
1068
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
1069
    
1070
    # Element children (children) inherited from {net.fuzztree}Node
1071
    
1072
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
1073
    
1074
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
1075
    
1076
    # Attribute x inherited from {net.fuzztree}Node
1077
    
1078
    # Attribute y inherited from {net.fuzztree}Node
1079
    
1080
    # Attribute optional inherited from {net.fuzztree}InclusionVariationPoint
1081
    
1082
    # Attribute costs inherited from {net.fuzztree}InclusionVariationPoint
1083
    _ElementMap.update({
1084
        
1085
    })
1086
    _AttributeMap.update({
1087
        
1088
    })
1089
_module_typeBindings.IntermediateEvent_ = IntermediateEvent_
1090
Namespace.addCategoryObject('typeBinding', 'IntermediateEvent', IntermediateEvent_)
1091
1092
1093
# Complex type {net.fuzztree}HouseEvent with content type ELEMENT_ONLY
1094
class HouseEvent_ (BasicEvent_):
1095
    """Complex type {net.fuzztree}HouseEvent with content type ELEMENT_ONLY"""
1096
    _TypeDefinition = None
1097
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
1098
    _Abstract = False
1099
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'HouseEvent')
1100
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 136, 4)
1101
    _ElementMap = BasicEvent_._ElementMap.copy()
1102
    _AttributeMap = BasicEvent_._AttributeMap.copy()
1103
    # Base type is BasicEvent_
1104
    
1105
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
1106
    
1107
    # Element children (children) inherited from {net.fuzztree}Node
1108
    
1109
    # Element probability (probability) inherited from {net.fuzztree}BasicEvent
1110
    
1111
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
1112
    
1113
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
1114
    
1115
    # Attribute x inherited from {net.fuzztree}Node
1116
    
1117
    # Attribute y inherited from {net.fuzztree}Node
1118
    
1119
    # Attribute optional inherited from {net.fuzztree}InclusionVariationPoint
1120
    
1121
    # Attribute costs inherited from {net.fuzztree}InclusionVariationPoint
1122
    _ElementMap.update({
1123
        
1124
    })
1125
    _AttributeMap.update({
1126
        
1127
    })
1128
_module_typeBindings.HouseEvent_ = HouseEvent_
1129
Namespace.addCategoryObject('typeBinding', 'HouseEvent', HouseEvent_)
1130
1131
1132
# Complex type {net.fuzztree}BasicEventSet with content type ELEMENT_ONLY
1133
class BasicEventSet_ (BasicEvent_):
1134
    """Complex type {net.fuzztree}BasicEventSet with content type ELEMENT_ONLY"""
1135
    _TypeDefinition = None
1136
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
1137
    _Abstract = False
1138
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'BasicEventSet')
1139
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 161, 4)
1140
    _ElementMap = BasicEvent_._ElementMap.copy()
1141
    _AttributeMap = BasicEvent_._AttributeMap.copy()
1142
    # Base type is BasicEvent_
1143
    
1144
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
1145
    
1146
    # Element children (children) inherited from {net.fuzztree}Node
1147
    
1148
    # Element probability (probability) inherited from {net.fuzztree}BasicEvent
1149
    
1150
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
1151
    
1152
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
1153
    
1154
    # Attribute x inherited from {net.fuzztree}Node
1155
    
1156
    # Attribute y inherited from {net.fuzztree}Node
1157
    
1158
    # Attribute quantity uses Python identifier quantity
1159
    __quantity = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'quantity'), 'quantity', '__net_fuzztree_BasicEventSet__quantity', pyxb.binding.datatypes.int)
1160
    __quantity._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 164, 16)
1161
    __quantity._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 164, 16)
1162
    
1163
    quantity = property(__quantity.value, __quantity.set, None, None)
1164
1165
    
1166
    # Attribute optional inherited from {net.fuzztree}InclusionVariationPoint
1167
    
1168
    # Attribute costs inherited from {net.fuzztree}InclusionVariationPoint
1169
    _ElementMap.update({
1170
        
1171
    })
1172
    _AttributeMap.update({
1173
        __quantity.name() : __quantity
1174
    })
1175
_module_typeBindings.BasicEventSet_ = BasicEventSet_
1176
Namespace.addCategoryObject('typeBinding', 'BasicEventSet', BasicEventSet_)
1177
1178
1179
# Complex type {net.fuzztree}IntermediateEventSet with content type ELEMENT_ONLY
1180
class IntermediateEventSet_ (IntermediateEvent_):
1181
    """Complex type {net.fuzztree}IntermediateEventSet with content type ELEMENT_ONLY"""
1182
    _TypeDefinition = None
1183
    _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
1184
    _Abstract = False
1185
    _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'IntermediateEventSet')
1186
    _XSDLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 170, 4)
1187
    _ElementMap = IntermediateEvent_._ElementMap.copy()
1188
    _AttributeMap = IntermediateEvent_._AttributeMap.copy()
1189
    # Base type is IntermediateEvent_
1190
    
1191
    # Element annotations (annotations) inherited from {net.fuzztree}AnnotatedElement
1192
    
1193
    # Element children (children) inherited from {net.fuzztree}Node
1194
    
1195
    # Attribute id inherited from {net.fuzztree}AnnotatedElement
1196
    
1197
    # Attribute name inherited from {net.fuzztree}AnnotatedElement
1198
    
1199
    # Attribute x inherited from {net.fuzztree}Node
1200
    
1201
    # Attribute y inherited from {net.fuzztree}Node
1202
    
1203
    # Attribute quantity uses Python identifier quantity
1204
    __quantity = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, 'quantity'), 'quantity', '__net_fuzztree_IntermediateEventSet__quantity', pyxb.binding.datatypes.int)
1205
    __quantity._DeclarationLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 173, 16)
1206
    __quantity._UseLocation = pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 173, 16)
1207
    
1208
    quantity = property(__quantity.value, __quantity.set, None, None)
1209
1210
    
1211
    # Attribute optional inherited from {net.fuzztree}InclusionVariationPoint
1212
    
1213
    # Attribute costs inherited from {net.fuzztree}InclusionVariationPoint
1214
    _ElementMap.update({
1215
        
1216
    })
1217
    _AttributeMap.update({
1218
        __quantity.name() : __quantity
1219
    })
1220
_module_typeBindings.IntermediateEventSet_ = IntermediateEventSet_
1221
Namespace.addCategoryObject('typeBinding', 'IntermediateEventSet', IntermediateEventSet_)
1222
1223
1224
DoubleToIntervalMap = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DoubleToIntervalMap'), DoubleToIntervalMap_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 242, 4))
1225
Namespace.addCategoryObject('elementBinding', DoubleToIntervalMap.name().localName(), DoubleToIntervalMap)
1226
1227
Interval = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Interval'), Interval_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 248, 4))
1228
Namespace.addCategoryObject('elementBinding', Interval.name().localName(), Interval)
1229
1230
FailureRate = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'FailureRate'), FailureRate_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 79, 4))
1231
Namespace.addCategoryObject('elementBinding', FailureRate.name().localName(), FailureRate)
1232
1233
TriangularFuzzyInterval = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'TriangularFuzzyInterval'), TriangularFuzzyInterval_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 214, 4))
1234
Namespace.addCategoryObject('elementBinding', TriangularFuzzyInterval.name().localName(), TriangularFuzzyInterval)
1235
1236
DecomposedFuzzyProbability = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'DecomposedFuzzyProbability'), DecomposedFuzzyProbability_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 234, 4))
1237
Namespace.addCategoryObject('elementBinding', DecomposedFuzzyProbability.name().localName(), DecomposedFuzzyProbability)
1238
1239
FuzzTree = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'FuzzTree'), FuzzTree_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 51, 4))
1240
Namespace.addCategoryObject('elementBinding', FuzzTree.name().localName(), FuzzTree)
1241
1242
TopEvent = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'TopEvent'), TopEvent_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 61, 4))
1243
Namespace.addCategoryObject('elementBinding', TopEvent.name().localName(), TopEvent)
1244
1245
And = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'And'), And_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 93, 4))
1246
Namespace.addCategoryObject('elementBinding', And.name().localName(), And)
1247
1248
Or = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Or'), Or_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 100, 4))
1249
Namespace.addCategoryObject('elementBinding', Or.name().localName(), Or)
1250
1251
Xor = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'Xor'), Xor_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 107, 4))
1252
Namespace.addCategoryObject('elementBinding', Xor.name().localName(), Xor)
1253
1254
VotingOr = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'VotingOr'), VotingOr_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 116, 4))
1255
Namespace.addCategoryObject('elementBinding', VotingOr.name().localName(), VotingOr)
1256
1257
TransferIn = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'TransferIn'), TransferIn_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 127, 4))
1258
Namespace.addCategoryObject('elementBinding', TransferIn.name().localName(), TransferIn)
1259
1260
FeatureVariationPoint = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'FeatureVariationPoint'), FeatureVariationPoint_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 186, 4))
1261
Namespace.addCategoryObject('elementBinding', FeatureVariationPoint.name().localName(), FeatureVariationPoint)
1262
1263
RedundancyVariationPoint = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'RedundancyVariationPoint'), RedundancyVariationPoint_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 196, 4))
1264
Namespace.addCategoryObject('elementBinding', RedundancyVariationPoint.name().localName(), RedundancyVariationPoint)
1265
1266
UndevelopedEvent = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'UndevelopedEvent'), UndevelopedEvent_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 134, 4))
1267
Namespace.addCategoryObject('elementBinding', UndevelopedEvent.name().localName(), UndevelopedEvent)
1268
1269
BasicEvent = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BasicEvent'), BasicEvent_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 152, 4))
1270
Namespace.addCategoryObject('elementBinding', BasicEvent.name().localName(), BasicEvent)
1271
1272
IntermediateEvent = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IntermediateEvent'), IntermediateEvent_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 159, 4))
1273
Namespace.addCategoryObject('elementBinding', IntermediateEvent.name().localName(), IntermediateEvent)
1274
1275
HouseEvent = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'HouseEvent'), HouseEvent_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 141, 4))
1276
Namespace.addCategoryObject('elementBinding', HouseEvent.name().localName(), HouseEvent)
1277
1278
BasicEventSet = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'BasicEventSet'), BasicEventSet_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 168, 4))
1279
Namespace.addCategoryObject('elementBinding', BasicEventSet.name().localName(), BasicEventSet)
1280
1281
IntermediateEventSet = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, 'IntermediateEventSet'), IntermediateEventSet_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 177, 4))
1282
Namespace.addCategoryObject('elementBinding', IntermediateEventSet.name().localName(), IntermediateEventSet)
1283
1284
1285
1286
AnnotatedElement._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'annotations'), Annotation, scope=AnnotatedElement, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12)))
1287
1288
def _BuildAutomaton ():
1289
    # Remove this helper function from the namespace after it is invoked
1290
    global _BuildAutomaton
1291
    del _BuildAutomaton
1292
    import pyxb.utils.fac as fac
1293
1294
    counters = set()
1295
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1296
    counters.add(cc_0)
1297
    states = []
1298
    final_update = set()
1299
    final_update.add(fac.UpdateInstruction(cc_0, False))
1300
    symbol = pyxb.binding.content.ElementUse(AnnotatedElement._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1301
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1302
    states.append(st_0)
1303
    transitions = []
1304
    transitions.append(fac.Transition(st_0, [
1305
        fac.UpdateInstruction(cc_0, True) ]))
1306
    st_0._set_transitionSet(transitions)
1307
    return fac.Automaton(states, counters, True, containing_state=None)
1308
AnnotatedElement._Automaton = _BuildAutomaton()
1309
1310
1311
1312
1313
DoubleToIntervalMap_._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'value'), Interval_, scope=DoubleToIntervalMap_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 238, 12)))
1314
1315
def _BuildAutomaton_ ():
1316
    # Remove this helper function from the namespace after it is invoked
1317
    global _BuildAutomaton_
1318
    del _BuildAutomaton_
1319
    import pyxb.utils.fac as fac
1320
1321
    counters = set()
1322
    states = []
1323
    final_update = set()
1324
    symbol = pyxb.binding.content.ElementUse(DoubleToIntervalMap_._UseForTag(pyxb.namespace.ExpandedName(None, 'value')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 238, 12))
1325
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1326
    states.append(st_0)
1327
    transitions = []
1328
    st_0._set_transitionSet(transitions)
1329
    return fac.Automaton(states, counters, False, containing_state=None)
1330
DoubleToIntervalMap_._Automaton = _BuildAutomaton_()
1331
1332
1333
1334
1335
def _BuildAutomaton_2 ():
1336
    # Remove this helper function from the namespace after it is invoked
1337
    global _BuildAutomaton_2
1338
    del _BuildAutomaton_2
1339
    import pyxb.utils.fac as fac
1340
1341
    counters = set()
1342
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1343
    counters.add(cc_0)
1344
    states = []
1345
    final_update = set()
1346
    final_update.add(fac.UpdateInstruction(cc_0, False))
1347
    symbol = pyxb.binding.content.ElementUse(Model._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1348
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1349
    states.append(st_0)
1350
    transitions = []
1351
    transitions.append(fac.Transition(st_0, [
1352
        fac.UpdateInstruction(cc_0, True) ]))
1353
    st_0._set_transitionSet(transitions)
1354
    return fac.Automaton(states, counters, True, containing_state=None)
1355
Model._Automaton = _BuildAutomaton_2()
1356
1357
1358
1359
1360
Node._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'children'), ChildNode, scope=Node, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20)))
1361
1362
def _BuildAutomaton_3 ():
1363
    # Remove this helper function from the namespace after it is invoked
1364
    global _BuildAutomaton_3
1365
    del _BuildAutomaton_3
1366
    import pyxb.utils.fac as fac
1367
1368
    counters = set()
1369
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1370
    counters.add(cc_0)
1371
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1372
    counters.add(cc_1)
1373
    states = []
1374
    final_update = set()
1375
    final_update.add(fac.UpdateInstruction(cc_0, False))
1376
    symbol = pyxb.binding.content.ElementUse(Node._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1377
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1378
    states.append(st_0)
1379
    final_update = set()
1380
    final_update.add(fac.UpdateInstruction(cc_1, False))
1381
    symbol = pyxb.binding.content.ElementUse(Node._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1382
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1383
    states.append(st_1)
1384
    transitions = []
1385
    transitions.append(fac.Transition(st_0, [
1386
        fac.UpdateInstruction(cc_0, True) ]))
1387
    transitions.append(fac.Transition(st_1, [
1388
        fac.UpdateInstruction(cc_0, False) ]))
1389
    st_0._set_transitionSet(transitions)
1390
    transitions = []
1391
    transitions.append(fac.Transition(st_1, [
1392
        fac.UpdateInstruction(cc_1, True) ]))
1393
    st_1._set_transitionSet(transitions)
1394
    return fac.Automaton(states, counters, True, containing_state=None)
1395
Node._Automaton = _BuildAutomaton_3()
1396
1397
1398
1399
1400
DecomposedFuzzyProbability_._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'alphaCuts'), DoubleToIntervalMap_, scope=DecomposedFuzzyProbability_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 229, 20)))
1401
1402
def _BuildAutomaton_4 ():
1403
    # Remove this helper function from the namespace after it is invoked
1404
    global _BuildAutomaton_4
1405
    del _BuildAutomaton_4
1406
    import pyxb.utils.fac as fac
1407
1408
    counters = set()
1409
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 229, 20))
1410
    counters.add(cc_0)
1411
    states = []
1412
    final_update = set()
1413
    final_update.add(fac.UpdateInstruction(cc_0, False))
1414
    symbol = pyxb.binding.content.ElementUse(DecomposedFuzzyProbability_._UseForTag(pyxb.namespace.ExpandedName(None, 'alphaCuts')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 229, 20))
1415
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1416
    states.append(st_0)
1417
    transitions = []
1418
    transitions.append(fac.Transition(st_0, [
1419
        fac.UpdateInstruction(cc_0, True) ]))
1420
    st_0._set_transitionSet(transitions)
1421
    return fac.Automaton(states, counters, True, containing_state=None)
1422
DecomposedFuzzyProbability_._Automaton = _BuildAutomaton_4()
1423
1424
1425
1426
1427
def _BuildAutomaton_5 ():
1428
    # Remove this helper function from the namespace after it is invoked
1429
    global _BuildAutomaton_5
1430
    del _BuildAutomaton_5
1431
    import pyxb.utils.fac as fac
1432
1433
    counters = set()
1434
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1435
    counters.add(cc_0)
1436
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1437
    counters.add(cc_1)
1438
    states = []
1439
    final_update = set()
1440
    final_update.add(fac.UpdateInstruction(cc_0, False))
1441
    symbol = pyxb.binding.content.ElementUse(ChildNode._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1442
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1443
    states.append(st_0)
1444
    final_update = set()
1445
    final_update.add(fac.UpdateInstruction(cc_1, False))
1446
    symbol = pyxb.binding.content.ElementUse(ChildNode._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1447
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1448
    states.append(st_1)
1449
    transitions = []
1450
    transitions.append(fac.Transition(st_0, [
1451
        fac.UpdateInstruction(cc_0, True) ]))
1452
    transitions.append(fac.Transition(st_1, [
1453
        fac.UpdateInstruction(cc_0, False) ]))
1454
    st_0._set_transitionSet(transitions)
1455
    transitions = []
1456
    transitions.append(fac.Transition(st_1, [
1457
        fac.UpdateInstruction(cc_1, True) ]))
1458
    st_1._set_transitionSet(transitions)
1459
    return fac.Automaton(states, counters, True, containing_state=None)
1460
ChildNode._Automaton = _BuildAutomaton_5()
1461
1462
1463
1464
1465
FuzzTree_._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'topEvent'), TopEvent_, scope=FuzzTree_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 46, 20)))
1466
1467
def _BuildAutomaton_6 ():
1468
    # Remove this helper function from the namespace after it is invoked
1469
    global _BuildAutomaton_6
1470
    del _BuildAutomaton_6
1471
    import pyxb.utils.fac as fac
1472
1473
    counters = set()
1474
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1475
    counters.add(cc_0)
1476
    states = []
1477
    final_update = None
1478
    symbol = pyxb.binding.content.ElementUse(FuzzTree_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1479
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1480
    states.append(st_0)
1481
    final_update = set()
1482
    symbol = pyxb.binding.content.ElementUse(FuzzTree_._UseForTag(pyxb.namespace.ExpandedName(None, 'topEvent')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 46, 20))
1483
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1484
    states.append(st_1)
1485
    transitions = []
1486
    transitions.append(fac.Transition(st_0, [
1487
        fac.UpdateInstruction(cc_0, True) ]))
1488
    transitions.append(fac.Transition(st_1, [
1489
        fac.UpdateInstruction(cc_0, False) ]))
1490
    st_0._set_transitionSet(transitions)
1491
    transitions = []
1492
    st_1._set_transitionSet(transitions)
1493
    return fac.Automaton(states, counters, False, containing_state=None)
1494
FuzzTree_._Automaton = _BuildAutomaton_6()
1495
1496
1497
1498
1499
def _BuildAutomaton_7 ():
1500
    # Remove this helper function from the namespace after it is invoked
1501
    global _BuildAutomaton_7
1502
    del _BuildAutomaton_7
1503
    import pyxb.utils.fac as fac
1504
1505
    counters = set()
1506
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1507
    counters.add(cc_0)
1508
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1509
    counters.add(cc_1)
1510
    states = []
1511
    final_update = set()
1512
    final_update.add(fac.UpdateInstruction(cc_0, False))
1513
    symbol = pyxb.binding.content.ElementUse(TopEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1514
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1515
    states.append(st_0)
1516
    final_update = set()
1517
    final_update.add(fac.UpdateInstruction(cc_1, False))
1518
    symbol = pyxb.binding.content.ElementUse(TopEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1519
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1520
    states.append(st_1)
1521
    transitions = []
1522
    transitions.append(fac.Transition(st_0, [
1523
        fac.UpdateInstruction(cc_0, True) ]))
1524
    transitions.append(fac.Transition(st_1, [
1525
        fac.UpdateInstruction(cc_0, False) ]))
1526
    st_0._set_transitionSet(transitions)
1527
    transitions = []
1528
    transitions.append(fac.Transition(st_1, [
1529
        fac.UpdateInstruction(cc_1, True) ]))
1530
    st_1._set_transitionSet(transitions)
1531
    return fac.Automaton(states, counters, True, containing_state=None)
1532
TopEvent_._Automaton = _BuildAutomaton_7()
1533
1534
1535
1536
1537
def _BuildAutomaton_8 ():
1538
    # Remove this helper function from the namespace after it is invoked
1539
    global _BuildAutomaton_8
1540
    del _BuildAutomaton_8
1541
    import pyxb.utils.fac as fac
1542
1543
    counters = set()
1544
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1545
    counters.add(cc_0)
1546
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1547
    counters.add(cc_1)
1548
    states = []
1549
    final_update = set()
1550
    final_update.add(fac.UpdateInstruction(cc_0, False))
1551
    symbol = pyxb.binding.content.ElementUse(Gate._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1552
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1553
    states.append(st_0)
1554
    final_update = set()
1555
    final_update.add(fac.UpdateInstruction(cc_1, False))
1556
    symbol = pyxb.binding.content.ElementUse(Gate._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1557
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1558
    states.append(st_1)
1559
    transitions = []
1560
    transitions.append(fac.Transition(st_0, [
1561
        fac.UpdateInstruction(cc_0, True) ]))
1562
    transitions.append(fac.Transition(st_1, [
1563
        fac.UpdateInstruction(cc_0, False) ]))
1564
    st_0._set_transitionSet(transitions)
1565
    transitions = []
1566
    transitions.append(fac.Transition(st_1, [
1567
        fac.UpdateInstruction(cc_1, True) ]))
1568
    st_1._set_transitionSet(transitions)
1569
    return fac.Automaton(states, counters, True, containing_state=None)
1570
Gate._Automaton = _BuildAutomaton_8()
1571
1572
1573
1574
1575
def _BuildAutomaton_9 ():
1576
    # Remove this helper function from the namespace after it is invoked
1577
    global _BuildAutomaton_9
1578
    del _BuildAutomaton_9
1579
    import pyxb.utils.fac as fac
1580
1581
    counters = set()
1582
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1583
    counters.add(cc_0)
1584
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1585
    counters.add(cc_1)
1586
    states = []
1587
    final_update = set()
1588
    final_update.add(fac.UpdateInstruction(cc_0, False))
1589
    symbol = pyxb.binding.content.ElementUse(VariationPoint._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1590
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1591
    states.append(st_0)
1592
    final_update = set()
1593
    final_update.add(fac.UpdateInstruction(cc_1, False))
1594
    symbol = pyxb.binding.content.ElementUse(VariationPoint._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1595
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1596
    states.append(st_1)
1597
    transitions = []
1598
    transitions.append(fac.Transition(st_0, [
1599
        fac.UpdateInstruction(cc_0, True) ]))
1600
    transitions.append(fac.Transition(st_1, [
1601
        fac.UpdateInstruction(cc_0, False) ]))
1602
    st_0._set_transitionSet(transitions)
1603
    transitions = []
1604
    transitions.append(fac.Transition(st_1, [
1605
        fac.UpdateInstruction(cc_1, True) ]))
1606
    st_1._set_transitionSet(transitions)
1607
    return fac.Automaton(states, counters, True, containing_state=None)
1608
VariationPoint._Automaton = _BuildAutomaton_9()
1609
1610
1611
1612
1613
def _BuildAutomaton_10 ():
1614
    # Remove this helper function from the namespace after it is invoked
1615
    global _BuildAutomaton_10
1616
    del _BuildAutomaton_10
1617
    import pyxb.utils.fac as fac
1618
1619
    counters = set()
1620
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1621
    counters.add(cc_0)
1622
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1623
    counters.add(cc_1)
1624
    states = []
1625
    final_update = set()
1626
    final_update.add(fac.UpdateInstruction(cc_0, False))
1627
    symbol = pyxb.binding.content.ElementUse(And_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1628
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1629
    states.append(st_0)
1630
    final_update = set()
1631
    final_update.add(fac.UpdateInstruction(cc_1, False))
1632
    symbol = pyxb.binding.content.ElementUse(And_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1633
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1634
    states.append(st_1)
1635
    transitions = []
1636
    transitions.append(fac.Transition(st_0, [
1637
        fac.UpdateInstruction(cc_0, True) ]))
1638
    transitions.append(fac.Transition(st_1, [
1639
        fac.UpdateInstruction(cc_0, False) ]))
1640
    st_0._set_transitionSet(transitions)
1641
    transitions = []
1642
    transitions.append(fac.Transition(st_1, [
1643
        fac.UpdateInstruction(cc_1, True) ]))
1644
    st_1._set_transitionSet(transitions)
1645
    return fac.Automaton(states, counters, True, containing_state=None)
1646
And_._Automaton = _BuildAutomaton_10()
1647
1648
1649
1650
1651
def _BuildAutomaton_11 ():
1652
    # Remove this helper function from the namespace after it is invoked
1653
    global _BuildAutomaton_11
1654
    del _BuildAutomaton_11
1655
    import pyxb.utils.fac as fac
1656
1657
    counters = set()
1658
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1659
    counters.add(cc_0)
1660
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1661
    counters.add(cc_1)
1662
    states = []
1663
    final_update = set()
1664
    final_update.add(fac.UpdateInstruction(cc_0, False))
1665
    symbol = pyxb.binding.content.ElementUse(Or_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1666
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1667
    states.append(st_0)
1668
    final_update = set()
1669
    final_update.add(fac.UpdateInstruction(cc_1, False))
1670
    symbol = pyxb.binding.content.ElementUse(Or_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1671
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1672
    states.append(st_1)
1673
    transitions = []
1674
    transitions.append(fac.Transition(st_0, [
1675
        fac.UpdateInstruction(cc_0, True) ]))
1676
    transitions.append(fac.Transition(st_1, [
1677
        fac.UpdateInstruction(cc_0, False) ]))
1678
    st_0._set_transitionSet(transitions)
1679
    transitions = []
1680
    transitions.append(fac.Transition(st_1, [
1681
        fac.UpdateInstruction(cc_1, True) ]))
1682
    st_1._set_transitionSet(transitions)
1683
    return fac.Automaton(states, counters, True, containing_state=None)
1684
Or_._Automaton = _BuildAutomaton_11()
1685
1686
1687
1688
1689
def _BuildAutomaton_12 ():
1690
    # Remove this helper function from the namespace after it is invoked
1691
    global _BuildAutomaton_12
1692
    del _BuildAutomaton_12
1693
    import pyxb.utils.fac as fac
1694
1695
    counters = set()
1696
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1697
    counters.add(cc_0)
1698
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1699
    counters.add(cc_1)
1700
    states = []
1701
    final_update = set()
1702
    final_update.add(fac.UpdateInstruction(cc_0, False))
1703
    symbol = pyxb.binding.content.ElementUse(Xor_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1704
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1705
    states.append(st_0)
1706
    final_update = set()
1707
    final_update.add(fac.UpdateInstruction(cc_1, False))
1708
    symbol = pyxb.binding.content.ElementUse(Xor_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1709
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1710
    states.append(st_1)
1711
    transitions = []
1712
    transitions.append(fac.Transition(st_0, [
1713
        fac.UpdateInstruction(cc_0, True) ]))
1714
    transitions.append(fac.Transition(st_1, [
1715
        fac.UpdateInstruction(cc_0, False) ]))
1716
    st_0._set_transitionSet(transitions)
1717
    transitions = []
1718
    transitions.append(fac.Transition(st_1, [
1719
        fac.UpdateInstruction(cc_1, True) ]))
1720
    st_1._set_transitionSet(transitions)
1721
    return fac.Automaton(states, counters, True, containing_state=None)
1722
Xor_._Automaton = _BuildAutomaton_12()
1723
1724
1725
1726
1727
def _BuildAutomaton_13 ():
1728
    # Remove this helper function from the namespace after it is invoked
1729
    global _BuildAutomaton_13
1730
    del _BuildAutomaton_13
1731
    import pyxb.utils.fac as fac
1732
1733
    counters = set()
1734
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1735
    counters.add(cc_0)
1736
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1737
    counters.add(cc_1)
1738
    states = []
1739
    final_update = set()
1740
    final_update.add(fac.UpdateInstruction(cc_0, False))
1741
    symbol = pyxb.binding.content.ElementUse(VotingOr_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1742
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1743
    states.append(st_0)
1744
    final_update = set()
1745
    final_update.add(fac.UpdateInstruction(cc_1, False))
1746
    symbol = pyxb.binding.content.ElementUse(VotingOr_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1747
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1748
    states.append(st_1)
1749
    transitions = []
1750
    transitions.append(fac.Transition(st_0, [
1751
        fac.UpdateInstruction(cc_0, True) ]))
1752
    transitions.append(fac.Transition(st_1, [
1753
        fac.UpdateInstruction(cc_0, False) ]))
1754
    st_0._set_transitionSet(transitions)
1755
    transitions = []
1756
    transitions.append(fac.Transition(st_1, [
1757
        fac.UpdateInstruction(cc_1, True) ]))
1758
    st_1._set_transitionSet(transitions)
1759
    return fac.Automaton(states, counters, True, containing_state=None)
1760
VotingOr_._Automaton = _BuildAutomaton_13()
1761
1762
1763
1764
1765
def _BuildAutomaton_14 ():
1766
    # Remove this helper function from the namespace after it is invoked
1767
    global _BuildAutomaton_14
1768
    del _BuildAutomaton_14
1769
    import pyxb.utils.fac as fac
1770
1771
    counters = set()
1772
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1773
    counters.add(cc_0)
1774
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1775
    counters.add(cc_1)
1776
    states = []
1777
    final_update = set()
1778
    final_update.add(fac.UpdateInstruction(cc_0, False))
1779
    symbol = pyxb.binding.content.ElementUse(TransferIn_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1780
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1781
    states.append(st_0)
1782
    final_update = set()
1783
    final_update.add(fac.UpdateInstruction(cc_1, False))
1784
    symbol = pyxb.binding.content.ElementUse(TransferIn_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1785
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1786
    states.append(st_1)
1787
    transitions = []
1788
    transitions.append(fac.Transition(st_0, [
1789
        fac.UpdateInstruction(cc_0, True) ]))
1790
    transitions.append(fac.Transition(st_1, [
1791
        fac.UpdateInstruction(cc_0, False) ]))
1792
    st_0._set_transitionSet(transitions)
1793
    transitions = []
1794
    transitions.append(fac.Transition(st_1, [
1795
        fac.UpdateInstruction(cc_1, True) ]))
1796
    st_1._set_transitionSet(transitions)
1797
    return fac.Automaton(states, counters, True, containing_state=None)
1798
TransferIn_._Automaton = _BuildAutomaton_14()
1799
1800
1801
1802
1803
def _BuildAutomaton_15 ():
1804
    # Remove this helper function from the namespace after it is invoked
1805
    global _BuildAutomaton_15
1806
    del _BuildAutomaton_15
1807
    import pyxb.utils.fac as fac
1808
1809
    counters = set()
1810
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1811
    counters.add(cc_0)
1812
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1813
    counters.add(cc_1)
1814
    states = []
1815
    final_update = set()
1816
    final_update.add(fac.UpdateInstruction(cc_0, False))
1817
    symbol = pyxb.binding.content.ElementUse(FeatureVariationPoint_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1818
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1819
    states.append(st_0)
1820
    final_update = set()
1821
    final_update.add(fac.UpdateInstruction(cc_1, False))
1822
    symbol = pyxb.binding.content.ElementUse(FeatureVariationPoint_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1823
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1824
    states.append(st_1)
1825
    transitions = []
1826
    transitions.append(fac.Transition(st_0, [
1827
        fac.UpdateInstruction(cc_0, True) ]))
1828
    transitions.append(fac.Transition(st_1, [
1829
        fac.UpdateInstruction(cc_0, False) ]))
1830
    st_0._set_transitionSet(transitions)
1831
    transitions = []
1832
    transitions.append(fac.Transition(st_1, [
1833
        fac.UpdateInstruction(cc_1, True) ]))
1834
    st_1._set_transitionSet(transitions)
1835
    return fac.Automaton(states, counters, True, containing_state=None)
1836
FeatureVariationPoint_._Automaton = _BuildAutomaton_15()
1837
1838
1839
1840
1841
def _BuildAutomaton_16 ():
1842
    # Remove this helper function from the namespace after it is invoked
1843
    global _BuildAutomaton_16
1844
    del _BuildAutomaton_16
1845
    import pyxb.utils.fac as fac
1846
1847
    counters = set()
1848
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1849
    counters.add(cc_0)
1850
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1851
    counters.add(cc_1)
1852
    states = []
1853
    final_update = set()
1854
    final_update.add(fac.UpdateInstruction(cc_0, False))
1855
    symbol = pyxb.binding.content.ElementUse(RedundancyVariationPoint_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1856
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1857
    states.append(st_0)
1858
    final_update = set()
1859
    final_update.add(fac.UpdateInstruction(cc_1, False))
1860
    symbol = pyxb.binding.content.ElementUse(RedundancyVariationPoint_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1861
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1862
    states.append(st_1)
1863
    transitions = []
1864
    transitions.append(fac.Transition(st_0, [
1865
        fac.UpdateInstruction(cc_0, True) ]))
1866
    transitions.append(fac.Transition(st_1, [
1867
        fac.UpdateInstruction(cc_0, False) ]))
1868
    st_0._set_transitionSet(transitions)
1869
    transitions = []
1870
    transitions.append(fac.Transition(st_1, [
1871
        fac.UpdateInstruction(cc_1, True) ]))
1872
    st_1._set_transitionSet(transitions)
1873
    return fac.Automaton(states, counters, True, containing_state=None)
1874
RedundancyVariationPoint_._Automaton = _BuildAutomaton_16()
1875
1876
1877
1878
1879
def _BuildAutomaton_17 ():
1880
    # Remove this helper function from the namespace after it is invoked
1881
    global _BuildAutomaton_17
1882
    del _BuildAutomaton_17
1883
    import pyxb.utils.fac as fac
1884
1885
    counters = set()
1886
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1887
    counters.add(cc_0)
1888
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1889
    counters.add(cc_1)
1890
    states = []
1891
    final_update = set()
1892
    final_update.add(fac.UpdateInstruction(cc_0, False))
1893
    symbol = pyxb.binding.content.ElementUse(InclusionVariationPoint._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1894
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1895
    states.append(st_0)
1896
    final_update = set()
1897
    final_update.add(fac.UpdateInstruction(cc_1, False))
1898
    symbol = pyxb.binding.content.ElementUse(InclusionVariationPoint._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1899
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1900
    states.append(st_1)
1901
    transitions = []
1902
    transitions.append(fac.Transition(st_0, [
1903
        fac.UpdateInstruction(cc_0, True) ]))
1904
    transitions.append(fac.Transition(st_1, [
1905
        fac.UpdateInstruction(cc_0, False) ]))
1906
    st_0._set_transitionSet(transitions)
1907
    transitions = []
1908
    transitions.append(fac.Transition(st_1, [
1909
        fac.UpdateInstruction(cc_1, True) ]))
1910
    st_1._set_transitionSet(transitions)
1911
    return fac.Automaton(states, counters, True, containing_state=None)
1912
InclusionVariationPoint._Automaton = _BuildAutomaton_17()
1913
1914
1915
1916
1917
def _BuildAutomaton_18 ():
1918
    # Remove this helper function from the namespace after it is invoked
1919
    global _BuildAutomaton_18
1920
    del _BuildAutomaton_18
1921
    import pyxb.utils.fac as fac
1922
1923
    counters = set()
1924
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1925
    counters.add(cc_0)
1926
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1927
    counters.add(cc_1)
1928
    states = []
1929
    final_update = set()
1930
    final_update.add(fac.UpdateInstruction(cc_0, False))
1931
    symbol = pyxb.binding.content.ElementUse(UndevelopedEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1932
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1933
    states.append(st_0)
1934
    final_update = set()
1935
    final_update.add(fac.UpdateInstruction(cc_1, False))
1936
    symbol = pyxb.binding.content.ElementUse(UndevelopedEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1937
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1938
    states.append(st_1)
1939
    transitions = []
1940
    transitions.append(fac.Transition(st_0, [
1941
        fac.UpdateInstruction(cc_0, True) ]))
1942
    transitions.append(fac.Transition(st_1, [
1943
        fac.UpdateInstruction(cc_0, False) ]))
1944
    st_0._set_transitionSet(transitions)
1945
    transitions = []
1946
    transitions.append(fac.Transition(st_1, [
1947
        fac.UpdateInstruction(cc_1, True) ]))
1948
    st_1._set_transitionSet(transitions)
1949
    return fac.Automaton(states, counters, True, containing_state=None)
1950
UndevelopedEvent_._Automaton = _BuildAutomaton_18()
1951
1952
1953
1954
1955
BasicEvent_._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, 'probability'), Probability, scope=BasicEvent_, location=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 147, 20)))
1956
1957
def _BuildAutomaton_19 ():
1958
    # Remove this helper function from the namespace after it is invoked
1959
    global _BuildAutomaton_19
1960
    del _BuildAutomaton_19
1961
    import pyxb.utils.fac as fac
1962
1963
    counters = set()
1964
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1965
    counters.add(cc_0)
1966
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1967
    counters.add(cc_1)
1968
    states = []
1969
    final_update = None
1970
    symbol = pyxb.binding.content.ElementUse(BasicEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
1971
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1972
    states.append(st_0)
1973
    final_update = None
1974
    symbol = pyxb.binding.content.ElementUse(BasicEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
1975
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1976
    states.append(st_1)
1977
    final_update = set()
1978
    symbol = pyxb.binding.content.ElementUse(BasicEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'probability')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 147, 20))
1979
    st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
1980
    states.append(st_2)
1981
    transitions = []
1982
    transitions.append(fac.Transition(st_0, [
1983
        fac.UpdateInstruction(cc_0, True) ]))
1984
    transitions.append(fac.Transition(st_1, [
1985
        fac.UpdateInstruction(cc_0, False) ]))
1986
    transitions.append(fac.Transition(st_2, [
1987
        fac.UpdateInstruction(cc_0, False) ]))
1988
    st_0._set_transitionSet(transitions)
1989
    transitions = []
1990
    transitions.append(fac.Transition(st_1, [
1991
        fac.UpdateInstruction(cc_1, True) ]))
1992
    transitions.append(fac.Transition(st_2, [
1993
        fac.UpdateInstruction(cc_1, False) ]))
1994
    st_1._set_transitionSet(transitions)
1995
    transitions = []
1996
    st_2._set_transitionSet(transitions)
1997
    return fac.Automaton(states, counters, False, containing_state=None)
1998
BasicEvent_._Automaton = _BuildAutomaton_19()
1999
2000
2001
2002
2003
def _BuildAutomaton_20 ():
2004
    # Remove this helper function from the namespace after it is invoked
2005
    global _BuildAutomaton_20
2006
    del _BuildAutomaton_20
2007
    import pyxb.utils.fac as fac
2008
2009
    counters = set()
2010
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2011
    counters.add(cc_0)
2012
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2013
    counters.add(cc_1)
2014
    states = []
2015
    final_update = set()
2016
    final_update.add(fac.UpdateInstruction(cc_0, False))
2017
    symbol = pyxb.binding.content.ElementUse(IntermediateEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2018
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2019
    states.append(st_0)
2020
    final_update = set()
2021
    final_update.add(fac.UpdateInstruction(cc_1, False))
2022
    symbol = pyxb.binding.content.ElementUse(IntermediateEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2023
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2024
    states.append(st_1)
2025
    transitions = []
2026
    transitions.append(fac.Transition(st_0, [
2027
        fac.UpdateInstruction(cc_0, True) ]))
2028
    transitions.append(fac.Transition(st_1, [
2029
        fac.UpdateInstruction(cc_0, False) ]))
2030
    st_0._set_transitionSet(transitions)
2031
    transitions = []
2032
    transitions.append(fac.Transition(st_1, [
2033
        fac.UpdateInstruction(cc_1, True) ]))
2034
    st_1._set_transitionSet(transitions)
2035
    return fac.Automaton(states, counters, True, containing_state=None)
2036
IntermediateEvent_._Automaton = _BuildAutomaton_20()
2037
2038
2039
2040
2041
def _BuildAutomaton_21 ():
2042
    # Remove this helper function from the namespace after it is invoked
2043
    global _BuildAutomaton_21
2044
    del _BuildAutomaton_21
2045
    import pyxb.utils.fac as fac
2046
2047
    counters = set()
2048
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2049
    counters.add(cc_0)
2050
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2051
    counters.add(cc_1)
2052
    states = []
2053
    final_update = None
2054
    symbol = pyxb.binding.content.ElementUse(HouseEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2055
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2056
    states.append(st_0)
2057
    final_update = None
2058
    symbol = pyxb.binding.content.ElementUse(HouseEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2059
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2060
    states.append(st_1)
2061
    final_update = set()
2062
    symbol = pyxb.binding.content.ElementUse(HouseEvent_._UseForTag(pyxb.namespace.ExpandedName(None, 'probability')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 147, 20))
2063
    st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2064
    states.append(st_2)
2065
    transitions = []
2066
    transitions.append(fac.Transition(st_0, [
2067
        fac.UpdateInstruction(cc_0, True) ]))
2068
    transitions.append(fac.Transition(st_1, [
2069
        fac.UpdateInstruction(cc_0, False) ]))
2070
    transitions.append(fac.Transition(st_2, [
2071
        fac.UpdateInstruction(cc_0, False) ]))
2072
    st_0._set_transitionSet(transitions)
2073
    transitions = []
2074
    transitions.append(fac.Transition(st_1, [
2075
        fac.UpdateInstruction(cc_1, True) ]))
2076
    transitions.append(fac.Transition(st_2, [
2077
        fac.UpdateInstruction(cc_1, False) ]))
2078
    st_1._set_transitionSet(transitions)
2079
    transitions = []
2080
    st_2._set_transitionSet(transitions)
2081
    return fac.Automaton(states, counters, False, containing_state=None)
2082
HouseEvent_._Automaton = _BuildAutomaton_21()
2083
2084
2085
2086
2087
def _BuildAutomaton_22 ():
2088
    # Remove this helper function from the namespace after it is invoked
2089
    global _BuildAutomaton_22
2090
    del _BuildAutomaton_22
2091
    import pyxb.utils.fac as fac
2092
2093
    counters = set()
2094
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2095
    counters.add(cc_0)
2096
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2097
    counters.add(cc_1)
2098
    states = []
2099
    final_update = None
2100
    symbol = pyxb.binding.content.ElementUse(BasicEventSet_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2101
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2102
    states.append(st_0)
2103
    final_update = None
2104
    symbol = pyxb.binding.content.ElementUse(BasicEventSet_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2105
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2106
    states.append(st_1)
2107
    final_update = set()
2108
    symbol = pyxb.binding.content.ElementUse(BasicEventSet_._UseForTag(pyxb.namespace.ExpandedName(None, 'probability')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 147, 20))
2109
    st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2110
    states.append(st_2)
2111
    transitions = []
2112
    transitions.append(fac.Transition(st_0, [
2113
        fac.UpdateInstruction(cc_0, True) ]))
2114
    transitions.append(fac.Transition(st_1, [
2115
        fac.UpdateInstruction(cc_0, False) ]))
2116
    transitions.append(fac.Transition(st_2, [
2117
        fac.UpdateInstruction(cc_0, False) ]))
2118
    st_0._set_transitionSet(transitions)
2119
    transitions = []
2120
    transitions.append(fac.Transition(st_1, [
2121
        fac.UpdateInstruction(cc_1, True) ]))
2122
    transitions.append(fac.Transition(st_2, [
2123
        fac.UpdateInstruction(cc_1, False) ]))
2124
    st_1._set_transitionSet(transitions)
2125
    transitions = []
2126
    st_2._set_transitionSet(transitions)
2127
    return fac.Automaton(states, counters, False, containing_state=None)
2128
BasicEventSet_._Automaton = _BuildAutomaton_22()
2129
2130
2131
2132
2133
def _BuildAutomaton_23 ():
2134
    # Remove this helper function from the namespace after it is invoked
2135
    global _BuildAutomaton_23
2136
    del _BuildAutomaton_23
2137
    import pyxb.utils.fac as fac
2138
2139
    counters = set()
2140
    cc_0 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2141
    counters.add(cc_0)
2142
    cc_1 = fac.CounterCondition(min=0, max=None, metadata=pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2143
    counters.add(cc_1)
2144
    states = []
2145
    final_update = set()
2146
    final_update.add(fac.UpdateInstruction(cc_0, False))
2147
    symbol = pyxb.binding.content.ElementUse(IntermediateEventSet_._UseForTag(pyxb.namespace.ExpandedName(None, 'annotations')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 10, 12))
2148
    st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2149
    states.append(st_0)
2150
    final_update = set()
2151
    final_update.add(fac.UpdateInstruction(cc_1, False))
2152
    symbol = pyxb.binding.content.ElementUse(IntermediateEventSet_._UseForTag(pyxb.namespace.ExpandedName(None, 'children')), pyxb.utils.utility.Location('/ore-common/xsd/fuzztree.xsd', 27, 20))
2153
    st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
2154
    states.append(st_1)
2155
    transitions = []
2156
    transitions.append(fac.Transition(st_0, [
2157
        fac.UpdateInstruction(cc_0, True) ]))
2158
    transitions.append(fac.Transition(st_1, [
2159
        fac.UpdateInstruction(cc_0, False) ]))
2160
    st_0._set_transitionSet(transitions)
2161
    transitions = []
2162
    transitions.append(fac.Transition(st_1, [
2163
        fac.UpdateInstruction(cc_1, True) ]))
2164
    st_1._set_transitionSet(transitions)
2165
    return fac.Automaton(states, counters, True, containing_state=None)
2166
IntermediateEventSet_._Automaton = _BuildAutomaton_23()
2167
2168