Packages

t

it.unibo.scafi.macroswarm

LeaderBasedMovement

trait LeaderBasedMovement[E <: Dependency] extends AnyRef

This trait provides the libraries for LeaderBasedMovement.

E

the incarnation of the aggregate system

Self Type
MacroSwarmSupport[E]
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaderBasedMovement
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait LeaderBasedLib extends AnyRef

    This library provides the basic movement primitives for the leader-based movement.

    This library provides the basic movement primitives for the leader-based movement. It mainly consist in function for aligning, sinking, and spinning around a leader, i.e., a node that is responsible for the movement of a subset of the nodes. Indeed, the leader-based movements are based of G, therefore they create areas of influence around the leader.

  2. trait PatternFormationLib extends AnyRef

    a library for creating spatial patterns in the swarm.

    a library for creating spatial patterns in the swarm. The behaviour is based on the gradient of a potential field.

    Therefore, for creating a shape, it should exist a leader responsible for that shape.

    Team formation and pattern formation can be used together to create a shape with a team of nodes.

    Currently, the shapes supported are: line, circle, and v-shape.

  3. trait TeamFormationLib extends AnyRef

    This library provides the basic blocks to create logical teams, i.e., a subset of node that have a persistent common goal.

    This library provides the basic blocks to create logical teams, i.e., a subset of node that have a persistent common goal. One a team is formed, the nodes cannot leave it. Inside a team, there will be a logic influenced by the leader-based movement, i.e., the leader will be responsible for the movement of the team. This library provides a way to create this teams based on intra-distance and extra-distance. The foster is the distance between nodes that are in the same team. The latter is influence of the leader during the formation of the team.

Abstract Value Members

  1. implicit abstract def ordering: Ordering[E.ID]

    It is needed for ordering the IDs of the nodes.

    It is needed for ordering the IDs of the nodes. Indeed, the ID might be of any type, so we need to provide an ordering for it.

    returns

    the Ordering type class for the IDs