File: substitution_types.xml

package info (click to toggle)
scram 0.16.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,016 kB
  • sloc: xml: 120,766; cpp: 23,966; python: 1,256; ansic: 100; makefile: 9
file content (87 lines) | stat: -rw-r--r-- 2,121 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0"?>
<opsa-mef>
  <define-substitution name="DeleteTwoExclusive" type="delete-terms">
    <hypothesis>
      <and>
        <event name="A"/>
        <event name="B"/>
      </and>
    </hypothesis>
    <target>
      <constant value="false"/>
    </target>
  </define-substitution>
  <define-substitution name="DeleteGeneral" type="delete-terms">
    <hypothesis>
      <atleast min="2">
        <event name="A"/>
        <event name="B"/>
        <event name="C"/>
      </atleast>
    </hypothesis>
    <target>
      <constant value="false"/>
    </target>
  </define-substitution>
  <define-substitution name="RecoveryDeclarative" type="recovery-rule">
    <hypothesis>
      <and>
        <event name="A"/>
        <event name="B"/>
      </and>
    </hypothesis>
    <target>
      <basic-event name="C"/>
    </target>
  </define-substitution>
  <define-substitution name="RecoveryNonDeclarative" type="recovery-rule">
    <hypothesis>
      <and>
        <event name="A"/>
        <event name="B"/>
      </and>
    </hypothesis>
    <source>
      <basic-event name="A"/>
      <basic-event name="B"/>
    </source>
    <target>
      <basic-event name="D"/>
    </target>
  </define-substitution>
  <define-substitution name="RecoverySingle" type="recovery-rule">
    <hypothesis>
      <event name="E"/>
    </hypothesis>
    <source>
      <basic-event name="E"/>
    </source>
    <target>
      <basic-event name="D"/>
    </target>
  </define-substitution>
  <define-substitution name="ExchangeEvent" type="exchange-event">
    <hypothesis>
      <and>
        <event name="F"/>
        <event name="G"/>
        <event name="C"/>
      </and>
    </hypothesis>
    <source>
      <basic-event name="C"/>
    </source>
    <target>
      <basic-event name="D"/>
    </target>
  </define-substitution>
  <model-data>
    <define-basic-event name="A"/>
    <define-basic-event name="B"/>
    <define-basic-event name="C"/>
    <define-basic-event name="D"/>
    <define-basic-event name="E"/>
    <define-basic-event name="F"/>
    <define-basic-event name="G"/>
  </model-data>
</opsa-mef>