trait LeaderBasedMovement[E <: Dependency] extends AnyRef
This trait provides the libraries for LeaderBasedMovement.
- E
the incarnation of the aggregate system
- Self Type
- MacroSwarmSupport[E]
- Alphabetic
- By Inheritance
- LeaderBasedMovement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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.
- 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.
- 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
- 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
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)