Commit f8acaf45 authored by Emmanuel Godard's avatar Emmanuel Godard

md list

parent f678e4ef
# basic example using Davis
# Basic example of using Davis
## Getting started with Intellij
1- Clone the basic example repository :
1. Clone the basic example repository :
```
git clone https://gitlab.lis-lab.fr/davis/basic-example.git
```
2- Open IntelliJ and load project :
2. Open IntelliJ and load project :
```
File/Open
```
......@@ -17,21 +17,21 @@ Choose the basic-example folder and click ok
## Write new algorithm
1- Write your java algorithm into the src folder : MyAlgo.java
2- Open scenario file and add a line with 5 parameters :
<testName> <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>
3- Refresh gradle panel.
4- In `Tasks/application` of the gradle panel you should see your testName as a
1. Write your java algorithm into the src folder : MyAlgo.java
2. Open scenario file and add a line with 5 parameters :
`<testName> <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>`
3. Refresh gradle panel.
4. In `Tasks/application` of the gradle panel you should see your testName as a
gradle task named "runtestName"
5- Click to execute.
5. Click to execute.
## Without Intellij
1- Write your java algorithm into the src folder : MyAlgo.java
2- Open scenario file and add a line with 5 parameters :
<testName> <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>
3- Execute in a terminal with `./gradlew runtestName`
1. Write your java algorithm into the src folder : MyAlgo.java
2. Open scenario file and add a line with 5 parameters :
`<testName> <networkGeneratorFile> <scheme> <size> <algoFile : MyAlgo.java>`
3. Execute in a terminal with `./gradlew runtestName`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment