yawning_titan.envs.specific.core.node_states.get_linked_uncompromised_nodes#

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

Return a list containing all the linked uncompromised 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 uncomrpomised linked nodes

Return type:

compromised nodes