MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / init_potential_edges

Method init_potential_edges

KVCOMM/graph/graph.py:147–154  ·  view source on GitHub ↗

Creates and potential edges to the graph.

(self)

Source from the content-addressed store, hash-verified

145 self.add_node(agent_instance)
146
147 def init_potential_edges(self):
148 """
149 Creates and potential edges to the graph.
150 """
151 for node1_id in self.nodes.keys():
152 for node2_id in self.nodes.keys():
153 self.potential_spatial_edges.append([node1_id,node2_id])
154 self.potential_temporal_edges.append([node1_id,node2_id])
155
156 def clear_spatial_connection(self):
157 """

Callers 1

__init__Method · 0.95

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected