csle_defender package
Subpackages
Submodules
csle_defender.defender module
- class csle_defender.defender.Defender[source]
Bases:
object
Represents an automated defender agent
- static defender_transition(s: EmulationEnvState, defender_action: EmulationDefenderAction, attacker_action: EmulationAttackerAction = None) EmulationEnvState [source]
Implements the transition operator of the MDP/Markov Game for defense actions, supporting both simulation and emulation mode (s, a) –> s’
- Parameters
s – the current state
defender_action – the defender’s action of the transition
attacker_action – previous attacker action
- Returns
s’