Class 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 logger  
    • Constructor Summary

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

      • logger

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

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

      • 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