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
  • 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

      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
  • Constructor Details

    • SimuComAnalysisResult

      protected SimuComAnalysisResult(org.palladiosimulator.solver.models.PCMInstance pcm)
  • Method Details

    • 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 interface IAnalysisResult
      Returns:
      value calculated from this analysis result
    • getMeanValue

      public double getMeanValue()
      Specified by:
      getMeanValue in interface IStatisticAnalysisResult
    • getStandardDeviation

      public double getStandardDeviation()
      Specified by:
      getStandardDeviation in interface IStatisticAnalysisResult
    • getVariance

      public double getVariance() throws AnalysisFailedException
      Throws:
      AnalysisFailedException
    • getCoefficientOfVariance

      public double getCoefficientOfVariance()
      Specified by:
      getCoefficientOfVariance in interface IStatisticAnalysisResult
    • 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 interface IStatisticAnalysisResult
    • getMedianValue

      public double getMedianValue()
      Specified by:
      getMedianValue in interface IStatisticAnalysisResult
    • 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 interface IStatisticAnalysisResult