Class SocialCollective<T extends Individual>

java.lang.Object
org.episteme.natural.biology.SocialEntity
org.episteme.natural.biology.SocialCollective<T>
Type Parameters:
T - The type of individuals in the collective.
All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, SimulationAgent
Direct Known Subclasses:
Population

public abstract class SocialCollective<T extends Individual> extends SocialEntity
Represents a collective of biological or social agents (individuals or subgroups).
See Also:
  • Field Details

    • members

      protected final List<T extends Individual> members
    • leader

      protected T extends Individual leader
    • cohesion

      protected double cohesion
      Social cohesion or biological group integration level.
  • Constructor Details

  • Method Details

    • getMembers

      public List<T> getMembers()
    • addMember

      public void addMember(T individual)
    • removeMember

      public void removeMember(T individual)
    • getLeader

      public T getLeader()
    • setLeader

      public void setLeader(T leader)
    • getCohesion

      public double getCohesion()
    • setCohesion

      public void setCohesion(double cohesion)
    • size

      public int size()