diff options
author | 2019-04-08 00:58:00 +0200 | |
---|---|---|
committer | 2019-04-08 00:58:00 +0200 | |
commit | c1f185fd8fc2c3dfc123d9271726c588963c7c01 (patch) | |
tree | 88a5bb94017e7d3f0fbce0a51a78c2549b0977bd /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration | |
parent | Infrastructure for objective functions (diff) | |
download | VIATRA-Generator-c1f185fd8fc2c3dfc123d9271726c588963c7c01.tar.gz VIATRA-Generator-c1f185fd8fc2c3dfc123d9271726c588963c7c01.tar.zst VIATRA-Generator-c1f185fd8fc2c3dfc123d9271726c588963c7c01.zip |
Objective POC implementation
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration')
12 files changed, 1044 insertions, 51 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java index a241d6db..9cdab637 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java | |||
@@ -357,6 +357,24 @@ public interface ApplicationConfigurationFactory extends EFactory | |||
357 | ObjectiveFunction createObjectiveFunction(); | 357 | ObjectiveFunction createObjectiveFunction(); |
358 | 358 | ||
359 | /** | 359 | /** |
360 | * Returns a new object of class '<em>Cost Objective Function</em>'. | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @return a new object of class '<em>Cost Objective Function</em>'. | ||
364 | * @generated | ||
365 | */ | ||
366 | CostObjectiveFunction createCostObjectiveFunction(); | ||
367 | |||
368 | /** | ||
369 | * Returns a new object of class '<em>Cost Entry</em>'. | ||
370 | * <!-- begin-user-doc --> | ||
371 | * <!-- end-user-doc --> | ||
372 | * @return a new object of class '<em>Cost Entry</em>'. | ||
373 | * @generated | ||
374 | */ | ||
375 | CostEntry createCostEntry(); | ||
376 | |||
377 | /** | ||
360 | * Returns a new object of class '<em>Reliability Objective Function</em>'. | 378 | * Returns a new object of class '<em>Reliability Objective Function</em>'. |
361 | * <!-- begin-user-doc --> | 379 | * <!-- begin-user-doc --> |
362 | * <!-- end-user-doc --> | 380 | * <!-- end-user-doc --> |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java index 96603dc5..7fc2dcec 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java | |||
@@ -1007,7 +1007,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1007 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjective() | 1007 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjective() |
1008 | * @generated | 1008 | * @generated |
1009 | */ | 1009 | */ |
1010 | int OBJECTIVE = 42; | 1010 | int OBJECTIVE = 44; |
1011 | 1011 | ||
1012 | /** | 1012 | /** |
1013 | * The number of structural features of the '<em>Objective</em>' class. | 1013 | * The number of structural features of the '<em>Objective</em>' class. |
@@ -1177,6 +1177,71 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1177 | int OBJECTIVE_FUNCTION_FEATURE_COUNT = 0; | 1177 | int OBJECTIVE_FUNCTION_FEATURE_COUNT = 0; |
1178 | 1178 | ||
1179 | /** | 1179 | /** |
1180 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostObjectiveFunctionImpl <em>Cost Objective Function</em>}' class. | ||
1181 | * <!-- begin-user-doc --> | ||
1182 | * <!-- end-user-doc --> | ||
1183 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostObjectiveFunctionImpl | ||
1184 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCostObjectiveFunction() | ||
1185 | * @generated | ||
1186 | */ | ||
1187 | int COST_OBJECTIVE_FUNCTION = 37; | ||
1188 | |||
1189 | /** | ||
1190 | * The feature id for the '<em><b>Entries</b></em>' containment reference list. | ||
1191 | * <!-- begin-user-doc --> | ||
1192 | * <!-- end-user-doc --> | ||
1193 | * @generated | ||
1194 | * @ordered | ||
1195 | */ | ||
1196 | int COST_OBJECTIVE_FUNCTION__ENTRIES = OBJECTIVE_FUNCTION_FEATURE_COUNT + 0; | ||
1197 | |||
1198 | /** | ||
1199 | * The number of structural features of the '<em>Cost Objective Function</em>' class. | ||
1200 | * <!-- begin-user-doc --> | ||
1201 | * <!-- end-user-doc --> | ||
1202 | * @generated | ||
1203 | * @ordered | ||
1204 | */ | ||
1205 | int COST_OBJECTIVE_FUNCTION_FEATURE_COUNT = OBJECTIVE_FUNCTION_FEATURE_COUNT + 1; | ||
1206 | |||
1207 | /** | ||
1208 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostEntryImpl <em>Cost Entry</em>}' class. | ||
1209 | * <!-- begin-user-doc --> | ||
1210 | * <!-- end-user-doc --> | ||
1211 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostEntryImpl | ||
1212 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCostEntry() | ||
1213 | * @generated | ||
1214 | */ | ||
1215 | int COST_ENTRY = 38; | ||
1216 | |||
1217 | /** | ||
1218 | * The feature id for the '<em><b>Pattern Element</b></em>' containment reference. | ||
1219 | * <!-- begin-user-doc --> | ||
1220 | * <!-- end-user-doc --> | ||
1221 | * @generated | ||
1222 | * @ordered | ||
1223 | */ | ||
1224 | int COST_ENTRY__PATTERN_ELEMENT = 0; | ||
1225 | |||
1226 | /** | ||
1227 | * The feature id for the '<em><b>Weight</b></em>' attribute. | ||
1228 | * <!-- begin-user-doc --> | ||
1229 | * <!-- end-user-doc --> | ||
1230 | * @generated | ||
1231 | * @ordered | ||
1232 | */ | ||
1233 | int COST_ENTRY__WEIGHT = 1; | ||
1234 | |||
1235 | /** | ||
1236 | * The number of structural features of the '<em>Cost Entry</em>' class. | ||
1237 | * <!-- begin-user-doc --> | ||
1238 | * <!-- end-user-doc --> | ||
1239 | * @generated | ||
1240 | * @ordered | ||
1241 | */ | ||
1242 | int COST_ENTRY_FEATURE_COUNT = 2; | ||
1243 | |||
1244 | /** | ||
1180 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl <em>Reliability Objective Function</em>}' class. | 1245 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl <em>Reliability Objective Function</em>}' class. |
1181 | * <!-- begin-user-doc --> | 1246 | * <!-- begin-user-doc --> |
1182 | * <!-- end-user-doc --> | 1247 | * <!-- end-user-doc --> |
@@ -1184,7 +1249,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1184 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabilityObjectiveFunction() | 1249 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabilityObjectiveFunction() |
1185 | * @generated | 1250 | * @generated |
1186 | */ | 1251 | */ |
1187 | int RELIABILITY_OBJECTIVE_FUNCTION = 37; | 1252 | int RELIABILITY_OBJECTIVE_FUNCTION = 39; |
1188 | 1253 | ||
1189 | /** | 1254 | /** |
1190 | * The feature id for the '<em><b>Package</b></em>' reference. | 1255 | * The feature id for the '<em><b>Package</b></em>' reference. |
@@ -1221,7 +1286,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1221 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyProbability() | 1286 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getReliabiltiyProbability() |
1222 | * @generated | 1287 | * @generated |
1223 | */ | 1288 | */ |
1224 | int RELIABILTIY_PROBABILITY = 38; | 1289 | int RELIABILTIY_PROBABILITY = 40; |
1225 | 1290 | ||
1226 | /** | 1291 | /** |
1227 | * The feature id for the '<em><b>Package</b></em>' reference. | 1292 | * The feature id for the '<em><b>Package</b></em>' reference. |
@@ -1267,7 +1332,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1267 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMtff() | 1332 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMtff() |
1268 | * @generated | 1333 | * @generated |
1269 | */ | 1334 | */ |
1270 | int MTFF = 39; | 1335 | int MTFF = 41; |
1271 | 1336 | ||
1272 | /** | 1337 | /** |
1273 | * The feature id for the '<em><b>Package</b></em>' reference. | 1338 | * The feature id for the '<em><b>Package</b></em>' reference. |
@@ -1304,7 +1369,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1304 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveDeclaration() | 1369 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveDeclaration() |
1305 | * @generated | 1370 | * @generated |
1306 | */ | 1371 | */ |
1307 | int OBJECTIVE_DECLARATION = 40; | 1372 | int OBJECTIVE_DECLARATION = 42; |
1308 | 1373 | ||
1309 | /** | 1374 | /** |
1310 | * The feature id for the '<em><b>Name</b></em>' attribute. | 1375 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -1341,7 +1406,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1341 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveReference() | 1406 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectiveReference() |
1342 | * @generated | 1407 | * @generated |
1343 | */ | 1408 | */ |
1344 | int OBJECTIVE_REFERENCE = 41; | 1409 | int OBJECTIVE_REFERENCE = 43; |
1345 | 1410 | ||
1346 | /** | 1411 | /** |
1347 | * The feature id for the '<em><b>Referred</b></em>' reference. | 1412 | * The feature id for the '<em><b>Referred</b></em>' reference. |
@@ -1369,7 +1434,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1369 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() | 1434 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() |
1370 | * @generated | 1435 | * @generated |
1371 | */ | 1436 | */ |
1372 | int CONFIG = 51; | 1437 | int CONFIG = 53; |
1373 | 1438 | ||
1374 | /** | 1439 | /** |
1375 | * The number of structural features of the '<em>Config</em>' class. | 1440 | * The number of structural features of the '<em>Config</em>' class. |
@@ -1388,7 +1453,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1388 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() | 1453 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() |
1389 | * @generated | 1454 | * @generated |
1390 | */ | 1455 | */ |
1391 | int CONFIG_SPECIFICATION = 43; | 1456 | int CONFIG_SPECIFICATION = 45; |
1392 | 1457 | ||
1393 | /** | 1458 | /** |
1394 | * The feature id for the '<em><b>Entries</b></em>' containment reference list. | 1459 | * The feature id for the '<em><b>Entries</b></em>' containment reference list. |
@@ -1416,7 +1481,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1416 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() | 1481 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() |
1417 | * @generated | 1482 | * @generated |
1418 | */ | 1483 | */ |
1419 | int CONFIG_DECLARATION = 44; | 1484 | int CONFIG_DECLARATION = 46; |
1420 | 1485 | ||
1421 | /** | 1486 | /** |
1422 | * The feature id for the '<em><b>Name</b></em>' attribute. | 1487 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -1453,7 +1518,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1453 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() | 1518 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() |
1454 | * @generated | 1519 | * @generated |
1455 | */ | 1520 | */ |
1456 | int CONFIG_ENTRY = 45; | 1521 | int CONFIG_ENTRY = 47; |
1457 | 1522 | ||
1458 | /** | 1523 | /** |
1459 | * The number of structural features of the '<em>Config Entry</em>' class. | 1524 | * The number of structural features of the '<em>Config Entry</em>' class. |
@@ -1472,7 +1537,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1472 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() | 1537 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() |
1473 | * @generated | 1538 | * @generated |
1474 | */ | 1539 | */ |
1475 | int DOCUMENTATION_ENTRY = 46; | 1540 | int DOCUMENTATION_ENTRY = 48; |
1476 | 1541 | ||
1477 | /** | 1542 | /** |
1478 | * The feature id for the '<em><b>Level</b></em>' attribute. | 1543 | * The feature id for the '<em><b>Level</b></em>' attribute. |
@@ -1500,7 +1565,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1500 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() | 1565 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() |
1501 | * @generated | 1566 | * @generated |
1502 | */ | 1567 | */ |
1503 | int RUNTIME_ENTRY = 47; | 1568 | int RUNTIME_ENTRY = 49; |
1504 | 1569 | ||
1505 | /** | 1570 | /** |
1506 | * The feature id for the '<em><b>Millisec Limit</b></em>' attribute. | 1571 | * The feature id for the '<em><b>Millisec Limit</b></em>' attribute. |
@@ -1528,7 +1593,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1528 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() | 1593 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() |
1529 | * @generated | 1594 | * @generated |
1530 | */ | 1595 | */ |
1531 | int MEMORY_ENTRY = 48; | 1596 | int MEMORY_ENTRY = 50; |
1532 | 1597 | ||
1533 | /** | 1598 | /** |
1534 | * The feature id for the '<em><b>Megabyte Limit</b></em>' attribute. | 1599 | * The feature id for the '<em><b>Megabyte Limit</b></em>' attribute. |
@@ -1556,7 +1621,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1556 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() | 1621 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() |
1557 | * @generated | 1622 | * @generated |
1558 | */ | 1623 | */ |
1559 | int CUSTOM_ENTRY = 49; | 1624 | int CUSTOM_ENTRY = 51; |
1560 | 1625 | ||
1561 | /** | 1626 | /** |
1562 | * The feature id for the '<em><b>Key</b></em>' attribute. | 1627 | * The feature id for the '<em><b>Key</b></em>' attribute. |
@@ -1593,7 +1658,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1593 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() | 1658 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() |
1594 | * @generated | 1659 | * @generated |
1595 | */ | 1660 | */ |
1596 | int CONFIG_REFERENCE = 50; | 1661 | int CONFIG_REFERENCE = 52; |
1597 | 1662 | ||
1598 | /** | 1663 | /** |
1599 | * The feature id for the '<em><b>Config</b></em>' reference. | 1664 | * The feature id for the '<em><b>Config</b></em>' reference. |
@@ -1621,7 +1686,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1621 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() | 1686 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() |
1622 | * @generated | 1687 | * @generated |
1623 | */ | 1688 | */ |
1624 | int SCOPE = 73; | 1689 | int SCOPE = 75; |
1625 | 1690 | ||
1626 | /** | 1691 | /** |
1627 | * The number of structural features of the '<em>Scope</em>' class. | 1692 | * The number of structural features of the '<em>Scope</em>' class. |
@@ -1640,7 +1705,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1640 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() | 1705 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() |
1641 | * @generated | 1706 | * @generated |
1642 | */ | 1707 | */ |
1643 | int SCOPE_SPECIFICATION = 52; | 1708 | int SCOPE_SPECIFICATION = 54; |
1644 | 1709 | ||
1645 | /** | 1710 | /** |
1646 | * The feature id for the '<em><b>Scopes</b></em>' containment reference list. | 1711 | * The feature id for the '<em><b>Scopes</b></em>' containment reference list. |
@@ -1668,7 +1733,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1668 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() | 1733 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() |
1669 | * @generated | 1734 | * @generated |
1670 | */ | 1735 | */ |
1671 | int TYPE_SCOPE = 53; | 1736 | int TYPE_SCOPE = 55; |
1672 | 1737 | ||
1673 | /** | 1738 | /** |
1674 | * The feature id for the '<em><b>Sets New</b></em>' attribute. | 1739 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
@@ -1714,7 +1779,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1714 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() | 1779 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() |
1715 | * @generated | 1780 | * @generated |
1716 | */ | 1781 | */ |
1717 | int CLASS_TYPE_SCOPE = 54; | 1782 | int CLASS_TYPE_SCOPE = 56; |
1718 | 1783 | ||
1719 | /** | 1784 | /** |
1720 | * The feature id for the '<em><b>Sets New</b></em>' attribute. | 1785 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
@@ -1769,7 +1834,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1769 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() | 1834 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() |
1770 | * @generated | 1835 | * @generated |
1771 | */ | 1836 | */ |
1772 | int OBJECT_TYPE_SCOPE = 55; | 1837 | int OBJECT_TYPE_SCOPE = 57; |
1773 | 1838 | ||
1774 | /** | 1839 | /** |
1775 | * The feature id for the '<em><b>Sets New</b></em>' attribute. | 1840 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
@@ -1824,7 +1889,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1824 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() | 1889 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() |
1825 | * @generated | 1890 | * @generated |
1826 | */ | 1891 | */ |
1827 | int INTEGER_TYPE_SCOPE = 56; | 1892 | int INTEGER_TYPE_SCOPE = 58; |
1828 | 1893 | ||
1829 | /** | 1894 | /** |
1830 | * The feature id for the '<em><b>Sets New</b></em>' attribute. | 1895 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
@@ -1879,7 +1944,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1879 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() | 1944 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() |
1880 | * @generated | 1945 | * @generated |
1881 | */ | 1946 | */ |
1882 | int REAL_TYPE_SCOPE = 57; | 1947 | int REAL_TYPE_SCOPE = 59; |
1883 | 1948 | ||
1884 | /** | 1949 | /** |
1885 | * The feature id for the '<em><b>Sets New</b></em>' attribute. | 1950 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
@@ -1934,7 +1999,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1934 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() | 1999 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() |
1935 | * @generated | 2000 | * @generated |
1936 | */ | 2001 | */ |
1937 | int STRING_TYPE_SCOPE = 58; | 2002 | int STRING_TYPE_SCOPE = 60; |
1938 | 2003 | ||
1939 | /** | 2004 | /** |
1940 | * The feature id for the '<em><b>Sets New</b></em>' attribute. | 2005 | * The feature id for the '<em><b>Sets New</b></em>' attribute. |
@@ -1989,7 +2054,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
1989 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() | 2054 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() |
1990 | * @generated | 2055 | * @generated |
1991 | */ | 2056 | */ |
1992 | int TYPE_REFERENCE = 59; | 2057 | int TYPE_REFERENCE = 61; |
1993 | 2058 | ||
1994 | /** | 2059 | /** |
1995 | * The number of structural features of the '<em>Type Reference</em>' class. | 2060 | * The number of structural features of the '<em>Type Reference</em>' class. |
@@ -2008,7 +2073,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2008 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() | 2073 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() |
2009 | * @generated | 2074 | * @generated |
2010 | */ | 2075 | */ |
2011 | int CLASS_REFERENCE = 60; | 2076 | int CLASS_REFERENCE = 62; |
2012 | 2077 | ||
2013 | /** | 2078 | /** |
2014 | * The feature id for the '<em><b>Element</b></em>' containment reference. | 2079 | * The feature id for the '<em><b>Element</b></em>' containment reference. |
@@ -2036,7 +2101,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2036 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() | 2101 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() |
2037 | * @generated | 2102 | * @generated |
2038 | */ | 2103 | */ |
2039 | int OBJECT_REFERENCE = 61; | 2104 | int OBJECT_REFERENCE = 63; |
2040 | 2105 | ||
2041 | /** | 2106 | /** |
2042 | * The number of structural features of the '<em>Object Reference</em>' class. | 2107 | * The number of structural features of the '<em>Object Reference</em>' class. |
@@ -2055,7 +2120,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2055 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() | 2120 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() |
2056 | * @generated | 2121 | * @generated |
2057 | */ | 2122 | */ |
2058 | int INTEGER_REFERENCE = 62; | 2123 | int INTEGER_REFERENCE = 64; |
2059 | 2124 | ||
2060 | /** | 2125 | /** |
2061 | * The number of structural features of the '<em>Integer Reference</em>' class. | 2126 | * The number of structural features of the '<em>Integer Reference</em>' class. |
@@ -2074,7 +2139,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2074 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() | 2139 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() |
2075 | * @generated | 2140 | * @generated |
2076 | */ | 2141 | */ |
2077 | int REAL_REFERENCE = 63; | 2142 | int REAL_REFERENCE = 65; |
2078 | 2143 | ||
2079 | /** | 2144 | /** |
2080 | * The number of structural features of the '<em>Real Reference</em>' class. | 2145 | * The number of structural features of the '<em>Real Reference</em>' class. |
@@ -2093,7 +2158,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2093 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() | 2158 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() |
2094 | * @generated | 2159 | * @generated |
2095 | */ | 2160 | */ |
2096 | int STRING_REFERENCE = 64; | 2161 | int STRING_REFERENCE = 66; |
2097 | 2162 | ||
2098 | /** | 2163 | /** |
2099 | * The number of structural features of the '<em>String Reference</em>' class. | 2164 | * The number of structural features of the '<em>String Reference</em>' class. |
@@ -2112,7 +2177,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2112 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() | 2177 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() |
2113 | * @generated | 2178 | * @generated |
2114 | */ | 2179 | */ |
2115 | int NUMBER_SPECIFICATION = 65; | 2180 | int NUMBER_SPECIFICATION = 67; |
2116 | 2181 | ||
2117 | /** | 2182 | /** |
2118 | * The number of structural features of the '<em>Number Specification</em>' class. | 2183 | * The number of structural features of the '<em>Number Specification</em>' class. |
@@ -2131,7 +2196,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2131 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() | 2196 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() |
2132 | * @generated | 2197 | * @generated |
2133 | */ | 2198 | */ |
2134 | int EXACT_NUMBER = 66; | 2199 | int EXACT_NUMBER = 68; |
2135 | 2200 | ||
2136 | /** | 2201 | /** |
2137 | * The feature id for the '<em><b>Exact Number</b></em>' attribute. | 2202 | * The feature id for the '<em><b>Exact Number</b></em>' attribute. |
@@ -2168,7 +2233,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2168 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() | 2233 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() |
2169 | * @generated | 2234 | * @generated |
2170 | */ | 2235 | */ |
2171 | int INTERVALL_NUMBER = 67; | 2236 | int INTERVALL_NUMBER = 69; |
2172 | 2237 | ||
2173 | /** | 2238 | /** |
2174 | * The feature id for the '<em><b>Min</b></em>' attribute. | 2239 | * The feature id for the '<em><b>Min</b></em>' attribute. |
@@ -2214,7 +2279,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2214 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() | 2279 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() |
2215 | * @generated | 2280 | * @generated |
2216 | */ | 2281 | */ |
2217 | int INT_ENUMBERATION = 68; | 2282 | int INT_ENUMBERATION = 70; |
2218 | 2283 | ||
2219 | /** | 2284 | /** |
2220 | * The feature id for the '<em><b>Entry</b></em>' attribute list. | 2285 | * The feature id for the '<em><b>Entry</b></em>' attribute list. |
@@ -2242,7 +2307,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2242 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() | 2307 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() |
2243 | * @generated | 2308 | * @generated |
2244 | */ | 2309 | */ |
2245 | int REAL_ENUMERATION = 69; | 2310 | int REAL_ENUMERATION = 71; |
2246 | 2311 | ||
2247 | /** | 2312 | /** |
2248 | * The feature id for the '<em><b>Entry</b></em>' attribute list. | 2313 | * The feature id for the '<em><b>Entry</b></em>' attribute list. |
@@ -2270,7 +2335,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2270 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() | 2335 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() |
2271 | * @generated | 2336 | * @generated |
2272 | */ | 2337 | */ |
2273 | int STRING_ENUMERATION = 70; | 2338 | int STRING_ENUMERATION = 72; |
2274 | 2339 | ||
2275 | /** | 2340 | /** |
2276 | * The feature id for the '<em><b>Entry</b></em>' attribute list. | 2341 | * The feature id for the '<em><b>Entry</b></em>' attribute list. |
@@ -2298,7 +2363,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2298 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() | 2363 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() |
2299 | * @generated | 2364 | * @generated |
2300 | */ | 2365 | */ |
2301 | int SCOPE_DECLARATION = 71; | 2366 | int SCOPE_DECLARATION = 73; |
2302 | 2367 | ||
2303 | /** | 2368 | /** |
2304 | * The feature id for the '<em><b>Name</b></em>' attribute. | 2369 | * The feature id for the '<em><b>Name</b></em>' attribute. |
@@ -2335,7 +2400,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2335 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() | 2400 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() |
2336 | * @generated | 2401 | * @generated |
2337 | */ | 2402 | */ |
2338 | int SCOPE_REFERENCE = 72; | 2403 | int SCOPE_REFERENCE = 74; |
2339 | 2404 | ||
2340 | /** | 2405 | /** |
2341 | * The feature id for the '<em><b>Referred</b></em>' reference. | 2406 | * The feature id for the '<em><b>Referred</b></em>' reference. |
@@ -2363,7 +2428,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2363 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() | 2428 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() |
2364 | * @generated | 2429 | * @generated |
2365 | */ | 2430 | */ |
2366 | int TASK = 74; | 2431 | int TASK = 76; |
2367 | 2432 | ||
2368 | /** | 2433 | /** |
2369 | * The number of structural features of the '<em>Task</em>' class. | 2434 | * The number of structural features of the '<em>Task</em>' class. |
@@ -2382,7 +2447,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2382 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() | 2447 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() |
2383 | * @generated | 2448 | * @generated |
2384 | */ | 2449 | */ |
2385 | int GENERATION_TASK = 75; | 2450 | int GENERATION_TASK = 77; |
2386 | 2451 | ||
2387 | /** | 2452 | /** |
2388 | * The feature id for the '<em><b>Metamodel</b></em>' containment reference. | 2453 | * The feature id for the '<em><b>Metamodel</b></em>' containment reference. |
@@ -2536,7 +2601,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2536 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() | 2601 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() |
2537 | * @generated | 2602 | * @generated |
2538 | */ | 2603 | */ |
2539 | int INTEGER_SCOPE = 76; | 2604 | int INTEGER_SCOPE = 78; |
2540 | 2605 | ||
2541 | /** | 2606 | /** |
2542 | * The number of structural features of the '<em>Integer Scope</em>' class. | 2607 | * The number of structural features of the '<em>Integer Scope</em>' class. |
@@ -2555,7 +2620,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2555 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() | 2620 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() |
2556 | * @generated | 2621 | * @generated |
2557 | */ | 2622 | */ |
2558 | int REAL_SCOPE = 77; | 2623 | int REAL_SCOPE = 79; |
2559 | 2624 | ||
2560 | /** | 2625 | /** |
2561 | * The number of structural features of the '<em>Real Scope</em>' class. | 2626 | * The number of structural features of the '<em>Real Scope</em>' class. |
@@ -2574,7 +2639,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2574 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() | 2639 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() |
2575 | * @generated | 2640 | * @generated |
2576 | */ | 2641 | */ |
2577 | int STRING_SCOPE = 78; | 2642 | int STRING_SCOPE = 80; |
2578 | 2643 | ||
2579 | /** | 2644 | /** |
2580 | * The number of structural features of the '<em>String Scope</em>' class. | 2645 | * The number of structural features of the '<em>String Scope</em>' class. |
@@ -2593,7 +2658,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2593 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationDirection() | 2658 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getOptimizationDirection() |
2594 | * @generated | 2659 | * @generated |
2595 | */ | 2660 | */ |
2596 | int OPTIMIZATION_DIRECTION = 79; | 2661 | int OPTIMIZATION_DIRECTION = 81; |
2597 | 2662 | ||
2598 | /** | 2663 | /** |
2599 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator <em>Comparison Operator</em>}' enum. | 2664 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ComparisonOperator <em>Comparison Operator</em>}' enum. |
@@ -2603,7 +2668,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2603 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getComparisonOperator() | 2668 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getComparisonOperator() |
2604 | * @generated | 2669 | * @generated |
2605 | */ | 2670 | */ |
2606 | int COMPARISON_OPERATOR = 80; | 2671 | int COMPARISON_OPERATOR = 82; |
2607 | 2672 | ||
2608 | /** | 2673 | /** |
2609 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification <em>Document Level Specification</em>}' enum. | 2674 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification <em>Document Level Specification</em>}' enum. |
@@ -2613,7 +2678,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2613 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() | 2678 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() |
2614 | * @generated | 2679 | * @generated |
2615 | */ | 2680 | */ |
2616 | int DOCUMENT_LEVEL_SPECIFICATION = 81; | 2681 | int DOCUMENT_LEVEL_SPECIFICATION = 83; |
2617 | 2682 | ||
2618 | /** | 2683 | /** |
2619 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver <em>Solver</em>}' enum. | 2684 | * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver <em>Solver</em>}' enum. |
@@ -2623,7 +2688,7 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
2623 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() | 2688 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() |
2624 | * @generated | 2689 | * @generated |
2625 | */ | 2690 | */ |
2626 | int SOLVER = 82; | 2691 | int SOLVER = 84; |
2627 | 2692 | ||
2628 | 2693 | ||
2629 | /** | 2694 | /** |
@@ -3349,6 +3414,59 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
3349 | EClass getObjectiveFunction(); | 3414 | EClass getObjectiveFunction(); |
3350 | 3415 | ||
3351 | /** | 3416 | /** |
3417 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction <em>Cost Objective Function</em>}'. | ||
3418 | * <!-- begin-user-doc --> | ||
3419 | * <!-- end-user-doc --> | ||
3420 | * @return the meta object for class '<em>Cost Objective Function</em>'. | ||
3421 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction | ||
3422 | * @generated | ||
3423 | */ | ||
3424 | EClass getCostObjectiveFunction(); | ||
3425 | |||
3426 | /** | ||
3427 | * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction#getEntries <em>Entries</em>}'. | ||
3428 | * <!-- begin-user-doc --> | ||
3429 | * <!-- end-user-doc --> | ||
3430 | * @return the meta object for the containment reference list '<em>Entries</em>'. | ||
3431 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction#getEntries() | ||
3432 | * @see #getCostObjectiveFunction() | ||
3433 | * @generated | ||
3434 | */ | ||
3435 | EReference getCostObjectiveFunction_Entries(); | ||
3436 | |||
3437 | /** | ||
3438 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry <em>Cost Entry</em>}'. | ||
3439 | * <!-- begin-user-doc --> | ||
3440 | * <!-- end-user-doc --> | ||
3441 | * @return the meta object for class '<em>Cost Entry</em>'. | ||
3442 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry | ||
3443 | * @generated | ||
3444 | */ | ||
3445 | EClass getCostEntry(); | ||
3446 | |||
3447 | /** | ||
3448 | * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getPatternElement <em>Pattern Element</em>}'. | ||
3449 | * <!-- begin-user-doc --> | ||
3450 | * <!-- end-user-doc --> | ||
3451 | * @return the meta object for the containment reference '<em>Pattern Element</em>'. | ||
3452 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getPatternElement() | ||
3453 | * @see #getCostEntry() | ||
3454 | * @generated | ||
3455 | */ | ||
3456 | EReference getCostEntry_PatternElement(); | ||
3457 | |||
3458 | /** | ||
3459 | * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getWeight <em>Weight</em>}'. | ||
3460 | * <!-- begin-user-doc --> | ||
3461 | * <!-- end-user-doc --> | ||
3462 | * @return the meta object for the attribute '<em>Weight</em>'. | ||
3463 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getWeight() | ||
3464 | * @see #getCostEntry() | ||
3465 | * @generated | ||
3466 | */ | ||
3467 | EAttribute getCostEntry_Weight(); | ||
3468 | |||
3469 | /** | ||
3352 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction <em>Reliability Objective Function</em>}'. | 3470 | * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction <em>Reliability Objective Function</em>}'. |
3353 | * <!-- begin-user-doc --> | 3471 | * <!-- begin-user-doc --> |
3354 | * <!-- end-user-doc --> | 3472 | * <!-- end-user-doc --> |
@@ -4986,6 +5104,50 @@ public interface ApplicationConfigurationPackage extends EPackage | |||
4986 | EClass OBJECTIVE_FUNCTION = eINSTANCE.getObjectiveFunction(); | 5104 | EClass OBJECTIVE_FUNCTION = eINSTANCE.getObjectiveFunction(); |
4987 | 5105 | ||
4988 | /** | 5106 | /** |
5107 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostObjectiveFunctionImpl <em>Cost Objective Function</em>}' class. | ||
5108 | * <!-- begin-user-doc --> | ||
5109 | * <!-- end-user-doc --> | ||
5110 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostObjectiveFunctionImpl | ||
5111 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCostObjectiveFunction() | ||
5112 | * @generated | ||
5113 | */ | ||
5114 | EClass COST_OBJECTIVE_FUNCTION = eINSTANCE.getCostObjectiveFunction(); | ||
5115 | |||
5116 | /** | ||
5117 | * The meta object literal for the '<em><b>Entries</b></em>' containment reference list feature. | ||
5118 | * <!-- begin-user-doc --> | ||
5119 | * <!-- end-user-doc --> | ||
5120 | * @generated | ||
5121 | */ | ||
5122 | EReference COST_OBJECTIVE_FUNCTION__ENTRIES = eINSTANCE.getCostObjectiveFunction_Entries(); | ||
5123 | |||
5124 | /** | ||
5125 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostEntryImpl <em>Cost Entry</em>}' class. | ||
5126 | * <!-- begin-user-doc --> | ||
5127 | * <!-- end-user-doc --> | ||
5128 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostEntryImpl | ||
5129 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCostEntry() | ||
5130 | * @generated | ||
5131 | */ | ||
5132 | EClass COST_ENTRY = eINSTANCE.getCostEntry(); | ||
5133 | |||
5134 | /** | ||
5135 | * The meta object literal for the '<em><b>Pattern Element</b></em>' containment reference feature. | ||
5136 | * <!-- begin-user-doc --> | ||
5137 | * <!-- end-user-doc --> | ||
5138 | * @generated | ||
5139 | */ | ||
5140 | EReference COST_ENTRY__PATTERN_ELEMENT = eINSTANCE.getCostEntry_PatternElement(); | ||
5141 | |||
5142 | /** | ||
5143 | * The meta object literal for the '<em><b>Weight</b></em>' attribute feature. | ||
5144 | * <!-- begin-user-doc --> | ||
5145 | * <!-- end-user-doc --> | ||
5146 | * @generated | ||
5147 | */ | ||
5148 | EAttribute COST_ENTRY__WEIGHT = eINSTANCE.getCostEntry_Weight(); | ||
5149 | |||
5150 | /** | ||
4989 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl <em>Reliability Objective Function</em>}' class. | 5151 | * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ReliabilityObjectiveFunctionImpl <em>Reliability Objective Function</em>}' class. |
4990 | * <!-- begin-user-doc --> | 5152 | * <!-- begin-user-doc --> |
4991 | * <!-- end-user-doc --> | 5153 | * <!-- end-user-doc --> |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java index dc5a8e9e..bee7c6e7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java | |||
@@ -21,6 +21,26 @@ import org.eclipse.emf.common.util.Enumerator; | |||
21 | public enum ComparisonOperator implements Enumerator | 21 | public enum ComparisonOperator implements Enumerator |
22 | { | 22 | { |
23 | /** | 23 | /** |
24 | * The '<em><b>LESS</b></em>' literal object. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @see #LESS_VALUE | ||
28 | * @generated | ||
29 | * @ordered | ||
30 | */ | ||
31 | LESS(0, "LESS", "<"), | ||
32 | |||
33 | /** | ||
34 | * The '<em><b>GREATER</b></em>' literal object. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #GREATER_VALUE | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | GREATER(1, "GREATER", ">"), | ||
42 | |||
43 | /** | ||
24 | * The '<em><b>LESS EQUALS</b></em>' literal object. | 44 | * The '<em><b>LESS EQUALS</b></em>' literal object. |
25 | * <!-- begin-user-doc --> | 45 | * <!-- begin-user-doc --> |
26 | * <!-- end-user-doc --> | 46 | * <!-- end-user-doc --> |
@@ -28,7 +48,7 @@ public enum ComparisonOperator implements Enumerator | |||
28 | * @generated | 48 | * @generated |
29 | * @ordered | 49 | * @ordered |
30 | */ | 50 | */ |
31 | LESS_EQUALS(0, "LESS_EQUALS", "<="), | 51 | LESS_EQUALS(2, "LESS_EQUALS", "<="), |
32 | 52 | ||
33 | /** | 53 | /** |
34 | * The '<em><b>GREATER EQUALS</b></em>' literal object. | 54 | * The '<em><b>GREATER EQUALS</b></em>' literal object. |
@@ -38,7 +58,37 @@ public enum ComparisonOperator implements Enumerator | |||
38 | * @generated | 58 | * @generated |
39 | * @ordered | 59 | * @ordered |
40 | */ | 60 | */ |
41 | GREATER_EQUALS(1, "GREATER_EQUALS", ">="); | 61 | GREATER_EQUALS(3, "GREATER_EQUALS", ">="); |
62 | |||
63 | /** | ||
64 | * The '<em><b>LESS</b></em>' literal value. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <p> | ||
67 | * If the meaning of '<em><b>LESS</b></em>' literal object isn't clear, | ||
68 | * there really should be more of a description here... | ||
69 | * </p> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @see #LESS | ||
72 | * @model literal="<" | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | public static final int LESS_VALUE = 0; | ||
77 | |||
78 | /** | ||
79 | * The '<em><b>GREATER</b></em>' literal value. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <p> | ||
82 | * If the meaning of '<em><b>GREATER</b></em>' literal object isn't clear, | ||
83 | * there really should be more of a description here... | ||
84 | * </p> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @see #GREATER | ||
87 | * @model literal=">" | ||
88 | * @generated | ||
89 | * @ordered | ||
90 | */ | ||
91 | public static final int GREATER_VALUE = 1; | ||
42 | 92 | ||
43 | /** | 93 | /** |
44 | * The '<em><b>LESS EQUALS</b></em>' literal value. | 94 | * The '<em><b>LESS EQUALS</b></em>' literal value. |
@@ -53,7 +103,7 @@ public enum ComparisonOperator implements Enumerator | |||
53 | * @generated | 103 | * @generated |
54 | * @ordered | 104 | * @ordered |
55 | */ | 105 | */ |
56 | public static final int LESS_EQUALS_VALUE = 0; | 106 | public static final int LESS_EQUALS_VALUE = 2; |
57 | 107 | ||
58 | /** | 108 | /** |
59 | * The '<em><b>GREATER EQUALS</b></em>' literal value. | 109 | * The '<em><b>GREATER EQUALS</b></em>' literal value. |
@@ -68,7 +118,7 @@ public enum ComparisonOperator implements Enumerator | |||
68 | * @generated | 118 | * @generated |
69 | * @ordered | 119 | * @ordered |
70 | */ | 120 | */ |
71 | public static final int GREATER_EQUALS_VALUE = 1; | 121 | public static final int GREATER_EQUALS_VALUE = 3; |
72 | 122 | ||
73 | /** | 123 | /** |
74 | * An array of all the '<em><b>Comparison Operator</b></em>' enumerators. | 124 | * An array of all the '<em><b>Comparison Operator</b></em>' enumerators. |
@@ -79,6 +129,8 @@ public enum ComparisonOperator implements Enumerator | |||
79 | private static final ComparisonOperator[] VALUES_ARRAY = | 129 | private static final ComparisonOperator[] VALUES_ARRAY = |
80 | new ComparisonOperator[] | 130 | new ComparisonOperator[] |
81 | { | 131 | { |
132 | LESS, | ||
133 | GREATER, | ||
82 | LESS_EQUALS, | 134 | LESS_EQUALS, |
83 | GREATER_EQUALS, | 135 | GREATER_EQUALS, |
84 | }; | 136 | }; |
@@ -145,6 +197,8 @@ public enum ComparisonOperator implements Enumerator | |||
145 | { | 197 | { |
146 | switch (value) | 198 | switch (value) |
147 | { | 199 | { |
200 | case LESS_VALUE: return LESS; | ||
201 | case GREATER_VALUE: return GREATER; | ||
148 | case LESS_EQUALS_VALUE: return LESS_EQUALS; | 202 | case LESS_EQUALS_VALUE: return LESS_EQUALS; |
149 | case GREATER_EQUALS_VALUE: return GREATER_EQUALS; | 203 | case GREATER_EQUALS_VALUE: return GREATER_EQUALS; |
150 | } | 204 | } |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java new file mode 100644 index 00000000..6f9580ed --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostEntry.java | |||
@@ -0,0 +1,79 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.ecore.EObject; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Cost Entry</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getPatternElement <em>Pattern Element</em>}</li> | ||
18 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getWeight <em>Weight</em>}</li> | ||
19 | * </ul> | ||
20 | * | ||
21 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCostEntry() | ||
22 | * @model | ||
23 | * @generated | ||
24 | */ | ||
25 | public interface CostEntry extends EObject | ||
26 | { | ||
27 | /** | ||
28 | * Returns the value of the '<em><b>Pattern Element</b></em>' containment reference. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Pattern Element</em>' containment reference isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Pattern Element</em>' containment reference. | ||
36 | * @see #setPatternElement(PatternElement) | ||
37 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCostEntry_PatternElement() | ||
38 | * @model containment="true" | ||
39 | * @generated | ||
40 | */ | ||
41 | PatternElement getPatternElement(); | ||
42 | |||
43 | /** | ||
44 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getPatternElement <em>Pattern Element</em>}' containment reference. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @param value the new value of the '<em>Pattern Element</em>' containment reference. | ||
48 | * @see #getPatternElement() | ||
49 | * @generated | ||
50 | */ | ||
51 | void setPatternElement(PatternElement value); | ||
52 | |||
53 | /** | ||
54 | * Returns the value of the '<em><b>Weight</b></em>' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <p> | ||
57 | * If the meaning of the '<em>Weight</em>' attribute isn't clear, | ||
58 | * there really should be more of a description here... | ||
59 | * </p> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @return the value of the '<em>Weight</em>' attribute. | ||
62 | * @see #setWeight(int) | ||
63 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCostEntry_Weight() | ||
64 | * @model | ||
65 | * @generated | ||
66 | */ | ||
67 | int getWeight(); | ||
68 | |||
69 | /** | ||
70 | * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry#getWeight <em>Weight</em>}' attribute. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @param value the new value of the '<em>Weight</em>' attribute. | ||
74 | * @see #getWeight() | ||
75 | * @generated | ||
76 | */ | ||
77 | void setWeight(int value); | ||
78 | |||
79 | } // CostEntry | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java new file mode 100644 index 00000000..041d8a04 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CostObjectiveFunction.java | |||
@@ -0,0 +1,42 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; | ||
5 | |||
6 | import org.eclipse.emf.common.util.EList; | ||
7 | |||
8 | /** | ||
9 | * <!-- begin-user-doc --> | ||
10 | * A representation of the model object '<em><b>Cost Objective Function</b></em>'. | ||
11 | * <!-- end-user-doc --> | ||
12 | * | ||
13 | * <p> | ||
14 | * The following features are supported: | ||
15 | * </p> | ||
16 | * <ul> | ||
17 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction#getEntries <em>Entries</em>}</li> | ||
18 | * </ul> | ||
19 | * | ||
20 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCostObjectiveFunction() | ||
21 | * @model | ||
22 | * @generated | ||
23 | */ | ||
24 | public interface CostObjectiveFunction extends ObjectiveFunction | ||
25 | { | ||
26 | /** | ||
27 | * Returns the value of the '<em><b>Entries</b></em>' containment reference list. | ||
28 | * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry}. | ||
29 | * <!-- begin-user-doc --> | ||
30 | * <p> | ||
31 | * If the meaning of the '<em>Entries</em>' containment reference list isn't clear, | ||
32 | * there really should be more of a description here... | ||
33 | * </p> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @return the value of the '<em>Entries</em>' containment reference list. | ||
36 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCostObjectiveFunction_Entries() | ||
37 | * @model containment="true" | ||
38 | * @generated | ||
39 | */ | ||
40 | EList<CostEntry> getEntries(); | ||
41 | |||
42 | } // CostObjectiveFunction | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java index 9ec9412a..77ff05e8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | |||
@@ -103,6 +103,8 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
103 | case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: return createOptimizationEntry(); | 103 | case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: return createOptimizationEntry(); |
104 | case ApplicationConfigurationPackage.THRESHOLD_ENTRY: return createThresholdEntry(); | 104 | case ApplicationConfigurationPackage.THRESHOLD_ENTRY: return createThresholdEntry(); |
105 | case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: return createObjectiveFunction(); | 105 | case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: return createObjectiveFunction(); |
106 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: return createCostObjectiveFunction(); | ||
107 | case ApplicationConfigurationPackage.COST_ENTRY: return createCostEntry(); | ||
106 | case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: return createReliabilityObjectiveFunction(); | 108 | case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: return createReliabilityObjectiveFunction(); |
107 | case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: return createReliabiltiyProbability(); | 109 | case ApplicationConfigurationPackage.RELIABILTIY_PROBABILITY: return createReliabiltiyProbability(); |
108 | case ApplicationConfigurationPackage.MTFF: return createMtff(); | 110 | case ApplicationConfigurationPackage.MTFF: return createMtff(); |
@@ -646,6 +648,30 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
646 | * @generated | 648 | * @generated |
647 | */ | 649 | */ |
648 | @Override | 650 | @Override |
651 | public CostObjectiveFunction createCostObjectiveFunction() | ||
652 | { | ||
653 | CostObjectiveFunctionImpl costObjectiveFunction = new CostObjectiveFunctionImpl(); | ||
654 | return costObjectiveFunction; | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * <!-- begin-user-doc --> | ||
659 | * <!-- end-user-doc --> | ||
660 | * @generated | ||
661 | */ | ||
662 | @Override | ||
663 | public CostEntry createCostEntry() | ||
664 | { | ||
665 | CostEntryImpl costEntry = new CostEntryImpl(); | ||
666 | return costEntry; | ||
667 | } | ||
668 | |||
669 | /** | ||
670 | * <!-- begin-user-doc --> | ||
671 | * <!-- end-user-doc --> | ||
672 | * @generated | ||
673 | */ | ||
674 | @Override | ||
649 | public ReliabilityObjectiveFunction createReliabilityObjectiveFunction() | 675 | public ReliabilityObjectiveFunction createReliabilityObjectiveFunction() |
650 | { | 676 | { |
651 | ReliabilityObjectiveFunctionImpl reliabilityObjectiveFunction = new ReliabilityObjectiveFunctionImpl(); | 677 | ReliabilityObjectiveFunctionImpl reliabilityObjectiveFunction = new ReliabilityObjectiveFunctionImpl(); |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java index c1aff1fe..7f2bee5b 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java | |||
@@ -18,6 +18,8 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEnt | |||
18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; | 18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; |
19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; | 19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; |
20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; | 20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; |
21 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry; | ||
22 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction; | ||
21 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; | 23 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; |
22 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; | 24 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; |
23 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; | 25 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; |
@@ -384,6 +386,20 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
384 | * <!-- end-user-doc --> | 386 | * <!-- end-user-doc --> |
385 | * @generated | 387 | * @generated |
386 | */ | 388 | */ |
389 | private EClass costObjectiveFunctionEClass = null; | ||
390 | |||
391 | /** | ||
392 | * <!-- begin-user-doc --> | ||
393 | * <!-- end-user-doc --> | ||
394 | * @generated | ||
395 | */ | ||
396 | private EClass costEntryEClass = null; | ||
397 | |||
398 | /** | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | */ | ||
387 | private EClass reliabilityObjectiveFunctionEClass = null; | 403 | private EClass reliabilityObjectiveFunctionEClass = null; |
388 | 404 | ||
389 | /** | 405 | /** |
@@ -1539,6 +1555,61 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1539 | * @generated | 1555 | * @generated |
1540 | */ | 1556 | */ |
1541 | @Override | 1557 | @Override |
1558 | public EClass getCostObjectiveFunction() | ||
1559 | { | ||
1560 | return costObjectiveFunctionEClass; | ||
1561 | } | ||
1562 | |||
1563 | /** | ||
1564 | * <!-- begin-user-doc --> | ||
1565 | * <!-- end-user-doc --> | ||
1566 | * @generated | ||
1567 | */ | ||
1568 | @Override | ||
1569 | public EReference getCostObjectiveFunction_Entries() | ||
1570 | { | ||
1571 | return (EReference)costObjectiveFunctionEClass.getEStructuralFeatures().get(0); | ||
1572 | } | ||
1573 | |||
1574 | /** | ||
1575 | * <!-- begin-user-doc --> | ||
1576 | * <!-- end-user-doc --> | ||
1577 | * @generated | ||
1578 | */ | ||
1579 | @Override | ||
1580 | public EClass getCostEntry() | ||
1581 | { | ||
1582 | return costEntryEClass; | ||
1583 | } | ||
1584 | |||
1585 | /** | ||
1586 | * <!-- begin-user-doc --> | ||
1587 | * <!-- end-user-doc --> | ||
1588 | * @generated | ||
1589 | */ | ||
1590 | @Override | ||
1591 | public EReference getCostEntry_PatternElement() | ||
1592 | { | ||
1593 | return (EReference)costEntryEClass.getEStructuralFeatures().get(0); | ||
1594 | } | ||
1595 | |||
1596 | /** | ||
1597 | * <!-- begin-user-doc --> | ||
1598 | * <!-- end-user-doc --> | ||
1599 | * @generated | ||
1600 | */ | ||
1601 | @Override | ||
1602 | public EAttribute getCostEntry_Weight() | ||
1603 | { | ||
1604 | return (EAttribute)costEntryEClass.getEStructuralFeatures().get(1); | ||
1605 | } | ||
1606 | |||
1607 | /** | ||
1608 | * <!-- begin-user-doc --> | ||
1609 | * <!-- end-user-doc --> | ||
1610 | * @generated | ||
1611 | */ | ||
1612 | @Override | ||
1542 | public EClass getReliabilityObjectiveFunction() | 1613 | public EClass getReliabilityObjectiveFunction() |
1543 | { | 1614 | { |
1544 | return reliabilityObjectiveFunctionEClass; | 1615 | return reliabilityObjectiveFunctionEClass; |
@@ -2704,6 +2775,13 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
2704 | 2775 | ||
2705 | objectiveFunctionEClass = createEClass(OBJECTIVE_FUNCTION); | 2776 | objectiveFunctionEClass = createEClass(OBJECTIVE_FUNCTION); |
2706 | 2777 | ||
2778 | costObjectiveFunctionEClass = createEClass(COST_OBJECTIVE_FUNCTION); | ||
2779 | createEReference(costObjectiveFunctionEClass, COST_OBJECTIVE_FUNCTION__ENTRIES); | ||
2780 | |||
2781 | costEntryEClass = createEClass(COST_ENTRY); | ||
2782 | createEReference(costEntryEClass, COST_ENTRY__PATTERN_ELEMENT); | ||
2783 | createEAttribute(costEntryEClass, COST_ENTRY__WEIGHT); | ||
2784 | |||
2707 | reliabilityObjectiveFunctionEClass = createEClass(RELIABILITY_OBJECTIVE_FUNCTION); | 2785 | reliabilityObjectiveFunctionEClass = createEClass(RELIABILITY_OBJECTIVE_FUNCTION); |
2708 | createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE); | 2786 | createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__PACKAGE); |
2709 | createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION); | 2787 | createEReference(reliabilityObjectiveFunctionEClass, RELIABILITY_OBJECTIVE_FUNCTION__TRANSFORMATION); |
@@ -2902,6 +2980,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
2902 | objectiveSpecificationEClass.getESuperTypes().add(this.getObjective()); | 2980 | objectiveSpecificationEClass.getESuperTypes().add(this.getObjective()); |
2903 | optimizationEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); | 2981 | optimizationEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); |
2904 | thresholdEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); | 2982 | thresholdEntryEClass.getESuperTypes().add(this.getObjectiveEntry()); |
2983 | costObjectiveFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); | ||
2905 | reliabilityObjectiveFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); | 2984 | reliabilityObjectiveFunctionEClass.getESuperTypes().add(this.getObjectiveFunction()); |
2906 | reliabiltiyProbabilityEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); | 2985 | reliabiltiyProbabilityEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); |
2907 | mtffEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); | 2986 | mtffEClass.getESuperTypes().add(this.getReliabilityObjectiveFunction()); |
@@ -3045,6 +3124,13 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
3045 | 3124 | ||
3046 | initEClass(objectiveFunctionEClass, ObjectiveFunction.class, "ObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 3125 | initEClass(objectiveFunctionEClass, ObjectiveFunction.class, "ObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
3047 | 3126 | ||
3127 | initEClass(costObjectiveFunctionEClass, CostObjectiveFunction.class, "CostObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3128 | initEReference(getCostObjectiveFunction_Entries(), this.getCostEntry(), null, "entries", null, 0, -1, CostObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3129 | |||
3130 | initEClass(costEntryEClass, CostEntry.class, "CostEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3131 | initEReference(getCostEntry_PatternElement(), this.getPatternElement(), null, "patternElement", null, 0, 1, CostEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3132 | initEAttribute(getCostEntry_Weight(), theEcorePackage.getEInt(), "weight", null, 0, 1, CostEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3133 | |||
3048 | initEClass(reliabilityObjectiveFunctionEClass, ReliabilityObjectiveFunction.class, "ReliabilityObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 3134 | initEClass(reliabilityObjectiveFunctionEClass, ReliabilityObjectiveFunction.class, "ReliabilityObjectiveFunction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
3049 | initEReference(getReliabilityObjectiveFunction_Package(), theCftLanguagePackage.getCftModel(), null, "package", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 3135 | initEReference(getReliabilityObjectiveFunction_Package(), theCftLanguagePackage.getCftModel(), null, "package", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
3050 | initEReference(getReliabilityObjectiveFunction_Transformation(), theCftLanguagePackage.getTransformationDefinition(), null, "transformation", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 3136 | initEReference(getReliabilityObjectiveFunction_Transformation(), theCftLanguagePackage.getTransformationDefinition(), null, "transformation", null, 0, 1, ReliabilityObjectiveFunction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
@@ -3183,6 +3269,8 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
3183 | addEEnumLiteral(optimizationDirectionEEnum, OptimizationDirection.MAXIMIZE); | 3269 | addEEnumLiteral(optimizationDirectionEEnum, OptimizationDirection.MAXIMIZE); |
3184 | 3270 | ||
3185 | initEEnum(comparisonOperatorEEnum, ComparisonOperator.class, "ComparisonOperator"); | 3271 | initEEnum(comparisonOperatorEEnum, ComparisonOperator.class, "ComparisonOperator"); |
3272 | addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.LESS); | ||
3273 | addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.GREATER); | ||
3186 | addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.LESS_EQUALS); | 3274 | addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.LESS_EQUALS); |
3187 | addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.GREATER_EQUALS); | 3275 | addEEnumLiteral(comparisonOperatorEEnum, ComparisonOperator.GREATER_EQUALS); |
3188 | 3276 | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java new file mode 100644 index 00000000..892df6f5 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostEntryImpl.java | |||
@@ -0,0 +1,270 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | |||
19 | /** | ||
20 | * <!-- begin-user-doc --> | ||
21 | * An implementation of the model object '<em><b>Cost Entry</b></em>'. | ||
22 | * <!-- end-user-doc --> | ||
23 | * <p> | ||
24 | * The following features are implemented: | ||
25 | * </p> | ||
26 | * <ul> | ||
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostEntryImpl#getPatternElement <em>Pattern Element</em>}</li> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostEntryImpl#getWeight <em>Weight</em>}</li> | ||
29 | * </ul> | ||
30 | * | ||
31 | * @generated | ||
32 | */ | ||
33 | public class CostEntryImpl extends MinimalEObjectImpl.Container implements CostEntry | ||
34 | { | ||
35 | /** | ||
36 | * The cached value of the '{@link #getPatternElement() <em>Pattern Element</em>}' containment reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @see #getPatternElement() | ||
40 | * @generated | ||
41 | * @ordered | ||
42 | */ | ||
43 | protected PatternElement patternElement; | ||
44 | |||
45 | /** | ||
46 | * The default value of the '{@link #getWeight() <em>Weight</em>}' attribute. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @see #getWeight() | ||
50 | * @generated | ||
51 | * @ordered | ||
52 | */ | ||
53 | protected static final int WEIGHT_EDEFAULT = 0; | ||
54 | |||
55 | /** | ||
56 | * The cached value of the '{@link #getWeight() <em>Weight</em>}' attribute. | ||
57 | * <!-- begin-user-doc --> | ||
58 | * <!-- end-user-doc --> | ||
59 | * @see #getWeight() | ||
60 | * @generated | ||
61 | * @ordered | ||
62 | */ | ||
63 | protected int weight = WEIGHT_EDEFAULT; | ||
64 | |||
65 | /** | ||
66 | * <!-- begin-user-doc --> | ||
67 | * <!-- end-user-doc --> | ||
68 | * @generated | ||
69 | */ | ||
70 | protected CostEntryImpl() | ||
71 | { | ||
72 | super(); | ||
73 | } | ||
74 | |||
75 | /** | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @generated | ||
79 | */ | ||
80 | @Override | ||
81 | protected EClass eStaticClass() | ||
82 | { | ||
83 | return ApplicationConfigurationPackage.Literals.COST_ENTRY; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public PatternElement getPatternElement() | ||
93 | { | ||
94 | return patternElement; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | public NotificationChain basicSetPatternElement(PatternElement newPatternElement, NotificationChain msgs) | ||
103 | { | ||
104 | PatternElement oldPatternElement = patternElement; | ||
105 | patternElement = newPatternElement; | ||
106 | if (eNotificationRequired()) | ||
107 | { | ||
108 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT, oldPatternElement, newPatternElement); | ||
109 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
110 | } | ||
111 | return msgs; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | public void setPatternElement(PatternElement newPatternElement) | ||
121 | { | ||
122 | if (newPatternElement != patternElement) | ||
123 | { | ||
124 | NotificationChain msgs = null; | ||
125 | if (patternElement != null) | ||
126 | msgs = ((InternalEObject)patternElement).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT, null, msgs); | ||
127 | if (newPatternElement != null) | ||
128 | msgs = ((InternalEObject)newPatternElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT, null, msgs); | ||
129 | msgs = basicSetPatternElement(newPatternElement, msgs); | ||
130 | if (msgs != null) msgs.dispatch(); | ||
131 | } | ||
132 | else if (eNotificationRequired()) | ||
133 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT, newPatternElement, newPatternElement)); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | @Override | ||
142 | public int getWeight() | ||
143 | { | ||
144 | return weight; | ||
145 | } | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | @Override | ||
153 | public void setWeight(int newWeight) | ||
154 | { | ||
155 | int oldWeight = weight; | ||
156 | weight = newWeight; | ||
157 | if (eNotificationRequired()) | ||
158 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.COST_ENTRY__WEIGHT, oldWeight, weight)); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT: | ||
172 | return basicSetPatternElement(null, msgs); | ||
173 | } | ||
174 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
175 | } | ||
176 | |||
177 | /** | ||
178 | * <!-- begin-user-doc --> | ||
179 | * <!-- end-user-doc --> | ||
180 | * @generated | ||
181 | */ | ||
182 | @Override | ||
183 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
184 | { | ||
185 | switch (featureID) | ||
186 | { | ||
187 | case ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT: | ||
188 | return getPatternElement(); | ||
189 | case ApplicationConfigurationPackage.COST_ENTRY__WEIGHT: | ||
190 | return getWeight(); | ||
191 | } | ||
192 | return super.eGet(featureID, resolve, coreType); | ||
193 | } | ||
194 | |||
195 | /** | ||
196 | * <!-- begin-user-doc --> | ||
197 | * <!-- end-user-doc --> | ||
198 | * @generated | ||
199 | */ | ||
200 | @Override | ||
201 | public void eSet(int featureID, Object newValue) | ||
202 | { | ||
203 | switch (featureID) | ||
204 | { | ||
205 | case ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT: | ||
206 | setPatternElement((PatternElement)newValue); | ||
207 | return; | ||
208 | case ApplicationConfigurationPackage.COST_ENTRY__WEIGHT: | ||
209 | setWeight((Integer)newValue); | ||
210 | return; | ||
211 | } | ||
212 | super.eSet(featureID, newValue); | ||
213 | } | ||
214 | |||
215 | /** | ||
216 | * <!-- begin-user-doc --> | ||
217 | * <!-- end-user-doc --> | ||
218 | * @generated | ||
219 | */ | ||
220 | @Override | ||
221 | public void eUnset(int featureID) | ||
222 | { | ||
223 | switch (featureID) | ||
224 | { | ||
225 | case ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT: | ||
226 | setPatternElement((PatternElement)null); | ||
227 | return; | ||
228 | case ApplicationConfigurationPackage.COST_ENTRY__WEIGHT: | ||
229 | setWeight(WEIGHT_EDEFAULT); | ||
230 | return; | ||
231 | } | ||
232 | super.eUnset(featureID); | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public boolean eIsSet(int featureID) | ||
242 | { | ||
243 | switch (featureID) | ||
244 | { | ||
245 | case ApplicationConfigurationPackage.COST_ENTRY__PATTERN_ELEMENT: | ||
246 | return patternElement != null; | ||
247 | case ApplicationConfigurationPackage.COST_ENTRY__WEIGHT: | ||
248 | return weight != WEIGHT_EDEFAULT; | ||
249 | } | ||
250 | return super.eIsSet(featureID); | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | */ | ||
258 | @Override | ||
259 | public String toString() | ||
260 | { | ||
261 | if (eIsProxy()) return super.toString(); | ||
262 | |||
263 | StringBuilder result = new StringBuilder(super.toString()); | ||
264 | result.append(" (weight: "); | ||
265 | result.append(weight); | ||
266 | result.append(')'); | ||
267 | return result.toString(); | ||
268 | } | ||
269 | |||
270 | } //CostEntryImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java new file mode 100644 index 00000000..bdabbb69 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CostObjectiveFunctionImpl.java | |||
@@ -0,0 +1,167 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.16.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction; | ||
9 | |||
10 | import java.util.Collection; | ||
11 | |||
12 | import org.eclipse.emf.common.notify.NotificationChain; | ||
13 | |||
14 | import org.eclipse.emf.common.util.EList; | ||
15 | |||
16 | import org.eclipse.emf.ecore.EClass; | ||
17 | import org.eclipse.emf.ecore.InternalEObject; | ||
18 | |||
19 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * An implementation of the model object '<em><b>Cost Objective Function</b></em>'. | ||
25 | * <!-- end-user-doc --> | ||
26 | * <p> | ||
27 | * The following features are implemented: | ||
28 | * </p> | ||
29 | * <ul> | ||
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CostObjectiveFunctionImpl#getEntries <em>Entries</em>}</li> | ||
31 | * </ul> | ||
32 | * | ||
33 | * @generated | ||
34 | */ | ||
35 | public class CostObjectiveFunctionImpl extends ObjectiveFunctionImpl implements CostObjectiveFunction | ||
36 | { | ||
37 | /** | ||
38 | * The cached value of the '{@link #getEntries() <em>Entries</em>}' containment reference list. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @see #getEntries() | ||
42 | * @generated | ||
43 | * @ordered | ||
44 | */ | ||
45 | protected EList<CostEntry> entries; | ||
46 | |||
47 | /** | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @generated | ||
51 | */ | ||
52 | protected CostObjectiveFunctionImpl() | ||
53 | { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() | ||
64 | { | ||
65 | return ApplicationConfigurationPackage.Literals.COST_OBJECTIVE_FUNCTION; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public EList<CostEntry> getEntries() | ||
75 | { | ||
76 | if (entries == null) | ||
77 | { | ||
78 | entries = new EObjectContainmentEList<CostEntry>(CostEntry.class, this, ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION__ENTRIES); | ||
79 | } | ||
80 | return entries; | ||
81 | } | ||
82 | |||
83 | /** | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @generated | ||
87 | */ | ||
88 | @Override | ||
89 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
90 | { | ||
91 | switch (featureID) | ||
92 | { | ||
93 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION__ENTRIES: | ||
94 | return ((InternalEList<?>)getEntries()).basicRemove(otherEnd, msgs); | ||
95 | } | ||
96 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
106 | { | ||
107 | switch (featureID) | ||
108 | { | ||
109 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION__ENTRIES: | ||
110 | return getEntries(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @SuppressWarnings("unchecked") | ||
121 | @Override | ||
122 | public void eSet(int featureID, Object newValue) | ||
123 | { | ||
124 | switch (featureID) | ||
125 | { | ||
126 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION__ENTRIES: | ||
127 | getEntries().clear(); | ||
128 | getEntries().addAll((Collection<? extends CostEntry>)newValue); | ||
129 | return; | ||
130 | } | ||
131 | super.eSet(featureID, newValue); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public void eUnset(int featureID) | ||
141 | { | ||
142 | switch (featureID) | ||
143 | { | ||
144 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION__ENTRIES: | ||
145 | getEntries().clear(); | ||
146 | return; | ||
147 | } | ||
148 | super.eUnset(featureID); | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public boolean eIsSet(int featureID) | ||
158 | { | ||
159 | switch (featureID) | ||
160 | { | ||
161 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION__ENTRIES: | ||
162 | return entries != null && !entries.isEmpty(); | ||
163 | } | ||
164 | return super.eIsSet(featureID); | ||
165 | } | ||
166 | |||
167 | } //CostObjectiveFunctionImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java index ea1050df..1ba04522 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ThresholdEntryImpl.java | |||
@@ -39,7 +39,7 @@ public class ThresholdEntryImpl extends ObjectiveEntryImpl implements ThresholdE | |||
39 | * @generated | 39 | * @generated |
40 | * @ordered | 40 | * @ordered |
41 | */ | 41 | */ |
42 | protected static final ComparisonOperator OPERATOR_EDEFAULT = ComparisonOperator.LESS_EQUALS; | 42 | protected static final ComparisonOperator OPERATOR_EDEFAULT = ComparisonOperator.LESS; |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * The cached value of the '{@link #getOperator() <em>Operator</em>}' attribute. | 45 | * The cached value of the '{@link #getOperator() <em>Operator</em>}' attribute. |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java index 0d52290c..96e7a6a6 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java | |||
@@ -261,6 +261,16 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl | |||
261 | return createObjectiveFunctionAdapter(); | 261 | return createObjectiveFunctionAdapter(); |
262 | } | 262 | } |
263 | @Override | 263 | @Override |
264 | public Adapter caseCostObjectiveFunction(CostObjectiveFunction object) | ||
265 | { | ||
266 | return createCostObjectiveFunctionAdapter(); | ||
267 | } | ||
268 | @Override | ||
269 | public Adapter caseCostEntry(CostEntry object) | ||
270 | { | ||
271 | return createCostEntryAdapter(); | ||
272 | } | ||
273 | @Override | ||
264 | public Adapter caseReliabilityObjectiveFunction(ReliabilityObjectiveFunction object) | 274 | public Adapter caseReliabilityObjectiveFunction(ReliabilityObjectiveFunction object) |
265 | { | 275 | { |
266 | return createReliabilityObjectiveFunctionAdapter(); | 276 | return createReliabilityObjectiveFunctionAdapter(); |
@@ -1048,6 +1058,36 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl | |||
1048 | } | 1058 | } |
1049 | 1059 | ||
1050 | /** | 1060 | /** |
1061 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction <em>Cost Objective Function</em>}'. | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * This default implementation returns null so that we can easily ignore cases; | ||
1064 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1065 | * <!-- end-user-doc --> | ||
1066 | * @return the new adapter. | ||
1067 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostObjectiveFunction | ||
1068 | * @generated | ||
1069 | */ | ||
1070 | public Adapter createCostObjectiveFunctionAdapter() | ||
1071 | { | ||
1072 | return null; | ||
1073 | } | ||
1074 | |||
1075 | /** | ||
1076 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry <em>Cost Entry</em>}'. | ||
1077 | * <!-- begin-user-doc --> | ||
1078 | * This default implementation returns null so that we can easily ignore cases; | ||
1079 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1080 | * <!-- end-user-doc --> | ||
1081 | * @return the new adapter. | ||
1082 | * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CostEntry | ||
1083 | * @generated | ||
1084 | */ | ||
1085 | public Adapter createCostEntryAdapter() | ||
1086 | { | ||
1087 | return null; | ||
1088 | } | ||
1089 | |||
1090 | /** | ||
1051 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction <em>Reliability Objective Function</em>}'. | 1091 | * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ReliabilityObjectiveFunction <em>Reliability Objective Function</em>}'. |
1052 | * <!-- begin-user-doc --> | 1092 | * <!-- begin-user-doc --> |
1053 | * This default implementation returns null so that we can easily ignore cases; | 1093 | * This default implementation returns null so that we can easily ignore cases; |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java index 0fcc39dc..d5b57a80 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java | |||
@@ -361,6 +361,21 @@ public class ApplicationConfigurationSwitch<T> extends Switch<T> | |||
361 | if (result == null) result = defaultCase(theEObject); | 361 | if (result == null) result = defaultCase(theEObject); |
362 | return result; | 362 | return result; |
363 | } | 363 | } |
364 | case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: | ||
365 | { | ||
366 | CostObjectiveFunction costObjectiveFunction = (CostObjectiveFunction)theEObject; | ||
367 | T result = caseCostObjectiveFunction(costObjectiveFunction); | ||
368 | if (result == null) result = caseObjectiveFunction(costObjectiveFunction); | ||
369 | if (result == null) result = defaultCase(theEObject); | ||
370 | return result; | ||
371 | } | ||
372 | case ApplicationConfigurationPackage.COST_ENTRY: | ||
373 | { | ||
374 | CostEntry costEntry = (CostEntry)theEObject; | ||
375 | T result = caseCostEntry(costEntry); | ||
376 | if (result == null) result = defaultCase(theEObject); | ||
377 | return result; | ||
378 | } | ||
364 | case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: | 379 | case ApplicationConfigurationPackage.RELIABILITY_OBJECTIVE_FUNCTION: |
365 | { | 380 | { |
366 | ReliabilityObjectiveFunction reliabilityObjectiveFunction = (ReliabilityObjectiveFunction)theEObject; | 381 | ReliabilityObjectiveFunction reliabilityObjectiveFunction = (ReliabilityObjectiveFunction)theEObject; |
@@ -1296,6 +1311,38 @@ public class ApplicationConfigurationSwitch<T> extends Switch<T> | |||
1296 | } | 1311 | } |
1297 | 1312 | ||
1298 | /** | 1313 | /** |
1314 | * Returns the result of interpreting the object as an instance of '<em>Cost Objective Function</em>'. | ||
1315 | * <!-- begin-user-doc --> | ||
1316 | * This implementation returns null; | ||
1317 | * returning a non-null result will terminate the switch. | ||
1318 | * <!-- end-user-doc --> | ||
1319 | * @param object the target of the switch. | ||
1320 | * @return the result of interpreting the object as an instance of '<em>Cost Objective Function</em>'. | ||
1321 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1322 | * @generated | ||
1323 | */ | ||
1324 | public T caseCostObjectiveFunction(CostObjectiveFunction object) | ||
1325 | { | ||
1326 | return null; | ||
1327 | } | ||
1328 | |||
1329 | /** | ||
1330 | * Returns the result of interpreting the object as an instance of '<em>Cost Entry</em>'. | ||
1331 | * <!-- begin-user-doc --> | ||
1332 | * This implementation returns null; | ||
1333 | * returning a non-null result will terminate the switch. | ||
1334 | * <!-- end-user-doc --> | ||
1335 | * @param object the target of the switch. | ||
1336 | * @return the result of interpreting the object as an instance of '<em>Cost Entry</em>'. | ||
1337 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
1338 | * @generated | ||
1339 | */ | ||
1340 | public T caseCostEntry(CostEntry object) | ||
1341 | { | ||
1342 | return null; | ||
1343 | } | ||
1344 | |||
1345 | /** | ||
1299 | * Returns the result of interpreting the object as an instance of '<em>Reliability Objective Function</em>'. | 1346 | * Returns the result of interpreting the object as an instance of '<em>Reliability Objective Function</em>'. |
1300 | * <!-- begin-user-doc --> | 1347 | * <!-- begin-user-doc --> |
1301 | * This implementation returns null; | 1348 | * This implementation returns null; |