Contents
directory "./data/ " contains 4 datasets introduced in section VII-A
directory “./code/” contains validation system core and 5 compared algorithms: Greedy, LEH, ILP, ATP, Eff-ATP.
How to Run
first, edit line 14 in file “code_release/code/src/main/java/UserConfig/Configurations.java”
set the “ROOT_PATH” to be the parent directory of “code_release/”.
then execute following instructions in shell.
cd code/
mvn clean package
java -Xmx20480m -Xms20480m -jar target/SmartWarehouse-1.0-SNAPSHOT.jar <algorithm> <dataset>
Parameter <algorithm> specifies the validation algorithm. Its value can be “GD”, “LE”, “LP”, “ATP” or “EATP”.
Parameter <dataset> specifies the dataset. Its value can be “synA”, “synB”, “real1” or “real2”.
Example
Test ATP on dataset Normal
java -Xmx20480m -Xms20480m -jar target/SmartWarehouse-1.0-SNAPSHOT.jar EATP synA
The results with all evaluation metrics are as below
assigned 20015 tasks, Makespan: 8212, time use: 174.233, STC: 2.582, PTC: 166.029, PWR: 0.949, RWR: 0.158
assigned 30024 tasks, Makespan: 14269, time use: 200.462, STC: 3.277, PTC: 191.280, PWR: 0.971, RWR: 0.162
assigned 40028 tasks, Makespan: 20048, time use: 233.636, STC: 3.987, PTC: 222.959, PWR: 0.979, RWR: 0.163
assigned 50038 tasks, Makespan: 25911, time use: 252.428, STC: 4.608, PTC: 240.868, PWR: 0.984, RWR: 0.164
assigned 60039 tasks, Makespan: 31953, time use: 290.437, STC: 5.308, PTC: 277.333, PWR: 0.987, RWR: 0.164
assigned 70047 tasks, Makespan: 37750, time use: 326.530, STC: 6.021, PTC: 312.461, PWR: 0.989, RWR: 0.165
assigned 80058 tasks, Makespan: 43792, time use: 363.867, STC: 6.698, PTC: 348.337, PWR: 0.990, RWR: 0.165
assigned 90058 tasks, Makespan: 49585, time use: 412.003, STC: 7.373, PTC: 395.558, PWR: 0.992, RWR: 0.165
assigned 100000 tasks, Makespan: 60753, time use: 596.025, STC: 8.090, PTC: 577.783, PWR: 0.968, RWR: 0.161
total real time usage: 596.025s
selection time usage: 8.09s
planning time usage: 577.783s
Total time usage: 60753
Memory Usage: [24.39954376220703, 23.925987243652344, 24.29590606689453, 24.40416717529297, 24.659996032714844]