Class Component
java.lang.Object
edu.kit.ipd.are.dsexplore.analysis.security.model.Component
Component for our Security Model
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for a Component to make things more clear -
Constructor Summary
ConstructorDescriptionComponent
(double TTDV, double PoCoB) Creates a new Component with the provided Time to discover vulnerability and Probability of Component Breakability.Creates a new Component with the provided Time to discover vulnerability and Probability of Component Breakability. -
Method Summary
-
Constructor Details
-
Component
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 Details
-
calcMTTBC
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
- Returns:
- the name
-
toString
-