Class: SuperInstance::Equipment::SwarmCoordinator::OrchestratorConfig
- Inherits:
-
Data
- Object
- Data
- SuperInstance::Equipment::SwarmCoordinator::OrchestratorConfig
- Defined in:
- lib/equipment/swarm_coordinator/agent_orchestrator.rb
Overview
Configuration for the Agent Orchestrator
Instance Attribute Summary collapse
-
#default_timeout ⇒ Object
readonly
Returns the value of attribute default_timeout.
-
#enable_hierarchy ⇒ Object
readonly
Returns the value of attribute enable_hierarchy.
-
#load_balancing ⇒ Object
readonly
Returns the value of attribute load_balancing.
-
#max_agents ⇒ Object
readonly
Returns the value of attribute max_agents.
-
#max_hierarchy_depth ⇒ Object
readonly
Returns the value of attribute max_hierarchy_depth.
Class Method Summary collapse
Instance Attribute Details
#default_timeout ⇒ Object (readonly)
Returns the value of attribute default_timeout
9 10 11 |
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 9 def default_timeout @default_timeout end |
#enable_hierarchy ⇒ Object (readonly)
Returns the value of attribute enable_hierarchy
9 10 11 |
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 9 def enable_hierarchy @enable_hierarchy end |
#load_balancing ⇒ Object (readonly)
Returns the value of attribute load_balancing
9 10 11 |
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 9 def load_balancing @load_balancing end |
#max_agents ⇒ Object (readonly)
Returns the value of attribute max_agents
9 10 11 |
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 9 def max_agents @max_agents end |
#max_hierarchy_depth ⇒ Object (readonly)
Returns the value of attribute max_hierarchy_depth
9 10 11 |
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 9 def max_hierarchy_depth @max_hierarchy_depth end |
Class Method Details
.new(**kwargs) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 16 def self.new(**kwargs) defaults = { max_agents: 100, enable_hierarchy: true, max_hierarchy_depth: 5, default_timeout: 30_000, load_balancing: true } super(**defaults.merge(kwargs)) end |