MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / reset_gate

Method reset_gate

masfactory/components/graphs/loop.py:177–185  ·  view source on GitHub ↗

Reset controller gate state.

(self)

Source from the content-addressed store, hash-verified

175 self._output = {}
176 super().reset()
177 def reset_gate(self):
178 """Reset controller gate state."""
179 self._is_from_outside = True
180 self._current_iteration = 0
181 self._terminated = False
182 self.outsource_input = {}
183 self._message_cache = initial_messages_template.copy()
184 self._output = {}
185 super().reset_gate()
186 @property
187 def terminated(self) -> bool:
188 return self._terminated

Callers

nothing calls this directly

Calls 1

reset_gateMethod · 0.45

Tested by

no test coverage detected