Class: SuperInstance::Equipment::SwarmCoordinator::AgentAssignment

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

Overview

Assignment of an agent to a task

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



51
52
53
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 51

def agent_id
  @agent_id
end

#assigned_atObject (readonly)

Returns the value of attribute assigned_at

Returns:

  • (Object)

    the current value of assigned_at



51
52
53
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 51

def assigned_at
  @assigned_at
end

#knowledge_partitionObject (readonly)

Returns the value of attribute knowledge_partition

Returns:

  • (Object)

    the current value of knowledge_partition



51
52
53
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 51

def knowledge_partition
  @knowledge_partition
end

#priorityObject (readonly)

Returns the value of attribute priority

Returns:

  • (Object)

    the current value of priority



51
52
53
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 51

def priority
  @priority
end

#taskObject (readonly)

Returns the value of attribute task

Returns:

  • (Object)

    the current value of task



51
52
53
# File 'lib/equipment/swarm_coordinator/swarm_coordinator.rb', line 51

def task
  @task
end