Class: SuperInstance::Equipment::SwarmCoordinator::SwarmMetrics

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

Overview

Overall metrics for the swarm

Instance Attribute Summary collapse

Instance Attribute Details

#average_response_timeObject (readonly)

Returns the value of attribute average_response_time

Returns:

  • (Object)

    the current value of average_response_time



70
71
72
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 70

def average_response_time
  @average_response_time
end

#knowledge_distribution_scoreObject (readonly)

Returns the value of attribute knowledge_distribution_score

Returns:

  • (Object)

    the current value of knowledge_distribution_score



70
71
72
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 70

def knowledge_distribution_score
  @knowledge_distribution_score
end

#resource_utilizationObject (readonly)

Returns the value of attribute resource_utilization

Returns:

  • (Object)

    the current value of resource_utilization



70
71
72
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 70

def resource_utilization
  @resource_utilization
end

#success_rateObject (readonly)

Returns the value of attribute success_rate

Returns:

  • (Object)

    the current value of success_rate



70
71
72
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 70

def success_rate
  @success_rate
end

#throughputObject (readonly)

Returns the value of attribute throughput

Returns:

  • (Object)

    the current value of throughput



70
71
72
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 70

def throughput
  @throughput
end

#total_agentsObject (readonly)

Returns the value of attribute total_agents

Returns:

  • (Object)

    the current value of total_agents



70
71
72
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 70

def total_agents
  @total_agents
end