Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
EMADL2CPP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
generators
EMADL2CPP
Commits
14c29770
Commit
14c29770
authored
May 10, 2019
by
Nicola Gatto
Browse files
Options
Browse Files
Download
Plain Diff
Merge default data paths
parents
5a35c2f7
ef3859ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
.gitlab-ci.yml
.gitlab-ci.yml
+4
-0
src/main/java/de/monticore/lang/monticar/emadl/generator/EMADLGenerator.java
...nticore/lang/monticar/emadl/generator/EMADLGenerator.java
+3
-1
src/test/resources/models/reinforcementModel/cartpole/agent/Reward.emadl
...ces/models/reinforcementModel/cartpole/agent/Reward.emadl
+5
-1
No files found.
.gitlab-ci.yml
View file @
14c29770
...
...
@@ -53,6 +53,10 @@ integrationGluonJobLinux:
script
:
-
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml -Dtest=IntegrationGluonTest
<<<<<<< HEAD
=======
>
>>>>>>
master
m
asterJobWindows:
stage: windows
script:
...
...
src/main/java/de/monticore/lang/monticar/emadl/generator/EMADLGenerator.java
View file @
14c29770
...
...
@@ -370,7 +370,9 @@ public class EMADLGenerator {
DataPathConfigParser
newParserConfig
=
new
DataPathConfigParser
(
getModelsPath
()
+
"data_paths.txt"
);
dPath
=
newParserConfig
.
getDataPath
(
EMAComponentSymbol
.
getFullName
());
}
else
{
Log
.
warn
(
"No data path definition found in "
+
dataPathDefinition
+
" found: No generation of data loader"
);
Log
.
warn
(
"No data path definition found in "
+
dataPathDefinition
+
" found: "
+
"Set data path to default ./data path"
);
dPath
=
"data"
;
}
/*String dPath = DataPathConfigParser.getDataPath(getModelsPath() + "data_paths.txt", componentSymbol.getFullName());*/
...
...
src/test/resources/models/reinforcementModel/cartpole/agent/Reward.emadl
View file @
14c29770
...
...
@@ -7,6 +7,10 @@ component Reward {
out
Q
reward
;
implementation
Math
{
reward
=
2
;
if
isTerminal
reward
=
-
1
;
else
reward
=
1
;
end
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment