Class SimuComAnalysisEDP2Result

    • 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
      • 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 passed Repository). If a matching experiment run is found, a new IStatisticAnalysisResult 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 match
        pcmInstance - 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, or null 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 class SimuComAnalysisResult
      • 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 class SimuComAnalysisResult
      • 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 class SimuComAnalysisResult
        Throws:
        AnalysisFailedException