java.lang.Object
edu.kit.ipd.are.dsexplore.analysis.security.model.Component

public class Component extends Object
Component for our Security Model
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Builder for a Component to make things more clear
  • Constructor Summary

    Constructors
    Constructor
    Description
    Component(double TTDV, double PoCoB)
    Creates a new Component with the provided Time to discover vulnerability and Probability of Component Breakability.
    Component(double TTDV, double PoCoB, String name)
    Creates a new Component with the provided Time to discover vulnerability and Probability of Component Breakability.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Calculate the mean time to break component for the specified attacker
     
    double
     
    double
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Component

      public Component(double TTDV, double PoCoB, String name)
      Creates a new Component with the provided Time to discover vulnerability and Probability of Component Breakability. Additionally a name for this component is provided
      Parameters:
      TTDV - Time to discover vulnerability
      PoCoB - Probability of Component Breakability
      name - Name of the component
    • Component

      public Component(double TTDV, double PoCoB)
      Creates a new Component with the provided Time to discover vulnerability and Probability of Component Breakability. The component will have the name "UNNAMED".
      Parameters:
      TTDV - Time to discover vulnerability
      PoCoB - Probability of Component Breakability
  • Method Details

    • calcMTTBC

      public double calcMTTBC(Attacker a)
      Calculate the mean time to break component for the specified attacker
      Parameters:
      a - Attacker
      Returns:
      mean time to break component
    • getTTDV

      public double getTTDV()
      Returns:
      the ART
    • getPoCoB

      public double getPoCoB()
      Returns:
      the PoCoB
    • getName

      public String getName()
      Returns:
      the name
    • toString

      public String toString()
      Overrides:
      toString in class Object