Skip to content
Snippets Groups Projects
Commit 1f3b5597 authored by Maxence Demougeot's avatar Maxence Demougeot
Browse files

Merge branch '46-mise-a-jour-readme-runner' into 'master'

Resolve "Mise à jour readme Runner"

Closes #46

See merge request !11
parents 8aa003c9 ed15a742
Branches
No related tags found
1 merge request!11Resolve "Mise à jour readme Runner"
...@@ -4,7 +4,7 @@ OCE is a tool that aims at dynamically building applications from building block ...@@ -4,7 +4,7 @@ OCE is a tool that aims at dynamically building applications from building block
## Requirements ## Requirements
Build and run using `Maven` and `Java 1.9` (does not work with earlier or older versions) Build and run using `Maven < 3.8.1` and `Java 1.9` (does not work with earlier or older versions)
## Configuration ## Configuration
...@@ -25,7 +25,7 @@ oce.learning_coefficient = 0.4 ...@@ -25,7 +25,7 @@ oce.learning_coefficient = 0.4
oce.reinforcement_factor = 1.0 oce.reinforcement_factor = 1.0
oce.dependency.engine = OCE oce.dependency.engine = OCE
oce.dependency.end_user_interface = ICE oce.dependency.end_user_interface = ICE
oce.dependency.ambient_environment = Mockup oce.dependency.ambient_environment = Mockup
``` ```
From there you have two windows : From there you have two windows :
...@@ -33,6 +33,31 @@ From there you have two windows : ...@@ -33,6 +33,31 @@ From there you have two windows :
- The mockup window, allowing you to add or remove component in a simulation of a mockup environment. - The mockup window, allowing you to add or remove component in a simulation of a mockup environment.
- The engine window, allowing you to run the engine cycles. - The engine window, allowing you to run the engine cycles.
## OCE Scenario Runner
As part of the OCE test environment, OCE Scenario Runner is a tool attached to OCE that enables automatic and repeatable execution of OCE test scenarios.
To install and use Runner, you must first have completed the installation of the OCE environment explained above. Then, in the `config.properties` file, replace the values of the last two parameters with "TestingTool". The content of the file should then look like this:
```
ice.input_filepath = path/to/ice/editor.ice_editor
oce.similarity_threshold = 0.5
oce.novelty_coefficient = 0.3
oce.exploration_probability = 0.2
oce.learning_coefficient = 0.4
oce.reinforcement_factor = 1.0
oce.dependency.engine = OCE
oce.dependency.end_user_interface = TestingTool
oce.dependency.ambient_environment = TestingTool
```
When the application is launched, a window appears in which you can:
- Select a scenario file in JSON format
- Choose the values of the OCE learning parameters
- Choose the OCE version to be tested
- Choose the number of repetitions of the scenario
- Choose the "evaluation" cycles
- Run the experiment
## Contributors ## Contributors
The follwing people have contributed to the source code of this project : The follwing people have contributed to the source code of this project :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment