if (MeasureConstants.AMOUNT_OF_LOGGING.equals(measureUri)) {
Map<SampleObject, DetailedExperimentInfo> detailedInfo = alternative.getExperiment().getDetailedInfo();
DetailedExperimentInfo detailedExperimentInfo = detailedInfo.get(sample);
if ((detailedExperimentInfo != null) && (detailedExperimentInfo.getProgramOutput() != null)) {
PositiveIntegerValue v = new PositiveIntegerValue();
v.setValue(detailedExperimentInfo.getProgramOutput().length());
v.setComment("extracted from experiment details");
return v;
}
return null;
} else if (MeasureConstants.FORMAT_OF_LOGGIN.equals(measureUri)) {
Map<SampleObject, DetailedExperimentInfo> detailedInfo = alternative.getExperiment().getDetailedInfo();
DetailedExperimentInfo detailedExperimentInfo = detailedInfo.get(sample);
if ((detailedExperimentInfo != null) && (detailedExperimentInfo.getProgramOutput() != null)) {
OrdinalValue v = new OrdinalValue();
v.setValue(evaluateLogging(detailedExperimentInfo.getProgramOutput()));
v.setComment("extracted from experiments details");
return v;
}
return null;
} else if (MeasureConstants.ELAPSED_TIME_PER_MB.equals(measureUri)) {
Value extracted = extractMeasuredValue(alternative, sample, MeasureConstants.ELAPSED_TIME_PER_OBJECT);