Class Family
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.cognitive.Group
,it.unibo.alchemist.model.cognitive.GroupWithLeader
,kotlin.collections.Collection
,kotlin.collections.Iterable
,kotlin.collections.List
,kotlin.collections.MutableCollection
,kotlin.collections.MutableIterable
,kotlin.collections.MutableList
public final class Family<T extends Object> extends GenericGroup<T, Node<T>> implements GroupWithLeader<T, Node<T>>
A Family is modeled as a group of pedestrians with a leader.
-
-
Constructor Summary
Constructors Constructor Description Family(Comparator<Node<T>> comparator)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.model.cognitive.Group
getMembers
-
Methods inherited from class kotlin.collections.List
contains, containsAll, get, getSize, indexOf, isEmpty, iterator, lastIndexOf, spliterator
-
Methods inherited from class it.unibo.alchemist.model.cognitive.groups.GenericGroup
addMember, removeMember
-
Methods inherited from class kotlin.collections.MutableList
add, add, addAll, addAll, clear, listIterator, listIterator, remove, removeAll, removeAt, replaceAll, retainAll, set, sort, subList
-
Methods inherited from class kotlin.collections.Iterable
forEach
-
Methods inherited from class kotlin.collections.Collection
parallelStream, stream, toArray
-
Methods inherited from class kotlin.collections.MutableCollection
removeIf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-