Project for the course Multi Agent Systems (B-KUL-H02H4A) using the RinSim multi-agent system simulator.
The class BulkExperiment
automates experiment execution. Based on a list containing data sets and a list containing configurations it performs an experiment for every configuration combined with every dataset. For each configuration the results are written to files in the output
directory. Adding or removing configuration is as easy as setting the proper lists in the main method.
public static void main(String[] args){
ArrayList<RuntimeConfiguration> runtimeConfigurations = new ArrayList<RuntimeConfiguration>();
ArrayList<String> datasets = new ArrayList<String>(GENDREAU);
runtimeConfigurations.addAll(RADIUS_CONFIGURATIONS);
runtimeConfigurations.addAll(STRATEGY_CONFIGURATIONS);
runtimeConfigurations.addAll(EXCHANGE_CONFIGURATIONS);
BulkExperiment tester = new BulkExperiment(runtimeConfigurations, datasets);
tester.run();
}
The class BeaconSimulation
performs a single experiment accompanied by a graphical user interface for a fixed configuration. Using command line arguments, the data set and speedup value can be selected as shown below.
--speedup 64 --dataset req_rapide_1_240_33