agent/decision_modules/hoarder.py [12:19]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(self, active=False):
        super().__init__()
        self._active = active


    def process_event(self, event):
        if not self._active:
            return
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



agent/decision_modules/restart.py [13:21]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(self, active=False):
        super().__init__()
        self._active = active


    def process_event(self, event):
        """ Process an event from the event stream. """
        if not self._active:
            return
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



