robo
Robot
programms
setup
Setup
leftMotor
rightMotor
sensors
Motor
port
type
speed
reversed
false
MotorPort
A
A
B
B
C
C
D
D
MotorType
LARGE
LARGE
MEDIUM
MEDIUM
Sensor
port
type
mode
name
SensorPort
S1
S1
S2
S2
S3
S3
S4
S4
SensorType
COLOR
COLOR
SensorMode
RED
RED
AMBIENT
AMBIENT
COLOR_ID
COLOR_ID
Program
name
commands
command
Command
Drive
distance
until
direction
Loop
condition
commands
Branch
condition
commands
Assignment
variable
value
Direction
FORWARD
FORWARD
BACKWARD
BACKWARD
LEFT
LEFT
RIGHT
RIGHT
expression
Expr
evaluate
Variable
name
Operation
left
right
operator
Literal
value
ExprOperation
PLUS
PLUS
MINUS
MINUS
MULTIPLY
MULTIPLY
DIVIDE
DIVIDE
condition
Condition
evaluate
Comparison
left
right
operator
ComparisonOperator
LESS
LESS
LESS_OR_EQUAL
LESS_OR_EQUAL
GREATER_OR_EQUAL
GREATER_OR_EQUAL
GREATER
GREATER
EQUAL
EQUAL
UNEQUAL
UNEQUAL
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="robo" nsURI="http://www.example.org/robo" nsPrefix="robo">
  <eAnnotations source="http://www.eclipse.org/OCL/Import">
    <details key="ecore" value="http://www.eclipse.org/emf/2002/Ecore"/>
  </eAnnotations>
  <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
    <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" name="Robot">
    <eStructuralFeatures xsi:type="ecore:EReference" name="programms" upperBound="-1"
        eType="#//Program" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="setup" lowerBound="1" eType="#//Setup"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Setup">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="DifferentMotorPorts"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="DifferentMotorPorts" value="leftMotor.port &lt;> rightMotor.port"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="leftMotor" lowerBound="1"
        eType="#//Motor" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rightMotor" lowerBound="1"
        eType="#//Motor" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="sensors" upperBound="-1"
        eType="#//Sensor" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Motor">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" lowerBound="1" eType="#//MotorPort"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="#//MotorType"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="speed" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="reversed" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="MotorPort">
    <eLiterals name="A"/>
    <eLiterals name="B" value="1"/>
    <eLiterals name="C" value="2"/>
    <eLiterals name="D" value="3"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="MotorType">
    <eLiterals name="LARGE"/>
    <eLiterals name="MEDIUM" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Sensor">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="ModeAndTypeMatches"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="ModeAndTypeMatches" value="&#xA;&#x9;&#x9;&#x9;(mode = SensorMode::RED implies type = SensorType::COLOR)&#xA;&#x9;&#x9;&#x9;and (mode = SensorMode::AMBIENT implies type = SensorType::COLOR)&#xA;&#x9;&#x9;&#x9;and (mode = SensorMode::COLOR_ID implies type = SensorType::COLOR)&#xA;&#x9;&#x9;"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" lowerBound="1" eType="#//SensorPort"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="#//SensorType"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="mode" lowerBound="1" eType="#//SensorMode"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="SensorPort">
    <eLiterals name="S1"/>
    <eLiterals name="S2" value="1"/>
    <eLiterals name="S3" value="2"/>
    <eLiterals name="S4" value="3"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="SensorType">
    <eLiterals name="COLOR"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="SensorMode">
    <eLiterals name="RED"/>
    <eLiterals name="AMBIENT" value="1"/>
    <eLiterals name="COLOR_ID" value="2"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Program">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="commands" upperBound="-1"
        eType="#//command/Command" containment="true"/>
  </eClassifiers>
  <eSubpackages name="command" nsURI="http://www.example.org/robo/command" nsPrefix="command">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
      <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
      <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    </eAnnotations>
    <eClassifiers xsi:type="ecore:EClass" name="Command" abstract="true"/>
    <eClassifiers xsi:type="ecore:EClass" name="Drive" eSuperTypes="#//command/Command">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
        <details key="constraints" value="UntilOrDistance UntilOnlyWhenForwardOrBackward"/>
      </eAnnotations>
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="UntilOrDistance" value="(distance &lt;> null) xor (until &lt;> null)"/>
        <details key="UntilOnlyWhenForwardOrBackward" value="(until &lt;> null) implies (direction = Direction::FORWARD or direction = Direction::BACKWARD)"/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="distance" eType="#//expression/Expr"
          containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="until" eType="#//condition/Condition"
          containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" lowerBound="1"
          eType="#//command/Direction"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Loop" eSuperTypes="#//command/Command">
      <eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1"
          eType="#//condition/Condition" containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="commands" upperBound="-1"
          eType="#//command/Command" containment="true"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Branch" eSuperTypes="#//command/Command">
      <eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1"
          eType="#//condition/Condition" containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="commands" upperBound="-1"
          eType="#//command/Command" containment="true"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Assignment" eSuperTypes="#//command/Command">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="variable" lowerBound="1"
          eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="value" lowerBound="1"
          eType="#//expression/Expr" containment="true"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EEnum" name="Direction">
      <eLiterals name="FORWARD"/>
      <eLiterals name="BACKWARD" value="1"/>
      <eLiterals name="LEFT" value="2"/>
      <eLiterals name="RIGHT" value="3"/>
    </eClassifiers>
  </eSubpackages>
  <eSubpackages name="expression" nsURI="http://www.example.org/robo/expression" nsPrefix="expression">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
      <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
      <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    </eAnnotations>
    <eClassifiers xsi:type="ecore:EClass" name="Expr" abstract="true">
      <eOperations name="evaluate" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Variable" eSuperTypes="#//expression/Expr">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
          eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Operation" eSuperTypes="#//expression/Expr">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
        <details key="constraints" value="LeftCanOnlyBeOmmittedIfUnaryMinus"/>
      </eAnnotations>
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="LeftCanOnlyBeOmmittedIfUnaryMinus" value="left = null implies operator = ExprOperation::MINUS"/>
      </eAnnotations>
      <eStructuralFeatures xsi:type="ecore:EReference" name="left" eType="#//expression/Expr"
          containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="right" lowerBound="1"
          eType="#//expression/Expr" containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" lowerBound="1"
          eType="#//expression/ExprOperation"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Literal" eSuperTypes="#//expression/Expr">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" lowerBound="1"
          eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EEnum" name="ExprOperation">
      <eLiterals name="PLUS"/>
      <eLiterals name="MINUS" value="1"/>
      <eLiterals name="MULTIPLY" value="2"/>
      <eLiterals name="DIVIDE" value="3"/>
    </eClassifiers>
  </eSubpackages>
  <eSubpackages name="condition" nsURI="http://www.example.org/robo/condition" nsPrefix="condition">
    <eClassifiers xsi:type="ecore:EClass" name="Condition" abstract="true">
      <eOperations name="evaluate" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Comparison" eSuperTypes="#//condition/Condition">
      <eStructuralFeatures xsi:type="ecore:EReference" name="left" lowerBound="1"
          eType="#//expression/Expr" containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="right" lowerBound="1"
          eType="#//expression/Expr" containment="true"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" lowerBound="1"
          eType="#//condition/ComparisonOperator"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EEnum" name="ComparisonOperator">
      <eLiterals name="LESS"/>
      <eLiterals name="LESS_OR_EQUAL" value="1"/>
      <eLiterals name="GREATER_OR_EQUAL" value="2"/>
      <eLiterals name="GREATER" value="3"/>
      <eLiterals name="EQUAL" value="4"/>
      <eLiterals name="UNEQUAL" value="5"/>
    </eClassifiers>
  </eSubpackages>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"robo","nsURI":"http://www.example.org/robo","name":"robo","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Robot","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Setup","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Motor","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"MotorPort","instanceClass":null,"id":4,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"instanceClassName":null,"name":"MotorType","instanceClass":null,"id":5,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Sensor","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"SensorPort","instanceClass":null,"id":7,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"instanceClassName":null,"name":"SensorType","instanceClass":null,"id":8,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"instanceClassName":null,"name":"SensorMode","instanceClass":null,"id":9,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Program","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"nsPrefix":"command","nsURI":"http://www.example.org/robo/command","name":"command","id":11,"eClass":"EPackage"},{"nsPrefix":"expression","nsURI":"http://www.example.org/robo/expression","name":"expression","id":12,"eClass":"EPackage"},{"nsPrefix":"condition","nsURI":"http://www.example.org/robo/condition","name":"condition","id":13,"eClass":"EPackage"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"programms","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"setup","changeable":true,"resolveProxies":true,"lowerBound":1,"id":15,"derived":false},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"leftMotor","changeable":true,"resolveProxies":true,"lowerBound":1,"id":18,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"rightMotor","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"sensors","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"derived":false},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"port","changeable":true,"lowerBound":1,"iD":false,"id":24,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":1,"iD":false,"id":25,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"speed","changeable":true,"lowerBound":1,"iD":false,"id":26,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":"false","unsettable":false,"transient":false,"unique":true,"name":"reversed","changeable":true,"lowerBound":1,"iD":false,"id":27,"derived":false},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"name":"A","id":32,"value":0,"literal":"A","eClass":"EEnumLiteral"},{"name":"B","id":33,"value":1,"literal":"B","eClass":"EEnumLiteral"},{"name":"C","id":34,"value":2,"literal":"C","eClass":"EEnumLiteral"},{"name":"D","id":35,"value":3,"literal":"D","eClass":"EEnumLiteral"},{"name":"LARGE","id":36,"value":0,"literal":"LARGE","eClass":"EEnumLiteral"},{"name":"MEDIUM","id":37,"value":1,"literal":"MEDIUM","eClass":"EEnumLiteral"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"port","changeable":true,"lowerBound":1,"iD":false,"id":38,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":1,"iD":false,"id":39,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"mode","changeable":true,"lowerBound":1,"iD":false,"id":40,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":41,"derived":false},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"name":"S1","id":46,"value":0,"literal":"S1","eClass":"EEnumLiteral"},{"name":"S2","id":47,"value":1,"literal":"S2","eClass":"EEnumLiteral"},{"name":"S3","id":48,"value":2,"literal":"S3","eClass":"EEnumLiteral"},{"name":"S4","id":49,"value":3,"literal":"S4","eClass":"EEnumLiteral"},{"name":"COLOR","id":50,"value":0,"literal":"COLOR","eClass":"EEnumLiteral"},{"name":"RED","id":51,"value":0,"literal":"RED","eClass":"EEnumLiteral"},{"name":"AMBIENT","id":52,"value":1,"literal":"AMBIENT","eClass":"EEnumLiteral"},{"name":"COLOR_ID","id":53,"value":2,"literal":"COLOR_ID","eClass":"EEnumLiteral"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":54,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"commands","changeable":true,"resolveProxies":true,"lowerBound":0,"id":55,"derived":false},{"id":56,"eClass":"EGenericType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Command","instanceClass":null,"abstract":true,"id":57,"interface":false,"eClass":"EClass"},{"id":58,"eClass":"EGenericType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Drive","instanceClass":null,"abstract":false,"id":59,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Loop","instanceClass":null,"abstract":false,"id":60,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Branch","instanceClass":null,"abstract":false,"id":61,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Assignment","instanceClass":null,"abstract":false,"id":62,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"Direction","instanceClass":null,"id":63,"serializable":true,"eClass":"EEnum"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"distance","changeable":true,"resolveProxies":true,"lowerBound":0,"id":64,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"until","changeable":true,"resolveProxies":true,"lowerBound":0,"id":65,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"direction","changeable":true,"lowerBound":1,"iD":false,"id":66,"derived":false},{"id":67,"eClass":"EGenericType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Expr","instanceClass":null,"abstract":true,"id":68,"interface":false,"eClass":"EClass"},{"id":69,"eClass":"EGenericType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Condition","instanceClass":null,"abstract":true,"id":70,"interface":false,"eClass":"EClass"},{"id":71,"eClass":"EGenericType"},{"id":72,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"condition","changeable":true,"resolveProxies":true,"lowerBound":1,"id":73,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"commands","changeable":true,"resolveProxies":true,"lowerBound":0,"id":74,"derived":false},{"id":75,"eClass":"EGenericType"},{"id":76,"eClass":"EGenericType"},{"id":77,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"condition","changeable":true,"resolveProxies":true,"lowerBound":1,"id":78,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"commands","changeable":true,"resolveProxies":true,"lowerBound":0,"id":79,"derived":false},{"id":80,"eClass":"EGenericType"},{"id":81,"eClass":"EGenericType"},{"id":82,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"variable","changeable":true,"lowerBound":1,"iD":false,"id":83,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"value","changeable":true,"resolveProxies":true,"lowerBound":1,"id":84,"derived":false},{"id":85,"eClass":"EGenericType"},{"id":86,"eClass":"EGenericType"},{"id":87,"eClass":"EGenericType"},{"name":"FORWARD","id":88,"value":0,"literal":"FORWARD","eClass":"EEnumLiteral"},{"name":"BACKWARD","id":89,"value":1,"literal":"BACKWARD","eClass":"EEnumLiteral"},{"name":"LEFT","id":90,"value":2,"literal":"LEFT","eClass":"EEnumLiteral"},{"name":"RIGHT","id":91,"value":3,"literal":"RIGHT","eClass":"EEnumLiteral"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Variable","instanceClass":null,"abstract":false,"id":92,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Operation","instanceClass":null,"abstract":false,"id":93,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Literal","instanceClass":null,"abstract":false,"id":94,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"ExprOperation","instanceClass":null,"id":95,"serializable":true,"eClass":"EEnum"},{"ordered":true,"upperBound":1,"unique":true,"name":"evaluate","lowerBound":1,"id":96,"many":false,"required":true,"eClass":"EOperation"},{"id":97,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":98,"derived":false},{"id":99,"eClass":"EGenericType"},{"id":100,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"left","changeable":true,"resolveProxies":true,"lowerBound":0,"id":101,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"right","changeable":true,"resolveProxies":true,"lowerBound":1,"id":102,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"operator","changeable":true,"lowerBound":1,"iD":false,"id":103,"derived":false},{"id":104,"eClass":"EGenericType"},{"id":105,"eClass":"EGenericType"},{"id":106,"eClass":"EGenericType"},{"id":107,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"value","changeable":true,"lowerBound":1,"iD":false,"id":108,"derived":false},{"id":109,"eClass":"EGenericType"},{"id":110,"eClass":"EGenericType"},{"name":"PLUS","id":111,"value":0,"literal":"PLUS","eClass":"EEnumLiteral"},{"name":"MINUS","id":112,"value":1,"literal":"MINUS","eClass":"EEnumLiteral"},{"name":"MULTIPLY","id":113,"value":2,"literal":"MULTIPLY","eClass":"EEnumLiteral"},{"name":"DIVIDE","id":114,"value":3,"literal":"DIVIDE","eClass":"EEnumLiteral"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Comparison","instanceClass":null,"abstract":false,"id":115,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"ComparisonOperator","instanceClass":null,"id":116,"serializable":true,"eClass":"EEnum"},{"ordered":true,"upperBound":1,"unique":true,"name":"evaluate","lowerBound":1,"id":117,"many":false,"required":true,"eClass":"EOperation"},{"id":118,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"left","changeable":true,"resolveProxies":true,"lowerBound":1,"id":119,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"right","changeable":true,"resolveProxies":true,"lowerBound":1,"id":120,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"operator","changeable":true,"lowerBound":1,"iD":false,"id":121,"derived":false},{"id":122,"eClass":"EGenericType"},{"id":123,"eClass":"EGenericType"},{"id":124,"eClass":"EGenericType"},{"id":125,"eClass":"EGenericType"},{"name":"LESS","id":126,"value":0,"literal":"LESS","eClass":"EEnumLiteral"},{"name":"LESS_OR_EQUAL","id":127,"value":1,"literal":"LESS_OR_EQUAL","eClass":"EEnumLiteral"},{"name":"GREATER_OR_EQUAL","id":128,"value":2,"literal":"GREATER_OR_EQUAL","eClass":"EEnumLiteral"},{"name":"GREATER","id":129,"value":3,"literal":"GREATER","eClass":"EEnumLiteral"},{"name":"EQUAL","id":130,"value":4,"literal":"EQUAL","eClass":"EEnumLiteral"},{"name":"UNEQUAL","id":131,"value":5,"literal":"UNEQUAL","eClass":"EEnumLiteral"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":0,"target":7},{"source":0,"target":8},{"source":0,"target":9},{"source":0,"target":10},{"source":0,"target":11},{"source":0,"target":12},{"source":0,"target":13},{"source":1,"target":0},{"source":1,"target":14},{"source":1,"target":15},{"source":14,"target":10},{"source":14,"target":16},{"source":14,"target":1},{"source":16,"target":10},{"source":15,"target":2},{"source":15,"target":17},{"source":15,"target":1},{"source":17,"target":2},{"source":2,"target":0},{"source":2,"target":18},{"source":2,"target":19},{"source":2,"target":20},{"source":18,"target":3},{"source":18,"target":21},{"source":18,"target":2},{"source":21,"target":3},{"source":19,"target":3},{"source":19,"target":22},{"source":19,"target":2},{"source":22,"target":3},{"source":20,"target":6},{"source":20,"target":23},{"source":20,"target":2},{"source":23,"target":6},{"source":3,"target":0},{"source":3,"target":24},{"source":3,"target":25},{"source":3,"target":26},{"source":3,"target":27},{"source":24,"target":4},{"source":24,"target":28},{"source":24,"target":3},{"source":28,"target":4},{"source":25,"target":5},{"source":25,"target":29},{"source":25,"target":3},{"source":29,"target":5},{"source":26,"target":30},{"source":26,"target":3},{"source":27,"target":31},{"source":27,"target":3},{"source":4,"target":0},{"source":4,"target":32},{"source":4,"target":33},{"source":4,"target":34},{"source":4,"target":35},{"source":32,"target":4},{"source":33,"target":4},{"source":34,"target":4},{"source":35,"target":4},{"source":5,"target":0},{"source":5,"target":36},{"source":5,"target":37},{"source":36,"target":5},{"source":37,"target":5},{"source":6,"target":0},{"source":6,"target":38},{"source":6,"target":39},{"source":6,"target":40},{"source":6,"target":41},{"source":38,"target":7},{"source":38,"target":42},{"source":38,"target":6},{"source":42,"target":7},{"source":39,"target":8},{"source":39,"target":43},{"source":39,"target":6},{"source":43,"target":8},{"source":40,"target":9},{"source":40,"target":44},{"source":40,"target":6},{"source":44,"target":9},{"source":41,"target":45},{"source":41,"target":6},{"source":7,"target":0},{"source":7,"target":46},{"source":7,"target":47},{"source":7,"target":48},{"source":7,"target":49},{"source":46,"target":7},{"source":47,"target":7},{"source":48,"target":7},{"source":49,"target":7},{"source":8,"target":0},{"source":8,"target":50},{"source":50,"target":8},{"source":9,"target":0},{"source":9,"target":51},{"source":9,"target":52},{"source":9,"target":53},{"source":51,"target":9},{"source":52,"target":9},{"source":53,"target":9},{"source":10,"target":0},{"source":10,"target":54},{"source":10,"target":55},{"source":54,"target":56},{"source":54,"target":10},{"source":55,"target":57},{"source":55,"target":58},{"source":55,"target":10},{"source":58,"target":57},{"source":11,"target":57},{"source":11,"target":59},{"source":11,"target":60},{"source":11,"target":61},{"source":11,"target":62},{"source":11,"target":63},{"source":11,"target":0},{"source":57,"target":11},{"source":59,"target":11},{"source":59,"target":57},{"source":59,"target":64},{"source":59,"target":65},{"source":59,"target":66},{"source":59,"target":67},{"source":64,"target":68},{"source":64,"target":69},{"source":64,"target":59},{"source":69,"target":68},{"source":65,"target":70},{"source":65,"target":71},{"source":65,"target":59},{"source":71,"target":70},{"source":66,"target":63},{"source":66,"target":72},{"source":66,"target":59},{"source":72,"target":63},{"source":67,"target":57},{"source":60,"target":11},{"source":60,"target":57},{"source":60,"target":73},{"source":60,"target":74},{"source":60,"target":75},{"source":73,"target":70},{"source":73,"target":76},{"source":73,"target":60},{"source":76,"target":70},{"source":74,"target":57},{"source":74,"target":77},{"source":74,"target":60},{"source":77,"target":57},{"source":75,"target":57},{"source":61,"target":11},{"source":61,"target":57},{"source":61,"target":78},{"source":61,"target":79},{"source":61,"target":80},{"source":78,"target":70},{"source":78,"target":81},{"source":78,"target":61},{"source":81,"target":70},{"source":79,"target":57},{"source":79,"target":82},{"source":79,"target":61},{"source":82,"target":57},{"source":80,"target":57},{"source":62,"target":11},{"source":62,"target":57},{"source":62,"target":83},{"source":62,"target":84},{"source":62,"target":85},{"source":83,"target":86},{"source":83,"target":62},{"source":84,"target":68},{"source":84,"target":87},{"source":84,"target":62},{"source":87,"target":68},{"source":85,"target":57},{"source":63,"target":11},{"source":63,"target":88},{"source":63,"target":89},{"source":63,"target":90},{"source":63,"target":91},{"source":88,"target":63},{"source":89,"target":63},{"source":90,"target":63},{"source":91,"target":63},{"source":12,"target":68},{"source":12,"target":92},{"source":12,"target":93},{"source":12,"target":94},{"source":12,"target":95},{"source":12,"target":0},{"source":68,"target":12},{"source":68,"target":96},{"source":96,"target":97},{"source":96,"target":68},{"source":92,"target":12},{"source":92,"target":68},{"source":92,"target":98},{"source":92,"target":99},{"source":98,"target":100},{"source":98,"target":92},{"source":99,"target":68},{"source":93,"target":12},{"source":93,"target":68},{"source":93,"target":101},{"source":93,"target":102},{"source":93,"target":103},{"source":93,"target":104},{"source":101,"target":68},{"source":101,"target":105},{"source":101,"target":93},{"source":105,"target":68},{"source":102,"target":68},{"source":102,"target":106},{"source":102,"target":93},{"source":106,"target":68},{"source":103,"target":95},{"source":103,"target":107},{"source":103,"target":93},{"source":107,"target":95},{"source":104,"target":68},{"source":94,"target":12},{"source":94,"target":68},{"source":94,"target":108},{"source":94,"target":109},{"source":108,"target":110},{"source":108,"target":94},{"source":109,"target":68},{"source":95,"target":12},{"source":95,"target":111},{"source":95,"target":112},{"source":95,"target":113},{"source":95,"target":114},{"source":111,"target":95},{"source":112,"target":95},{"source":113,"target":95},{"source":114,"target":95},{"source":13,"target":70},{"source":13,"target":115},{"source":13,"target":116},{"source":13,"target":0},{"source":70,"target":13},{"source":70,"target":117},{"source":117,"target":118},{"source":117,"target":70},{"source":115,"target":13},{"source":115,"target":70},{"source":115,"target":119},{"source":115,"target":120},{"source":115,"target":121},{"source":115,"target":122},{"source":119,"target":68},{"source":119,"target":123},{"source":119,"target":115},{"source":123,"target":68},{"source":120,"target":68},{"source":120,"target":124},{"source":120,"target":115},{"source":124,"target":68},{"source":121,"target":116},{"source":121,"target":125},{"source":121,"target":115},{"source":125,"target":116},{"source":122,"target":70},{"source":116,"target":13},{"source":116,"target":126},{"source":116,"target":127},{"source":116,"target":128},{"source":116,"target":129},{"source":116,"target":130},{"source":116,"target":131},{"source":126,"target":116},{"source":127,"target":116},{"source":128,"target":116},{"source":129,"target":116},{"source":130,"target":116},{"source":131,"target":116}],"multigraph":true}