~peta-power-group/vide/trunk

« back to all changes in this revision

Viewing changes to net.launchpad.vide.flowchart/model/algorithm.ecore

  • Committer: Dražen Lučanin
  • Date: 2011-03-16 15:10:44 UTC
  • mfrom: (19.1.4 trunk-fix)
  • Revision ID: kermit666@gmail.com-20110316151044-lptza0u290bvi72q
Merged old changes I forgot to pull before... :(

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
      <details key="documentation" value="According to D. E. Knuth informally, an algorithm is a sequence of instructions that has the following characteristics:&#xA;- finiteness&#xA;- definiteness&#xA;- input&#xA;- output&#xA;- effectiveness&#xA;&#xA;This is a graph consisting of individual commands as nodes."/>
9
9
    </eAnnotations>
10
10
    <eOperations name="getFirstInstruction" eType="#//Instruction"/>
 
11
    <eOperations name="getWhileLanguageRepresentation"/>
11
12
    <eStructuralFeatures xsi:type="ecore:EReference" name="instructions" upperBound="-1"
12
13
        eType="#//Instruction" containment="true"/>
13
14
  </eClassifiers>
25
26
    <eStructuralFeatures xsi:type="ecore:EReference" name="false" eType="#//Instruction"/>
26
27
    <eStructuralFeatures xsi:type="ecore:EReference" name="true" eType="#//Instruction"/>
27
28
  </eClassifiers>
 
29
  <eClassifiers xsi:type="ecore:EClass" name="WhileLanguageAlgorithm">
 
30
    <eStructuralFeatures xsi:type="ecore:EReference" name="instructions" upperBound="-1"
 
31
        eType="#//WhileLanguageInstruction" containment="true"/>
 
32
  </eClassifiers>
 
33
  <eClassifiers xsi:type="ecore:EClass" name="WhileLanguageInstruction">
 
34
    <eStructuralFeatures xsi:type="ecore:EReference" name="next" eType="#//WhileLanguageInstruction"/>
 
35
  </eClassifiers>
 
36
  <eClassifiers xsi:type="ecore:EClass" name="While" eSuperTypes="#//WhileLanguageInstruction">
 
37
    <eStructuralFeatures xsi:type="ecore:EReference" name="body" lowerBound="1" eType="#//WhileLanguageBlock"/>
 
38
    <eStructuralFeatures xsi:type="ecore:EReference" name="false" eType="#//WhileLanguageBlock"/>
 
39
    <eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1"
 
40
        eType="#//BooleanExpression"/>
 
41
  </eClassifiers>
 
42
  <eClassifiers xsi:type="ecore:EClass" name="If" eSuperTypes="#//WhileLanguageInstruction">
 
43
    <eStructuralFeatures xsi:type="ecore:EReference" name="true" lowerBound="1" eType="#//WhileLanguageBlock"/>
 
44
    <eStructuralFeatures xsi:type="ecore:EReference" name="false" eType="#//WhileLanguageBlock"/>
 
45
    <eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1"
 
46
        eType="#//BooleanExpression"/>
 
47
  </eClassifiers>
 
48
  <eClassifiers xsi:type="ecore:EClass" name="WhileLanguageBlock">
 
49
    <eStructuralFeatures xsi:type="ecore:EReference" name="instructions" lowerBound="1"
 
50
        upperBound="-1" eType="#//SingleInstruction"/>
 
51
  </eClassifiers>
 
52
  <eClassifiers xsi:type="ecore:EClass" name="BooleanExpression"/>
 
53
  <eClassifiers xsi:type="ecore:EClass" name="SingleInstruction" eSuperTypes="#//WhileLanguageInstruction"/>
28
54
</ecore:EPackage>