Package 

Class Alone

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

    
    public final class Alone<T extends Object, S extends Vector<S>, A extends GeometricTransformation<S>>
     implements PedestrianGroup<T, S, A>
                        

    Group representing a pedestrian alone.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Alone(Pedestrian<T, S, A> pedestrian)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<Pedestrian<T, S, A>> getMembers() The list of pedestrians belonging to this group.
      PedestrianGroup<T, S, A> addMember(Pedestrian<T, S, A> node) Add a node in this group if not already part of it.
      PedestrianGroup<T, S, A> removeMember(Pedestrian<T, S, A> node) Remove a node from this group.
      • Methods inherited from class it.unibo.alchemist.model.interfaces.PedestrianGroup

        contains
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait