Packages

  • package root
    Definition Classes
    root
  • package it
    Definition Classes
    root
  • package unibo
    Definition Classes
    it
  • package scafi
    Definition Classes
    unibo
  • package macroswarm
    Definition Classes
    scafi
  • trait LeaderBasedMovement[E <: Dependency] extends AnyRef

    This trait provides the libraries for LeaderBasedMovement.

    This trait provides the libraries for LeaderBasedMovement.

    E

    the incarnation of the aggregate system

    Definition Classes
    macroswarm
  • 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.

    Definition Classes
    LeaderBasedMovement
  • Team

case class Team(leader: E.ID, isFormed: Boolean, velocity: Point3D) extends Product with Serializable

A team is a set of nodes that have a common goal. The team is formed when the leader is able to influence the nodes to move towards the goal. The team is persistent, i.e., the nodes cannot leave the team.

leader

the leader of the team

isFormed

whether the team is formed or not

velocity

the velocity of local movement of the team

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Team
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Team(leader: E.ID, isFormed: Boolean, velocity: Point3D)

    leader

    the leader of the team

    isFormed

    whether the team is formed or not

    velocity

    the velocity of local movement of the team

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  8. def insideTeam(velocityGenerator: (E.ID) => Point3D): Point3D

    Returns the velocity of the node inside the team.

    Returns the velocity of the node inside the team.

    velocityGenerator

    the logic applied inside the team, it is a function from the leader ID of the node to the velocity of the node

    returns

    the velocity of the node inside the team

  9. val isFormed: Boolean
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val leader: E.ID
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. val velocity: Point3D
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped