Class: SuperInstance::Equipment::SwarmCoordinator::AgentPerformance

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

Overview

Performance metrics for an agent

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idObject (readonly)

Returns the value of attribute agent_id

Returns:

  • (Object)

    the current value of agent_id



60
61
62
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 60

def agent_id
  @agent_id
end

#response_timeObject (readonly)

Returns the value of attribute response_time

Returns:

  • (Object)

    the current value of response_time



60
61
62
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 60

def response_time
  @response_time
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



60
61
62
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 60

def score
  @score
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



60
61
62
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 60

def success
  @success
end

#task_idObject (readonly)

Returns the value of attribute task_id

Returns:

  • (Object)

    the current value of task_id



60
61
62
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 60

def task_id
  @task_id
end

#timestampObject (readonly)

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



60
61
62
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 60

def timestamp
  @timestamp
end