Class Component
- 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 classComponent.BuilderBuilder 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcMTTBC(Attacker a)Calculate the mean time to break component for the specified attackerStringgetName()doublegetPoCoB()doublegetTTDV()StringtoString()
-
-
-
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 vulnerabilityPoCoB- Probability of Component Breakabilityname- 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 vulnerabilityPoCoB- 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
-
-