Class: SuperInstance::Equipment::SwarmCoordinator::AgentProfile

Inherits:
Data
  • Object
show all
Defined in:
lib/equipment/swarm_coordinator/agent_orchestrator.rb

Overview

Profile of an agent in the swarm

Instance Attribute Summary collapse

Instance Attribute Details

#capabilitiesObject (readonly)

Returns the value of attribute capabilities

Returns:

  • (Object)

    the current value of capabilities



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def capabilities
  @capabilities
end

#child_agent_idsObject (readonly)

Returns the value of attribute child_agent_ids

Returns:

  • (Object)

    the current value of child_agent_ids



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def child_agent_ids
  @child_agent_ids
end

#current_loadObject (readonly)

Returns the value of attribute current_load

Returns:

  • (Object)

    the current value of current_load



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def current_load
  @current_load
end

#hierarchy_levelObject (readonly)

Returns the value of attribute hierarchy_level

Returns:

  • (Object)

    the current value of hierarchy_level



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def hierarchy_level
  @hierarchy_level
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def id
  @id
end

#metadataObject (readonly)

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def 
  @metadata
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def name
  @name
end

#parent_agent_idObject (readonly)

Returns the value of attribute parent_agent_id

Returns:

  • (Object)

    the current value of parent_agent_id



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def parent_agent_id
  @parent_agent_id
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def role
  @role
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def status
  @status
end

#weightObject (readonly)

Returns the value of attribute weight

Returns:

  • (Object)

    the current value of weight



29
30
31
# File 'lib/equipment/swarm_coordinator/agent_orchestrator.rb', line 29

def weight
  @weight
end