Commit b87d6a6c authored by Simon Eismann's avatar Simon Eismann

added propper loading of mars models

parent da5ce6ba
......@@ -94,7 +94,9 @@ public enum Distribution {
true),
DETERMINISTIC_CONCURRENCY("DeterministicConcurrency", new DeterministicConcurrencyCreator(),
new String[] { "concurrenciesFile", "responsetimesFile" }, new String[] { "", "" }, true);
new String[] { "concurrenciesFile", "responsetimesFile" }, new String[] { "", "" }, true),
MARS("MARS", new MARSCreator(), new String[] { "marsFile" }, new String[] { "" }, true);
public static final Distribution DEFAULT_DISTRIBUTION = EXPONENTIAL;
......
......@@ -62,8 +62,8 @@ public class MARSCreator extends DistributionCreator {
@Override
protected void loadParams() throws SimQPNException {
loadMARSModelFromFile("marsFile");
marsFilename = this.loadStringParam("marsFile");
loadMARSModelFromFile(marsFilename);
}
private void loadMARSModelFromFile(String fileName) {
......
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