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.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g | |
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.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g | 427 |
1 files changed, 420 insertions, 7 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g index 5ac1e746..0d0b6cd0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g | |||
@@ -1040,9 +1040,59 @@ ruleObjectiveFunction | |||
1040 | } | 1040 | } |
1041 | : | 1041 | : |
1042 | ( | 1042 | ( |
1043 | { before(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); } | 1043 | { before(grammarAccess.getObjectiveFunctionAccess().getAlternatives()); } |
1044 | ruleReliabilityObjectiveFunction | 1044 | (rule__ObjectiveFunction__Alternatives) |
1045 | { after(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall()); } | 1045 | { after(grammarAccess.getObjectiveFunctionAccess().getAlternatives()); } |
1046 | ) | ||
1047 | ; | ||
1048 | finally { | ||
1049 | restoreStackSize(stackSize); | ||
1050 | } | ||
1051 | |||
1052 | // Entry rule entryRuleCostObjectiveFunction | ||
1053 | entryRuleCostObjectiveFunction | ||
1054 | : | ||
1055 | { before(grammarAccess.getCostObjectiveFunctionRule()); } | ||
1056 | ruleCostObjectiveFunction | ||
1057 | { after(grammarAccess.getCostObjectiveFunctionRule()); } | ||
1058 | EOF | ||
1059 | ; | ||
1060 | |||
1061 | // Rule CostObjectiveFunction | ||
1062 | ruleCostObjectiveFunction | ||
1063 | @init { | ||
1064 | int stackSize = keepStackSize(); | ||
1065 | } | ||
1066 | : | ||
1067 | ( | ||
1068 | { before(grammarAccess.getCostObjectiveFunctionAccess().getGroup()); } | ||
1069 | (rule__CostObjectiveFunction__Group__0) | ||
1070 | { after(grammarAccess.getCostObjectiveFunctionAccess().getGroup()); } | ||
1071 | ) | ||
1072 | ; | ||
1073 | finally { | ||
1074 | restoreStackSize(stackSize); | ||
1075 | } | ||
1076 | |||
1077 | // Entry rule entryRuleCostEntry | ||
1078 | entryRuleCostEntry | ||
1079 | : | ||
1080 | { before(grammarAccess.getCostEntryRule()); } | ||
1081 | ruleCostEntry | ||
1082 | { after(grammarAccess.getCostEntryRule()); } | ||
1083 | EOF | ||
1084 | ; | ||
1085 | |||
1086 | // Rule CostEntry | ||
1087 | ruleCostEntry | ||
1088 | @init { | ||
1089 | int stackSize = keepStackSize(); | ||
1090 | } | ||
1091 | : | ||
1092 | ( | ||
1093 | { before(grammarAccess.getCostEntryAccess().getGroup()); } | ||
1094 | (rule__CostEntry__Group__0) | ||
1095 | { after(grammarAccess.getCostEntryAccess().getGroup()); } | ||
1046 | ) | 1096 | ) |
1047 | ; | 1097 | ; |
1048 | finally { | 1098 | finally { |
@@ -2305,6 +2355,27 @@ finally { | |||
2305 | restoreStackSize(stackSize); | 2355 | restoreStackSize(stackSize); |
2306 | } | 2356 | } |
2307 | 2357 | ||
2358 | rule__ObjectiveFunction__Alternatives | ||
2359 | @init { | ||
2360 | int stackSize = keepStackSize(); | ||
2361 | } | ||
2362 | : | ||
2363 | ( | ||
2364 | { before(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); } | ||
2365 | ruleCostObjectiveFunction | ||
2366 | { after(grammarAccess.getObjectiveFunctionAccess().getCostObjectiveFunctionParserRuleCall_0()); } | ||
2367 | ) | ||
2368 | | | ||
2369 | ( | ||
2370 | { before(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); } | ||
2371 | ruleReliabilityObjectiveFunction | ||
2372 | { after(grammarAccess.getObjectiveFunctionAccess().getReliabilityObjectiveFunctionParserRuleCall_1()); } | ||
2373 | ) | ||
2374 | ; | ||
2375 | finally { | ||
2376 | restoreStackSize(stackSize); | ||
2377 | } | ||
2378 | |||
2308 | rule__ReliabilityObjectiveFunction__Alternatives | 2379 | rule__ReliabilityObjectiveFunction__Alternatives |
2309 | @init { | 2380 | @init { |
2310 | int stackSize = keepStackSize(); | 2381 | int stackSize = keepStackSize(); |
@@ -2758,15 +2829,27 @@ rule__ComparisonOperator__Alternatives | |||
2758 | } | 2829 | } |
2759 | : | 2830 | : |
2760 | ( | 2831 | ( |
2761 | { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); } | 2832 | { before(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0()); } |
2833 | ('<') | ||
2834 | { after(grammarAccess.getComparisonOperatorAccess().getLESSEnumLiteralDeclaration_0()); } | ||
2835 | ) | ||
2836 | | | ||
2837 | ( | ||
2838 | { before(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1()); } | ||
2839 | ('>') | ||
2840 | { after(grammarAccess.getComparisonOperatorAccess().getGREATEREnumLiteralDeclaration_1()); } | ||
2841 | ) | ||
2842 | | | ||
2843 | ( | ||
2844 | { before(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2()); } | ||
2762 | ('<=') | 2845 | ('<=') |
2763 | { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_0()); } | 2846 | { after(grammarAccess.getComparisonOperatorAccess().getLESS_EQUALSEnumLiteralDeclaration_2()); } |
2764 | ) | 2847 | ) |
2765 | | | 2848 | | |
2766 | ( | 2849 | ( |
2767 | { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); } | 2850 | { before(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3()); } |
2768 | ('>=') | 2851 | ('>=') |
2769 | { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_1()); } | 2852 | { after(grammarAccess.getComparisonOperatorAccess().getGREATER_EQUALSEnumLiteralDeclaration_3()); } |
2770 | ) | 2853 | ) |
2771 | ; | 2854 | ; |
2772 | finally { | 2855 | finally { |
@@ -5635,6 +5718,276 @@ finally { | |||
5635 | } | 5718 | } |
5636 | 5719 | ||
5637 | 5720 | ||
5721 | rule__CostObjectiveFunction__Group__0 | ||
5722 | @init { | ||
5723 | int stackSize = keepStackSize(); | ||
5724 | } | ||
5725 | : | ||
5726 | rule__CostObjectiveFunction__Group__0__Impl | ||
5727 | rule__CostObjectiveFunction__Group__1 | ||
5728 | ; | ||
5729 | finally { | ||
5730 | restoreStackSize(stackSize); | ||
5731 | } | ||
5732 | |||
5733 | rule__CostObjectiveFunction__Group__0__Impl | ||
5734 | @init { | ||
5735 | int stackSize = keepStackSize(); | ||
5736 | } | ||
5737 | : | ||
5738 | ( | ||
5739 | { before(grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0()); } | ||
5740 | 'cost' | ||
5741 | { after(grammarAccess.getCostObjectiveFunctionAccess().getCostKeyword_0()); } | ||
5742 | ) | ||
5743 | ; | ||
5744 | finally { | ||
5745 | restoreStackSize(stackSize); | ||
5746 | } | ||
5747 | |||
5748 | rule__CostObjectiveFunction__Group__1 | ||
5749 | @init { | ||
5750 | int stackSize = keepStackSize(); | ||
5751 | } | ||
5752 | : | ||
5753 | rule__CostObjectiveFunction__Group__1__Impl | ||
5754 | rule__CostObjectiveFunction__Group__2 | ||
5755 | ; | ||
5756 | finally { | ||
5757 | restoreStackSize(stackSize); | ||
5758 | } | ||
5759 | |||
5760 | rule__CostObjectiveFunction__Group__1__Impl | ||
5761 | @init { | ||
5762 | int stackSize = keepStackSize(); | ||
5763 | } | ||
5764 | : | ||
5765 | ( | ||
5766 | { before(grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1()); } | ||
5767 | '{' | ||
5768 | { after(grammarAccess.getCostObjectiveFunctionAccess().getLeftCurlyBracketKeyword_1()); } | ||
5769 | ) | ||
5770 | ; | ||
5771 | finally { | ||
5772 | restoreStackSize(stackSize); | ||
5773 | } | ||
5774 | |||
5775 | rule__CostObjectiveFunction__Group__2 | ||
5776 | @init { | ||
5777 | int stackSize = keepStackSize(); | ||
5778 | } | ||
5779 | : | ||
5780 | rule__CostObjectiveFunction__Group__2__Impl | ||
5781 | rule__CostObjectiveFunction__Group__3 | ||
5782 | ; | ||
5783 | finally { | ||
5784 | restoreStackSize(stackSize); | ||
5785 | } | ||
5786 | |||
5787 | rule__CostObjectiveFunction__Group__2__Impl | ||
5788 | @init { | ||
5789 | int stackSize = keepStackSize(); | ||
5790 | } | ||
5791 | : | ||
5792 | ( | ||
5793 | { before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_2()); } | ||
5794 | (rule__CostObjectiveFunction__EntriesAssignment_2) | ||
5795 | { after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_2()); } | ||
5796 | ) | ||
5797 | ; | ||
5798 | finally { | ||
5799 | restoreStackSize(stackSize); | ||
5800 | } | ||
5801 | |||
5802 | rule__CostObjectiveFunction__Group__3 | ||
5803 | @init { | ||
5804 | int stackSize = keepStackSize(); | ||
5805 | } | ||
5806 | : | ||
5807 | rule__CostObjectiveFunction__Group__3__Impl | ||
5808 | rule__CostObjectiveFunction__Group__4 | ||
5809 | ; | ||
5810 | finally { | ||
5811 | restoreStackSize(stackSize); | ||
5812 | } | ||
5813 | |||
5814 | rule__CostObjectiveFunction__Group__3__Impl | ||
5815 | @init { | ||
5816 | int stackSize = keepStackSize(); | ||
5817 | } | ||
5818 | : | ||
5819 | ( | ||
5820 | { before(grammarAccess.getCostObjectiveFunctionAccess().getGroup_3()); } | ||
5821 | (rule__CostObjectiveFunction__Group_3__0)* | ||
5822 | { after(grammarAccess.getCostObjectiveFunctionAccess().getGroup_3()); } | ||
5823 | ) | ||
5824 | ; | ||
5825 | finally { | ||
5826 | restoreStackSize(stackSize); | ||
5827 | } | ||
5828 | |||
5829 | rule__CostObjectiveFunction__Group__4 | ||
5830 | @init { | ||
5831 | int stackSize = keepStackSize(); | ||
5832 | } | ||
5833 | : | ||
5834 | rule__CostObjectiveFunction__Group__4__Impl | ||
5835 | ; | ||
5836 | finally { | ||
5837 | restoreStackSize(stackSize); | ||
5838 | } | ||
5839 | |||
5840 | rule__CostObjectiveFunction__Group__4__Impl | ||
5841 | @init { | ||
5842 | int stackSize = keepStackSize(); | ||
5843 | } | ||
5844 | : | ||
5845 | ( | ||
5846 | { before(grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); } | ||
5847 | '}' | ||
5848 | { after(grammarAccess.getCostObjectiveFunctionAccess().getRightCurlyBracketKeyword_4()); } | ||
5849 | ) | ||
5850 | ; | ||
5851 | finally { | ||
5852 | restoreStackSize(stackSize); | ||
5853 | } | ||
5854 | |||
5855 | |||
5856 | rule__CostObjectiveFunction__Group_3__0 | ||
5857 | @init { | ||
5858 | int stackSize = keepStackSize(); | ||
5859 | } | ||
5860 | : | ||
5861 | rule__CostObjectiveFunction__Group_3__0__Impl | ||
5862 | rule__CostObjectiveFunction__Group_3__1 | ||
5863 | ; | ||
5864 | finally { | ||
5865 | restoreStackSize(stackSize); | ||
5866 | } | ||
5867 | |||
5868 | rule__CostObjectiveFunction__Group_3__0__Impl | ||
5869 | @init { | ||
5870 | int stackSize = keepStackSize(); | ||
5871 | } | ||
5872 | : | ||
5873 | ( | ||
5874 | { before(grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); } | ||
5875 | ',' | ||
5876 | { after(grammarAccess.getCostObjectiveFunctionAccess().getCommaKeyword_3_0()); } | ||
5877 | ) | ||
5878 | ; | ||
5879 | finally { | ||
5880 | restoreStackSize(stackSize); | ||
5881 | } | ||
5882 | |||
5883 | rule__CostObjectiveFunction__Group_3__1 | ||
5884 | @init { | ||
5885 | int stackSize = keepStackSize(); | ||
5886 | } | ||
5887 | : | ||
5888 | rule__CostObjectiveFunction__Group_3__1__Impl | ||
5889 | ; | ||
5890 | finally { | ||
5891 | restoreStackSize(stackSize); | ||
5892 | } | ||
5893 | |||
5894 | rule__CostObjectiveFunction__Group_3__1__Impl | ||
5895 | @init { | ||
5896 | int stackSize = keepStackSize(); | ||
5897 | } | ||
5898 | : | ||
5899 | ( | ||
5900 | { before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1()); } | ||
5901 | (rule__CostObjectiveFunction__EntriesAssignment_3_1) | ||
5902 | { after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesAssignment_3_1()); } | ||
5903 | ) | ||
5904 | ; | ||
5905 | finally { | ||
5906 | restoreStackSize(stackSize); | ||
5907 | } | ||
5908 | |||
5909 | |||
5910 | rule__CostEntry__Group__0 | ||
5911 | @init { | ||
5912 | int stackSize = keepStackSize(); | ||
5913 | } | ||
5914 | : | ||
5915 | rule__CostEntry__Group__0__Impl | ||
5916 | rule__CostEntry__Group__1 | ||
5917 | ; | ||
5918 | finally { | ||
5919 | restoreStackSize(stackSize); | ||
5920 | } | ||
5921 | |||
5922 | rule__CostEntry__Group__0__Impl | ||
5923 | @init { | ||
5924 | int stackSize = keepStackSize(); | ||
5925 | } | ||
5926 | : | ||
5927 | ( | ||
5928 | { before(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0()); } | ||
5929 | (rule__CostEntry__PatternElementAssignment_0) | ||
5930 | { after(grammarAccess.getCostEntryAccess().getPatternElementAssignment_0()); } | ||
5931 | ) | ||
5932 | ; | ||
5933 | finally { | ||
5934 | restoreStackSize(stackSize); | ||
5935 | } | ||
5936 | |||
5937 | rule__CostEntry__Group__1 | ||
5938 | @init { | ||
5939 | int stackSize = keepStackSize(); | ||
5940 | } | ||
5941 | : | ||
5942 | rule__CostEntry__Group__1__Impl | ||
5943 | rule__CostEntry__Group__2 | ||
5944 | ; | ||
5945 | finally { | ||
5946 | restoreStackSize(stackSize); | ||
5947 | } | ||
5948 | |||
5949 | rule__CostEntry__Group__1__Impl | ||
5950 | @init { | ||
5951 | int stackSize = keepStackSize(); | ||
5952 | } | ||
5953 | : | ||
5954 | ( | ||
5955 | { before(grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); } | ||
5956 | '=' | ||
5957 | { after(grammarAccess.getCostEntryAccess().getEqualsSignKeyword_1()); } | ||
5958 | ) | ||
5959 | ; | ||
5960 | finally { | ||
5961 | restoreStackSize(stackSize); | ||
5962 | } | ||
5963 | |||
5964 | rule__CostEntry__Group__2 | ||
5965 | @init { | ||
5966 | int stackSize = keepStackSize(); | ||
5967 | } | ||
5968 | : | ||
5969 | rule__CostEntry__Group__2__Impl | ||
5970 | ; | ||
5971 | finally { | ||
5972 | restoreStackSize(stackSize); | ||
5973 | } | ||
5974 | |||
5975 | rule__CostEntry__Group__2__Impl | ||
5976 | @init { | ||
5977 | int stackSize = keepStackSize(); | ||
5978 | } | ||
5979 | : | ||
5980 | ( | ||
5981 | { before(grammarAccess.getCostEntryAccess().getWeightAssignment_2()); } | ||
5982 | (rule__CostEntry__WeightAssignment_2) | ||
5983 | { after(grammarAccess.getCostEntryAccess().getWeightAssignment_2()); } | ||
5984 | ) | ||
5985 | ; | ||
5986 | finally { | ||
5987 | restoreStackSize(stackSize); | ||
5988 | } | ||
5989 | |||
5990 | |||
5638 | rule__ReliabiltiyProbability__Group__0 | 5991 | rule__ReliabiltiyProbability__Group__0 |
5639 | @init { | 5992 | @init { |
5640 | int stackSize = keepStackSize(); | 5993 | int stackSize = keepStackSize(); |
@@ -10838,6 +11191,66 @@ finally { | |||
10838 | restoreStackSize(stackSize); | 11191 | restoreStackSize(stackSize); |
10839 | } | 11192 | } |
10840 | 11193 | ||
11194 | rule__CostObjectiveFunction__EntriesAssignment_2 | ||
11195 | @init { | ||
11196 | int stackSize = keepStackSize(); | ||
11197 | } | ||
11198 | : | ||
11199 | ( | ||
11200 | { before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); } | ||
11201 | ruleCostEntry | ||
11202 | { after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_2_0()); } | ||
11203 | ) | ||
11204 | ; | ||
11205 | finally { | ||
11206 | restoreStackSize(stackSize); | ||
11207 | } | ||
11208 | |||
11209 | rule__CostObjectiveFunction__EntriesAssignment_3_1 | ||
11210 | @init { | ||
11211 | int stackSize = keepStackSize(); | ||
11212 | } | ||
11213 | : | ||
11214 | ( | ||
11215 | { before(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); } | ||
11216 | ruleCostEntry | ||
11217 | { after(grammarAccess.getCostObjectiveFunctionAccess().getEntriesCostEntryParserRuleCall_3_1_0()); } | ||
11218 | ) | ||
11219 | ; | ||
11220 | finally { | ||
11221 | restoreStackSize(stackSize); | ||
11222 | } | ||
11223 | |||
11224 | rule__CostEntry__PatternElementAssignment_0 | ||
11225 | @init { | ||
11226 | int stackSize = keepStackSize(); | ||
11227 | } | ||
11228 | : | ||
11229 | ( | ||
11230 | { before(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); } | ||
11231 | rulePatternElement | ||
11232 | { after(grammarAccess.getCostEntryAccess().getPatternElementPatternElementParserRuleCall_0_0()); } | ||
11233 | ) | ||
11234 | ; | ||
11235 | finally { | ||
11236 | restoreStackSize(stackSize); | ||
11237 | } | ||
11238 | |||
11239 | rule__CostEntry__WeightAssignment_2 | ||
11240 | @init { | ||
11241 | int stackSize = keepStackSize(); | ||
11242 | } | ||
11243 | : | ||
11244 | ( | ||
11245 | { before(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); } | ||
11246 | ruleINTLiteral | ||
11247 | { after(grammarAccess.getCostEntryAccess().getWeightINTLiteralParserRuleCall_2_0()); } | ||
11248 | ) | ||
11249 | ; | ||
11250 | finally { | ||
11251 | restoreStackSize(stackSize); | ||
11252 | } | ||
11253 | |||
10841 | rule__ReliabiltiyProbability__PackageAssignment_1_0 | 11254 | rule__ReliabiltiyProbability__PackageAssignment_1_0 |
10842 | @init { | 11255 | @init { |
10843 | int stackSize = keepStackSize(); | 11256 | int stackSize = keepStackSize(); |