Commit 2f608aef authored by Simon Eismann's avatar Simon Eismann

added basic mars file writing

parent b87d6a6c
......@@ -68,6 +68,7 @@ public class MARS implements AbstractDistribution {
}
private void createFunctions(String[] colors) {
System.out.println(colors[0]);
functions = new Function[colors.length];
for (int i = 0; i < colors.length; i++) {
for (int j = 0; j < colorIds.length; j++) {
......
......@@ -97,7 +97,7 @@ public class MARSCreator extends DistributionCreator {
@Override
public double getMean() {
throw new IllegalStateException();
return -1.0;
}
@Override
......@@ -107,6 +107,6 @@ public class MARSCreator extends DistributionCreator {
@Override
public String getMeanComputationText() {
throw new IllegalStateException();
return "Returning placeholder -1 for mean of DeterministicConcurrency Distribution";
}
}
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