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
- Alphabetic
- By Inheritance
- Team
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- val isFormed: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val leader: E.ID
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val velocity: Point3D
- 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)