featureModel
SolitaryFeature
required
Feature
groups
features
constraints
name
type
GroupedFeature
SimpleType
boolean
boolean
int
int
double
double
String
String
nulltype
nulltype
Model
RootFeature
Group
groupedFeatures
inclusive
BinaryOperator
Equals
Equals
Higher
Higher
Lower
Lower
And
And
Add
Add
Subtract
Subtract
Divide
Divide
Multiply
Multiply
Or
Or
Expression
BinaryOperation
rexp
lexp
operator
UnaryOperation
operator
exp
Constant
NULL
Number
value
Identifier
ref
name
UnaryOperator
Not
Not
Minus
Minus
SolitaryType
Mandatory
Mandatory
Optional
Optional
<?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="featureModel" nsURI="http://www.itu.dk/dijkstra/dk.itu.model.featuremodel"
    nsPrefix="model">
  <eClassifiers xsi:type="ecore:EClass" name="SolitaryFeature" eSuperTypes="#//Feature">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="required" lowerBound="1"
        eType="#//SolitaryType"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Feature" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EReference" name="groups" upperBound="-1"
        eType="#//Group" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="features" upperBound="-1"
        eType="#//SolitaryFeature" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="constraints" upperBound="-1"
        eType="#//Expression" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//SimpleType"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="GroupedFeature" eSuperTypes="#//Feature"/>
  <eClassifiers xsi:type="ecore:EEnum" name="SimpleType">
    <eLiterals name="boolean"/>
    <eLiterals name="int" value="1"/>
    <eLiterals name="double" value="2"/>
    <eLiterals name="String" value="3"/>
    <eLiterals name="nulltype" value="4" literal="nulltype"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Model">
    <eStructuralFeatures xsi:type="ecore:EReference" name="RootFeature" upperBound="-1"
        eType="#//Feature" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Group">
    <eStructuralFeatures xsi:type="ecore:EReference" name="groupedFeatures" lowerBound="2"
        upperBound="-1" eType="#//GroupedFeature" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="inclusive" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="BinaryOperator">
    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
      <details key="name" value="BinaryOperator"/>
    </eAnnotations>
    <eLiterals name="Equals"/>
    <eLiterals name="Higher" value="1"/>
    <eLiterals name="Lower" value="2"/>
    <eLiterals name="And" value="3"/>
    <eLiterals name="Add" value="4"/>
    <eLiterals name="Subtract" value="5"/>
    <eLiterals name="Divide" value="6"/>
    <eLiterals name="Multiply" value="7"/>
    <eLiterals name="Or" value="8"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Expression" abstract="true"/>
  <eClassifiers xsi:type="ecore:EClass" name="BinaryOperation" eSuperTypes="#//Expression">
    <eStructuralFeatures xsi:type="ecore:EReference" name="rexp" lowerBound="1" eType="#//Expression"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="lexp" lowerBound="1" eType="#//Expression"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" lowerBound="1"
        eType="#//BinaryOperator"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="UnaryOperation" eSuperTypes="#//Expression">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="operator" lowerBound="1"
        eType="#//UnaryOperator"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="exp" lowerBound="1" eType="#//Expression"
        containment="true">
      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
        <details key="name" value="exp"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Constant" abstract="true" eSuperTypes="#//Expression"/>
  <eClassifiers xsi:type="ecore:EClass" name="NULL" eSuperTypes="#//Constant"/>
  <eClassifiers xsi:type="ecore:EClass" name="Number" eSuperTypes="#//Constant">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Identifier" eSuperTypes="#//Expression">
    <eStructuralFeatures xsi:type="ecore:EReference" name="ref" lowerBound="1" upperBound="-1"
        eType="#//Feature"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="UnaryOperator">
    <eLiterals name="Not"/>
    <eLiterals name="Minus" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="SolitaryType">
    <eLiterals name="Mandatory"/>
    <eLiterals name="Optional" value="1"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"model","nsURI":"http://www.itu.dk/dijkstra/dk.itu.model.featuremodel","name":"featureModel","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"SolitaryFeature","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Feature","instanceClass":null,"abstract":true,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"GroupedFeature","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"SimpleType","instanceClass":null,"id":4,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Model","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Group","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"BinaryOperator","instanceClass":null,"id":7,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Expression","instanceClass":null,"abstract":true,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"BinaryOperation","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"UnaryOperation","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Constant","instanceClass":null,"abstract":true,"id":11,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NULL","instanceClass":null,"abstract":false,"id":12,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Number","instanceClass":null,"abstract":false,"id":13,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Identifier","instanceClass":null,"abstract":false,"id":14,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"UnaryOperator","instanceClass":null,"id":15,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"instanceClassName":null,"name":"SolitaryType","instanceClass":null,"id":16,"serializable":true,"eClass":"EEnum"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"required","changeable":true,"lowerBound":1,"iD":false,"id":17,"derived":false},{"id":18,"eClass":"EGenericType"},{"id":19,"eClass":"EGenericType"},{"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":"groups","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"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":"features","changeable":true,"resolveProxies":true,"lowerBound":0,"id":21,"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":"constraints","changeable":true,"resolveProxies":true,"lowerBound":0,"id":22,"derived":false},{"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":23,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":0,"iD":false,"id":24,"derived":false},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"name":"boolean","id":31,"value":0,"literal":"boolean","eClass":"EEnumLiteral"},{"name":"int","id":32,"value":1,"literal":"int","eClass":"EEnumLiteral"},{"name":"double","id":33,"value":2,"literal":"double","eClass":"EEnumLiteral"},{"name":"String","id":34,"value":3,"literal":"String","eClass":"EEnumLiteral"},{"name":"nulltype","id":35,"value":4,"literal":"nulltype","eClass":"EEnumLiteral"},{"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":"RootFeature","changeable":true,"resolveProxies":true,"lowerBound":0,"id":36,"derived":false},{"id":37,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"groupedFeatures","changeable":true,"resolveProxies":true,"lowerBound":2,"id":38,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"inclusive","changeable":true,"lowerBound":1,"iD":false,"id":39,"derived":false},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"name":"Equals","id":42,"value":0,"literal":"Equals","eClass":"EEnumLiteral"},{"name":"Higher","id":43,"value":1,"literal":"Higher","eClass":"EEnumLiteral"},{"name":"Lower","id":44,"value":2,"literal":"Lower","eClass":"EEnumLiteral"},{"name":"And","id":45,"value":3,"literal":"And","eClass":"EEnumLiteral"},{"name":"Add","id":46,"value":4,"literal":"Add","eClass":"EEnumLiteral"},{"name":"Subtract","id":47,"value":5,"literal":"Subtract","eClass":"EEnumLiteral"},{"name":"Divide","id":48,"value":6,"literal":"Divide","eClass":"EEnumLiteral"},{"name":"Multiply","id":49,"value":7,"literal":"Multiply","eClass":"EEnumLiteral"},{"name":"Or","id":50,"value":8,"literal":"Or","eClass":"EEnumLiteral"},{"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":"rexp","changeable":true,"resolveProxies":true,"lowerBound":1,"id":51,"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":"lexp","changeable":true,"resolveProxies":true,"lowerBound":1,"id":52,"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":53,"derived":false},{"id":54,"eClass":"EGenericType"},{"id":55,"eClass":"EGenericType"},{"id":56,"eClass":"EGenericType"},{"id":57,"eClass":"EGenericType"},{"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":58,"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":"exp","changeable":true,"resolveProxies":true,"lowerBound":1,"id":59,"derived":false},{"id":60,"eClass":"EGenericType"},{"id":61,"eClass":"EGenericType"},{"id":62,"eClass":"EGenericType"},{"id":63,"eClass":"EGenericType"},{"id":64,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":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":65,"derived":false},{"id":66,"eClass":"EGenericType"},{"id":67,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"ref","changeable":true,"resolveProxies":true,"lowerBound":1,"id":68,"derived":false},{"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":69,"derived":false},{"id":70,"eClass":"EGenericType"},{"id":71,"eClass":"EGenericType"},{"id":72,"eClass":"EGenericType"},{"name":"Not","id":73,"value":0,"literal":"Not","eClass":"EEnumLiteral"},{"name":"Minus","id":74,"value":1,"literal":"Minus","eClass":"EEnumLiteral"},{"name":"Mandatory","id":75,"value":0,"literal":"Mandatory","eClass":"EEnumLiteral"},{"name":"Optional","id":76,"value":1,"literal":"Optional","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":0,"target":14},{"source":0,"target":15},{"source":0,"target":16},{"source":1,"target":0},{"source":1,"target":2},{"source":1,"target":17},{"source":1,"target":18},{"source":17,"target":16},{"source":17,"target":19},{"source":17,"target":1},{"source":19,"target":16},{"source":18,"target":2},{"source":2,"target":0},{"source":2,"target":20},{"source":2,"target":21},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":20,"target":6},{"source":20,"target":25},{"source":20,"target":2},{"source":25,"target":6},{"source":21,"target":1},{"source":21,"target":26},{"source":21,"target":2},{"source":26,"target":1},{"source":22,"target":8},{"source":22,"target":27},{"source":22,"target":2},{"source":27,"target":8},{"source":23,"target":28},{"source":23,"target":2},{"source":24,"target":4},{"source":24,"target":29},{"source":24,"target":2},{"source":29,"target":4},{"source":3,"target":0},{"source":3,"target":2},{"source":3,"target":30},{"source":30,"target":2},{"source":4,"target":0},{"source":4,"target":31},{"source":4,"target":32},{"source":4,"target":33},{"source":4,"target":34},{"source":4,"target":35},{"source":31,"target":4},{"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":36,"target":2},{"source":36,"target":37},{"source":36,"target":5},{"source":37,"target":2},{"source":6,"target":0},{"source":6,"target":38},{"source":6,"target":39},{"source":38,"target":3},{"source":38,"target":40},{"source":38,"target":6},{"source":40,"target":3},{"source":39,"target":41},{"source":39,"target":6},{"source":7,"target":0},{"source":7,"target":42},{"source":7,"target":43},{"source":7,"target":44},{"source":7,"target":45},{"source":7,"target":46},{"source":7,"target":47},{"source":7,"target":48},{"source":7,"target":49},{"source":7,"target":50},{"source":42,"target":7},{"source":43,"target":7},{"source":44,"target":7},{"source":45,"target":7},{"source":46,"target":7},{"source":47,"target":7},{"source":48,"target":7},{"source":49,"target":7},{"source":50,"target":7},{"source":8,"target":0},{"source":9,"target":0},{"source":9,"target":8},{"source":9,"target":51},{"source":9,"target":52},{"source":9,"target":53},{"source":9,"target":54},{"source":51,"target":8},{"source":51,"target":55},{"source":51,"target":9},{"source":55,"target":8},{"source":52,"target":8},{"source":52,"target":56},{"source":52,"target":9},{"source":56,"target":8},{"source":53,"target":7},{"source":53,"target":57},{"source":53,"target":9},{"source":57,"target":7},{"source":54,"target":8},{"source":10,"target":0},{"source":10,"target":8},{"source":10,"target":58},{"source":10,"target":59},{"source":10,"target":60},{"source":58,"target":15},{"source":58,"target":61},{"source":58,"target":10},{"source":61,"target":15},{"source":59,"target":8},{"source":59,"target":62},{"source":59,"target":10},{"source":62,"target":8},{"source":60,"target":8},{"source":11,"target":0},{"source":11,"target":8},{"source":11,"target":63},{"source":63,"target":8},{"source":12,"target":0},{"source":12,"target":11},{"source":12,"target":64},{"source":64,"target":11},{"source":13,"target":0},{"source":13,"target":11},{"source":13,"target":65},{"source":13,"target":66},{"source":65,"target":67},{"source":65,"target":13},{"source":66,"target":11},{"source":14,"target":0},{"source":14,"target":8},{"source":14,"target":68},{"source":14,"target":69},{"source":14,"target":70},{"source":68,"target":2},{"source":68,"target":71},{"source":68,"target":14},{"source":71,"target":2},{"source":69,"target":72},{"source":69,"target":14},{"source":70,"target":8},{"source":15,"target":0},{"source":15,"target":73},{"source":15,"target":74},{"source":73,"target":15},{"source":74,"target":15},{"source":16,"target":0},{"source":16,"target":75},{"source":16,"target":76},{"source":75,"target":16},{"source":76,"target":16}],"multigraph":true}