Package 

Interface GroupWithLeader

  • All Implemented Interfaces:
    it.unibo.alchemist.model.interfaces.Group

    
    public interface GroupWithLeader<T extends Object, N extends Node<T>>
     implements Group<T, N>
                        

    A group with a special member acting as a leader.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract N getLeader() The leader of the group.
      abstract List<N> getMembers() The list of pedestrians belonging to this group.
      • Methods inherited from class it.unibo.alchemist.model.interfaces.GroupWithLeader

        addMember, contains, removeMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getLeader

         abstract N getLeader()

        The leader of the group.

      • getMembers

         abstract List<N> getMembers()

        The list of pedestrians belonging to this group.