java.lang.Object
org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
org.palladiosimulator.reliability.solver.sensitivity.MultiSensitivity

public class MultiSensitivity extends MarkovSensitivity
Provides a possibility to define multiple sensitivity parameters to be defined within one sensitivity analysis.
  • Field Details

    • sensitivityParameters

      public List<MarkovSensitivity> sensitivityParameters
      List of sensitivity parameters.
  • Constructor Details

    • MultiSensitivity

      public MultiSensitivity(String name, List<MarkovSensitivity> sensitivityParameters, boolean isCombinatory)
      The constructor.
      Parameters:
      name - name of the sensitivity analysis
      sensitivityParameters - list of sensitivity parameters
      isCombinatory - indicates if all combinations of sensitivity parameters shall be examined
  • Method Details

    • alterModel

      protected boolean alterModel()
      Alters the model according to the next sensitivity analysis step.
      Specified by:
      alterModel in class MarkovSensitivity
      Returns:
      indicates if the model could be successfully altered
    • extractSensitivityInformation

      protected void extractSensitivityInformation()
      Extracts the relevant sensitivity information from the given model.
      Specified by:
      extractSensitivityInformation in class MarkovSensitivity
    • getCurrentStepNumber

      protected int getCurrentStepNumber()
      Retrieves the current step number.
      Overrides:
      getCurrentStepNumber in class MarkovSensitivity
      Returns:
      the current step number
    • getLogHeadingsMulti

      protected List<List<String>> getLogHeadingsMulti()
      Builds the headings strings for logging.
      Specified by:
      getLogHeadingsMulti in class MarkovSensitivity
      Returns:
      the log headings strings
    • getLogSingleResultsMulti

      protected List<String> getLogSingleResultsMulti()
      Builds the results strings for sensitivity logging.
      Specified by:
      getLogSingleResultsMulti in class MarkovSensitivity
      Returns:
      the results strings
    • increaseCurrentStepNumber

      protected boolean increaseCurrentStepNumber()
      Increases the current step number.
      Overrides:
      increaseCurrentStepNumber in class MarkovSensitivity
      Returns:
      indicates an overflow
    • resetCurrentStepNumber

      protected void resetCurrentStepNumber()
      Resets the current step number.
      Overrides:
      resetCurrentStepNumber in class MarkovSensitivity
    • setModel

      protected void setModel(org.palladiosimulator.solver.models.PCMInstance model)
      Sets the PCM instance.
      Overrides:
      setModel in class MarkovSensitivity
      Parameters:
      model - the PCM instance