Class SimuComAnalysisResult
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
-
- de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisResult
-
- All Implemented Interfaces:
IAnalysisResult,IPerformanceAnalysisResult,IStatisticAnalysisResult
- Direct Known Subclasses:
SimuComAnalysisEDP2Result,SimuComAnalysisSensorFrameworkResult
public abstract class SimuComAnalysisResult extends AbstractPerformanceAnalysisResult implements IStatisticAnalysisResult, IPerformanceAnalysisResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classSimuComAnalysisResult.TimeseriesDataIdentifier for subsets of data elements that belong to a single time series element.
-
Field Summary
Fields Modifier and Type Field Description protected doublealphaprotected de.uka.ipd.sdq.statistics.estimation.ConfidenceIntervalconfidenceIntervalprotected static org.apache.log4j.Loggerloggerprotected doublemaxUtilizationprotected doublemeanValueprotected doublemedianValueprotected Map<org.opt4j.core.Criterion,EvaluationAspectWithContext>objectiveToAspectsprotected longobservationsprotected StringpcmEntityIdentifierYou must not use the usage scenario to navigate in the PCM, as the model may not be longer valid for this result after the constructor call.protected SimuComQualityAttributeDeclarationqualityAttributeInfoprotected doublestdDeviationprotected doublethroughput-
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
results
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimuComAnalysisResult(org.palladiosimulator.solver.models.PCMInstance pcm)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected doublecalculateMaxUtil(String resourceType)doublegetCoefficientOfVariance()de.uka.ipd.sdq.statistics.estimation.ConfidenceIntervalgetConfidenceInterval(org.opt4j.core.Criterion criterion)Retrieves the confidence interval for the Criterion.doublegetMeanValue()doublegetMedianValue()longgetNumberOfObservations()doublegetStandardDeviation()protected abstract voidgetUtilisationOfResource(org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ActiveResourceUtilisationResult resultToFill, org.palladiosimulator.pcm.core.entity.Entity container, org.palladiosimulator.pcm.resourcetype.ResourceType resourceType)Get the utilisation of the passed resourcedoublegetValueFor(org.opt4j.core.Criterion criterion)This implementation does not properly check the passed criterion...doublegetVariance()protected abstract Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult>retrievePassiveResourceUtilFinish(Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> idsToPassiveResourceResult)protected org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepositoryretrieveResults(org.palladiosimulator.solver.models.PCMInstance pcmInstance)protected abstract voidretrieveServiceResultsFinish(org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository repo, HashMap<String,org.palladiosimulator.pcm.seff.ExternalCallAction> idToExternalCallMap, Map<String,de.uka.ipd.sdq.dsexplore.analysis.simucom.AssemblyContextContext> idToAssemblyContextMap, List<String> completionComponentIdsToIgnore)-
Methods inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
getComputedAggregatedUsage, getResults, solveDependencies
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.uka.ipd.sdq.dsexplore.analysis.IPerformanceAnalysisResult
getComputedAggregatedUsage, getResults
-
-
-
-
Field Detail
-
meanValue
protected double meanValue
-
medianValue
protected double medianValue
-
throughput
protected double throughput
-
maxUtilization
protected double maxUtilization
-
stdDeviation
protected double stdDeviation
-
confidenceInterval
protected de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval confidenceInterval
-
alpha
protected double alpha
-
observations
protected long observations
-
pcmEntityIdentifier
protected String pcmEntityIdentifier
You must not use the usage scenario to navigate in the PCM, as the model may not be longer valid for this result after the constructor call.
-
objectiveToAspects
protected Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> objectiveToAspects
-
qualityAttributeInfo
protected SimuComQualityAttributeDeclaration qualityAttributeInfo
-
logger
protected static org.apache.log4j.Logger logger
-
-
Method Detail
-
calculateMaxUtil
protected double calculateMaxUtil(String resourceType)
-
retrieveResults
protected org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository retrieveResults(org.palladiosimulator.solver.models.PCMInstance pcmInstance) throws AnalysisFailedException- Throws:
AnalysisFailedException
-
retrieveServiceResultsFinish
protected abstract void retrieveServiceResultsFinish(org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.analyzer.resultdecorator.ResultDecoratorRepository repo, HashMap<String,org.palladiosimulator.pcm.seff.ExternalCallAction> idToExternalCallMap, Map<String,de.uka.ipd.sdq.dsexplore.analysis.simucom.AssemblyContextContext> idToAssemblyContextMap, List<String> completionComponentIdsToIgnore)
-
retrievePassiveResourceUtilFinish
protected abstract Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> retrievePassiveResourceUtilFinish(Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> idsToPassiveResourceResult)
-
getValueFor
public double getValueFor(org.opt4j.core.Criterion criterion)
This implementation does not properly check the passed criterion...- Specified by:
getValueForin interfaceIAnalysisResult- Returns:
- value calculated from this analysis result
-
getMeanValue
public double getMeanValue()
- Specified by:
getMeanValuein interfaceIStatisticAnalysisResult
-
getStandardDeviation
public double getStandardDeviation()
- Specified by:
getStandardDeviationin interfaceIStatisticAnalysisResult
-
getVariance
public double getVariance() throws AnalysisFailedException- Throws:
AnalysisFailedException
-
getCoefficientOfVariance
public double getCoefficientOfVariance()
- Specified by:
getCoefficientOfVariancein interfaceIStatisticAnalysisResult
-
getConfidenceInterval
public de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval getConfidenceInterval(org.opt4j.core.Criterion criterion)
Retrieves the confidence interval for the Criterion.- Specified by:
getConfidenceIntervalin interfaceIStatisticAnalysisResult
-
getMedianValue
public double getMedianValue()
- Specified by:
getMedianValuein interfaceIStatisticAnalysisResult
-
getUtilisationOfResource
protected abstract void getUtilisationOfResource(org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ActiveResourceUtilisationResult resultToFill, org.palladiosimulator.pcm.core.entity.Entity container, org.palladiosimulator.pcm.resourcetype.ResourceType resourceType) throws AnalysisFailedExceptionGet the utilisation of the passed resource- Throws:
AnalysisFailedException
-
getNumberOfObservations
public long getNumberOfObservations()
- Specified by:
getNumberOfObservationsin interfaceIStatisticAnalysisResult
-
-