distrParams[i] = new XMLParameter("ZeroTimeServiceStrategy",
ZeroStrategy.getEngineClassPath(),
model.getClassName(currentClass), (String) null, true);
} else {
// Load dependent Service Time Strategy --- Bertoli Marco
LDStrategy strategy = (LDStrategy) serviceDistribution;
XMLParameter[] ranges = new XMLParameter[strategy
.getRangeNumber()];
Object[] rangeKeys = strategy.getAllRanges();
for (int j = 0; j < ranges.length; j++) {
// Creates "from" parameter
XMLParameter from = new XMLParameter("from",
Integer.class.getName(), null,
Integer.toString(strategy
.getRangeFrom(rangeKeys[j])), true);
// Creates "distribution" parameter
XMLParameter[] distribution = DistributionWriter
.getDistributionParameter(strategy
.getRangeDistribution(rangeKeys[j]));
// Creates "function" parameter (mean value of the
// distribution)
XMLParameter function = new XMLParameter("function",
String.class.getName(), null,
strategy.getRangeDistributionMean(rangeKeys[j]),
true);
ranges[j] = new XMLParameter("LDParameter",
strategiesClasspathBase + serviceStrategiesSuffix
+ "LDParameter", null, new XMLParameter[] {
from, distribution[0], distribution[1],