Commit f678e4ef authored by Denis Arrivault's avatar Denis Arrivault

Fully functionnal version

parent 0f5d29a2
This diff is collapsed.
# basic example using Davis
## Getting started with davis
## Getting started with Intellij
See
or use
`./gradlew run`
## Basic CLI Usage
1- Clone the basic example repository :
```
git clone https://gitlab.lis-lab.fr/davis/basic-example.git
```
udavis RingAnon2AgentsSym.java RandomIds 18 randomWalkRing.java
2- Open IntelliJ and load project :
```
File/Open
```
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
gradle task named "runtestName"
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`
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