yawning_titan.envs.specific.core.nsa_node.Node#
- class yawning_titan.envs.specific.core.nsa_node.Node[source]#
Bases:
object
Class representing a the state of single node within the Ridley 17 inspired environment.
Methods
Change the compromised status of a node.
Change the isolation status of a node.
Return the condition of the node.
- get_condition()[source]#
Return the condition of the node.
- Returns:
a list containing the isolation and compromised status of the node ([bool, bool])
- Return type:
reward