- Java Development Kit (JDK) >= 11
- Apache Maven 3.x
- Clone the repository
git clone https://github.com/cyhw/TrendSharing.git
- Generate an executable JAR file containing all dependencies
mvn package
- Run the TS algorithm with all parameters on the Cainiao dataset
bash cainiao.sh tbtarp
- All metrics results can be found in
./cainiao/<algorithmName>_<batchPeriod>_edt<edtRatio>_nW<nW>_nT<nT>_speed<speed>.txt
usage: nyc.jar [--num_Task] [--num_Worker] [--pointFile] [--taskFile] [--workerFile]
[--speed] [--algorithmName] [--batchPeriod] [--edtRatio]