yawning_titan.envs.specific.core.node_states.get_linked_compromised_nodes#

yawning_titan.envs.specific.core.node_states.get_linked_compromised_nodes(current_position, network, machine_states)[source]#

Return a list containing all the linked compromised nodes relative to the red agents current position.

Parameters:
  • current_position – The red teams current position

  • network – A networkx graph representation of the network

  • machine_states – The current machine states

Returns:

A list of comrpomised linked nodes

Return type:

compromised nodes