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 class
SimuComAnalysisResult.TimeseriesData
Identifier for subsets of data elements that belong to a single time series element.
-
Field Summary
Fields Modifier and Type Field Description protected double
alpha
protected de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval
confidenceInterval
protected static org.apache.log4j.Logger
logger
protected double
maxUtilization
protected double
meanValue
protected double
medianValue
protected Map<org.opt4j.core.Criterion,EvaluationAspectWithContext>
objectiveToAspects
protected long
observations
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.protected SimuComQualityAttributeDeclaration
qualityAttributeInfo
protected double
stdDeviation
protected double
throughput
-
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
results
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimuComAnalysisResult(org.palladiosimulator.solver.models.PCMInstance pcm)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected double
calculateMaxUtil(String resourceType)
double
getCoefficientOfVariance()
de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval
getConfidenceInterval(org.opt4j.core.Criterion criterion)
Retrieves the confidence interval for the Criterion.double
getMeanValue()
double
getMedianValue()
long
getNumberOfObservations()
double
getStandardDeviation()
protected abstract void
getUtilisationOfResource(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 resourcedouble
getValueFor(org.opt4j.core.Criterion criterion)
This implementation does not properly check the passed criterion...double
getVariance()
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.ResultDecoratorRepository
retrieveResults(org.palladiosimulator.solver.models.PCMInstance pcmInstance)
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)
-
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:
getValueFor
in interfaceIAnalysisResult
- Returns:
- value calculated from this analysis result
-
getMeanValue
public double getMeanValue()
- Specified by:
getMeanValue
in interfaceIStatisticAnalysisResult
-
getStandardDeviation
public double getStandardDeviation()
- Specified by:
getStandardDeviation
in interfaceIStatisticAnalysisResult
-
getVariance
public double getVariance() throws AnalysisFailedException
- Throws:
AnalysisFailedException
-
getCoefficientOfVariance
public double getCoefficientOfVariance()
- Specified by:
getCoefficientOfVariance
in 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:
getConfidenceInterval
in interfaceIStatisticAnalysisResult
-
getMedianValue
public double getMedianValue()
- Specified by:
getMedianValue
in 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 AnalysisFailedException
Get the utilisation of the passed resource- Throws:
AnalysisFailedException
-
getNumberOfObservations
public long getNumberOfObservations()
- Specified by:
getNumberOfObservations
in interfaceIStatisticAnalysisResult
-
-