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
Modifier and TypeClassDescriptionprotected static enum
Identifier for subsets of data elements that belong to a single time series element. -
Field Summary
Modifier and TypeFieldDescriptionprotected double
protected de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval
protected static org.apache.log4j.Logger
protected double
protected double
protected double
protected Map<org.opt4j.core.Criterion,
EvaluationAspectWithContext> protected long
protected String
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
protected double
protected double
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
results
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimuComAnalysisResult
(org.palladiosimulator.solver.models.PCMInstance pcm) -
Method Summary
Modifier and TypeMethodDescriptionprotected double
calculateMaxUtil
(String resourceType) double
de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval
getConfidenceInterval
(org.opt4j.core.Criterion criterion) Retrieves the confidence interval for the Criterion.double
double
long
double
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
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 Details
-
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
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
-
qualityAttributeInfo
-
logger
protected static org.apache.log4j.Logger logger
-
-
Constructor Details
-
SimuComAnalysisResult
protected SimuComAnalysisResult(org.palladiosimulator.solver.models.PCMInstance pcm)
-
-
Method Details
-
calculateMaxUtil
-
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
- 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
-