Class Scenario
- java.lang.Object
-
- edu.kit.ipd.are.dsexplore.analysis.security.model.Scenario
-
public class Scenario extends Object
Scenario for our Security Model. This gives us the final security value with the methodscalcMTTSF(int, Attacker)
or the static methdodcalcMTTSF(int, Attacker, Component[], int[][])
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calcMTTSF(int length_Entry, Attacker a)
Calculates the Meantime To Security Failure for the specified Attacker and the number of entry points.static double
calcMTTSF(int length_Entry, Attacker a, Component[] components, int[][] theta)
Calculates the Meantime To Security Failure for the specified Attacker and the number of entry points.String
toString()
-
-
-
Constructor Detail
-
Scenario
public Scenario(int[][] theta, Component[] components)
Create a new Scenario with a given Theta and the given components.- Parameters:
theta
- Thetacomponents
- Components
-
-
Method Detail
-
calcMTTSF
public double calcMTTSF(int length_Entry, Attacker a)
Calculates the Meantime To Security Failure for the specified Attacker and the number of entry points.- Parameters:
length_Entry
- Attacker Entry Pointsa
- Attacker- Returns:
- MTTSF
-
calcMTTSF
public static double calcMTTSF(int length_Entry, Attacker a, Component[] components, int[][] theta)
Calculates the Meantime To Security Failure for the specified Attacker and the number of entry points. Additionally needs information about the components and the theta matrix- Parameters:
length_Entry
- Attacker Entry Pointsa
- Attackercomponents
- componentstheta
- theta matrix- Returns:
- MTTSF
-
-