Class ReliabilityAnalysisResult

java.lang.Object
de.uka.ipd.sdq.dsexplore.analysis.reliability.ReliabilityAnalysisResult
All Implemented Interfaces:
IAnalysisResult

public class ReliabilityAnalysisResult extends Object implements IAnalysisResult
This class represents the result of a LQN Solver analysis.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static org.apache.log4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReliabilityAnalysisResult(double reliabilityValue, org.palladiosimulator.solver.runconfig.PCMSolverWorkflowRunConfiguration lastPCMSolverConfiguration)
    Store the reliability result.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getUtilisationOfResource(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification resource)
    Not applicable to Reliability results.
    double
    getValueFor(org.opt4j.core.Criterion criterion)
    Get the value of an analysis result.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected static org.apache.log4j.Logger logger
  • Constructor Details

    • ReliabilityAnalysisResult

      public ReliabilityAnalysisResult(double reliabilityValue, org.palladiosimulator.solver.runconfig.PCMSolverWorkflowRunConfiguration lastPCMSolverConfiguration)
      Store the reliability result. If the number of exact decimal places has been limited in the PCMSolverWorkflowRunConfiguration, the result is rounded to that value by cutting all following places.
      Parameters:
      reliabilityValue - The success probability.
      lastPCMSolverConfiguration - configuration to determine whether to round the result.
  • Method Details

    • getValueFor

      public double getValueFor(org.opt4j.core.Criterion criterion)
      Get the value of an analysis result. For more information on the type of value use IStatisticAnalysisResult TODO: check correct criterion.
      Specified by:
      getValueFor in interface IAnalysisResult
      Returns:
      value calculated from this analysis result
    • getUtilisationOfResource

      public double getUtilisationOfResource(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification resource)
      Not applicable to Reliability results.
      Returns:
      -1