Class SimuComAnalysisEDP2Result
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
-
- de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisResult
-
- de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisEDP2Result
-
- All Implemented Interfaces:
IAnalysisResult
,IPerformanceAnalysisResult
,IStatisticAnalysisResult
public class SimuComAnalysisEDP2Result extends SimuComAnalysisResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisResult
SimuComAnalysisResult.TimeseriesData
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisResult
alpha, confidenceInterval, logger, maxUtilization, meanValue, medianValue, objectiveToAspects, observations, pcmEntityIdentifier, qualityAttributeInfo, stdDeviation, throughput
-
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
results
-
-
Constructor Summary
Constructors Constructor Description SimuComAnalysisEDP2Result(org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun run, org.palladiosimulator.edp2.models.ExperimentData.ExperimentSetting experiment, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.pcm.core.entity.Entity pcmEntity, Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> objectiveToAspect, SimuComQualityAttributeDeclaration qualityAttributeInfo)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IStatisticAnalysisResult
findExperimentRunAndCreateResult(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String experimentName, String experimentSettingName, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.edp2.models.Repository.Repository repo, Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> criterionToAspect, SimuComQualityAttributeDeclaration qualityAttribute)
Tries to find a matching experiment run in the passed data source (via the passedRepository
).protected static org.palladiosimulator.edp2.models.Repository.Repository
findSelectedEDP2Repository(ILaunchConfiguration config)
protected void
getUtilisationOfResource(org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ActiveResourceUtilisationResult resultToFill, org.palladiosimulator.pcm.core.entity.Entity container, org.palladiosimulator.pcm.resourcetype.ResourceType resourceType)
Not implemented.static boolean
isExperimentRunExisting(String experimentName, String experimentSettingName, org.palladiosimulator.edp2.models.Repository.Repository repo)
Tries to find a matching experiment setting in all data sources available in the repository manager.protected Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult>
retrievePassiveResourceUtilFinish(Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> idsToPassiveResourceResult)
Not implementedprotected 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)
Not implemented.-
Methods inherited from class de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisResult
calculateMaxUtil, getCoefficientOfVariance, getConfidenceInterval, getMeanValue, getMedianValue, getNumberOfObservations, getStandardDeviation, getValueFor, getVariance, retrieveResults
-
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
-
-
-
-
Constructor Detail
-
SimuComAnalysisEDP2Result
public SimuComAnalysisEDP2Result(org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun run, org.palladiosimulator.edp2.models.ExperimentData.ExperimentSetting experiment, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.pcm.core.entity.Entity pcmEntity, Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> objectiveToAspect, SimuComQualityAttributeDeclaration qualityAttributeInfo) throws AnalysisFailedException
Constructor. Creates an instance of SimuComAnalysisEDP2Result.- Parameters:
run
- The latest run of the experiment.experiment
- The experiment (at the moment with only one experiment setting).pcmInstance
-pcmEntity
-objectiveToAspect
-qualityAttributeInfo
-- Throws:
AnalysisFailedException
-
-
Method Detail
-
isExperimentRunExisting
public static boolean isExperimentRunExisting(String experimentName, String experimentSettingName, org.palladiosimulator.edp2.models.Repository.Repository repo)
Tries to find a matching experiment setting in all data sources available in the repository manager. If a matching experiment setting that contains at least one run is found,true
. If not,false
is returned.- Parameters:
experimentSettingName
- The experiment name to match- Returns:
true
if experiment has been found,false
otherwise
-
findSelectedEDP2Repository
protected static org.palladiosimulator.edp2.models.Repository.Repository findSelectedEDP2Repository(ILaunchConfiguration config) throws CoreException
- Throws:
CoreException
-
findExperimentRunAndCreateResult
public static IStatisticAnalysisResult findExperimentRunAndCreateResult(org.palladiosimulator.pcm.core.entity.Entity pcmEntity, String experimentName, String experimentSettingName, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.edp2.models.Repository.Repository repo, Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> criterionToAspect, SimuComQualityAttributeDeclaration qualityAttribute) throws AnalysisFailedException
Tries to find a matching experiment run in the passed data source (via the passedRepository
). If a matching experiment run is found, a newIStatisticAnalysisResult
is created for it. If not,null
is returned.- Parameters:
pcmEntity
- The usage scenario to determine the response time values for.experimentName
- The experiment name to matchpcmInstance
- The PCM instance to get the available resources and retrieve utilisation values.repo
- The access to the data source.criterionToAspect
-qualityAttribute
-- Returns:
- The instantiated
IStatisticAnalysisResult
for this experiment name, ornull
if no matching experiment run could be found. - Throws:
AnalysisFailedException
-
retrieveServiceResultsFinish
protected 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)
Not implemented.- Specified by:
retrieveServiceResultsFinish
in classSimuComAnalysisResult
-
retrievePassiveResourceUtilFinish
protected Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> retrievePassiveResourceUtilFinish(Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> idsToPassiveResourceResult)
Not implemented- Specified by:
retrievePassiveResourceUtilFinish
in classSimuComAnalysisResult
-
getUtilisationOfResource
protected void getUtilisationOfResource(org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.ActiveResourceUtilisationResult resultToFill, org.palladiosimulator.pcm.core.entity.Entity container, org.palladiosimulator.pcm.resourcetype.ResourceType resourceType) throws AnalysisFailedException
Not implemented.- Specified by:
getUtilisationOfResource
in classSimuComAnalysisResult
- Throws:
AnalysisFailedException
-
-