Class SimuComAnalysisSensorFrameworkResult
- 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.SimuComAnalysisSensorFrameworkResult
-
- All Implemented Interfaces:
IAnalysisResult
,IPerformanceAnalysisResult
,IStatisticAnalysisResult
public class SimuComAnalysisSensorFrameworkResult extends SimuComAnalysisResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.uka.ipd.sdq.dsexplore.analysis.simucom.SimuComAnalysisResult
SimuComAnalysisResult.TimeseriesData
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXPERIMENT_RUN_DATE_FORMAT
-
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 SimuComAnalysisSensorFrameworkResult(org.palladiosimulator.pcm.core.entity.Entity entity, String experimentName, org.palladiosimulator.solver.models.PCMInstance pcmInstance, Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> criterionToAspect, SimuComQualityAttributeDeclaration qualityAttributeInfo, ILaunchConfiguration config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 resourcestatic boolean
isExperimentRunExisting(String experimentName, de.uka.ipd.sdq.codegen.simucontroller.runconfig.SimuComWorkflowConfiguration workflowConfig, int datasourceReloadCount, ILaunchConfiguration config)
Tries to find a matching experiment run in the selected data source.protected Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult>
retrievePassiveResourceUtilFinish(Map<String,org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.PassiveResourceResult> idsToPassiveResourceResult)
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)
-
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
-
-
-
-
Field Detail
-
EXPERIMENT_RUN_DATE_FORMAT
public static final String EXPERIMENT_RUN_DATE_FORMAT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SimuComAnalysisSensorFrameworkResult
public SimuComAnalysisSensorFrameworkResult(org.palladiosimulator.pcm.core.entity.Entity entity, String experimentName, org.palladiosimulator.solver.models.PCMInstance pcmInstance, Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> criterionToAspect, SimuComQualityAttributeDeclaration qualityAttributeInfo, ILaunchConfiguration config) throws AnalysisFailedException, CoreException
- Throws:
AnalysisFailedException
CoreException
-
-
Method Detail
-
isExperimentRunExisting
public static boolean isExperimentRunExisting(String experimentName, de.uka.ipd.sdq.codegen.simucontroller.runconfig.SimuComWorkflowConfiguration workflowConfig, int datasourceReloadCount, ILaunchConfiguration config) throws CoreException
Tries to find a matching experiment run in the selected data source. If a matching experiment run is found,true
. If not,false
is returned.- Parameters:
experimentName
- The experiment name to matchworkflowConfig
-datasourceReloadCount
-config
-- Returns:
true
if experiment has been found,false
otherwise- Throws:
CoreException
-
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)
- 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)
- 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
Description copied from class:SimuComAnalysisResult
Get the utilisation of the passed resource- Specified by:
getUtilisationOfResource
in classSimuComAnalysisResult
- Throws:
AnalysisFailedException
-
-