public class Attacker
extends Object
Attacker for our Security Model
-
Constructor Summary
Constructors
Attacker(double lambda,
double delta,
double x)
Creates a new Attacker with the provided Lambda and Delta
-
Method Summary
double
Calculates the Attacker value for this attacker with the given x
double
-
Constructor Details
-
Attacker
public Attacker(double lambda,
double delta,
double x)
Creates a new Attacker with the provided Lambda and Delta
- Parameters:
lambda
- Lambda (improvement when out of learning phase)
delta
- Delta (until Attacker is out of learning phase)
x
- Mean Time of Attack
-
Method Details
-
calcAttacker
public double calcAttacker()
Calculates the Attacker value for this attacker with the given x
- Parameters:
x
- x value
- Returns:
- Attacker value
-
getX
public double getX()
- Returns:
- x, the mean time of attack
-