Class Component


  • public class Component
    extends Object
    Component for our Security Model
    • Constructor Detail

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

      • 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