Class: Legion::Extensions::Agentic::Affect::Regulation::Actor::RegulateEmotion
- Inherits:
-
Legion::Extensions::Actors::Every
- Object
- Legion::Extensions::Actors::Every
- Legion::Extensions::Agentic::Affect::Regulation::Actor::RegulateEmotion
- Defined in:
- lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb
Overview
Periodic emotional regulation maintenance actor. Calls update_emotional_regulation which performs skill decay — no live emotion inputs are required. regulate_emotion itself requires emotion_magnitude: and cannot be safely invoked as a background tick without a signal source.
Instance Method Summary collapse
- #check_subtask? ⇒ Boolean
- #generate_task? ⇒ Boolean
- #run_now? ⇒ Boolean
-
#runner_class ⇒ Object
rubocop:disable Legion/Extension/EveryActorRequiresTime.
- #runner_function ⇒ Object
- #time ⇒ Object
- #use_runner? ⇒ Boolean
Instance Method Details
#check_subtask? ⇒ Boolean
36 37 38 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 36 def check_subtask? false end |
#generate_task? ⇒ Boolean
40 41 42 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 40 def generate_task? false end |
#run_now? ⇒ Boolean
28 29 30 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 28 def run_now? false end |
#runner_class ⇒ Object
rubocop:disable Legion/Extension/EveryActorRequiresTime
16 17 18 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 16 def runner_class Legion::Extensions::Agentic::Affect::Regulation::Runners::EmotionalRegulation end |
#runner_function ⇒ Object
20 21 22 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 20 def runner_function 'update_emotional_regulation' end |
#time ⇒ Object
24 25 26 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 24 def time 60 end |
#use_runner? ⇒ Boolean
32 33 34 |
# File 'lib/legion/extensions/agentic/affect/regulation/actors/regulate_emotion.rb', line 32 def use_runner? false end |