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

Method connect_decision_node

KVCOMM/graph/graph.py:175–178  ·  view source on GitHub ↗

Connect every node to the decision node with a spatial edge.

(self)

Source from the content-addressed store, hash-verified

173 self.nodes[node_id].temporal_successors = []
174
175 def connect_decision_node(self):
176 """Connect every node to the decision node with a spatial edge."""
177 for node_id in self.nodes.keys():
178 self.nodes[node_id].add_successor(self.decision_node)
179
180 def construct_spatial_connection(
181 self,

Callers 2

runMethod · 0.95
arunMethod · 0.95

Calls 2

add_successorMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected