Class SociologicalGroup
java.lang.Object
org.episteme.natural.biology.SocialEntity
org.episteme.natural.biology.SocialCollective<Person>
org.episteme.natural.biology.ecology.Population<Person>
org.episteme.social.sociology.SociologicalGroup
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, SimulationAgent
- Direct Known Subclasses:
SociologicalFamily
Represents a formal or informal social SociologicalGroup of individuals.
Refactored to extend Population to leverage demographic features.
- See Also:
-
Field Summary
Fields inherited from class SocialCollective
cohesion, leader, members -
Constructor Summary
ConstructorsConstructorDescriptionSociologicalGroup(String name, GroupKind kind) SociologicalGroup(String name, GroupKind kind, EventDrivenEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionvoidassignRole(Individual member, String role) getKind()getRole(Individual member) voidprocessEvent(Event event) Process an event delivered to this agent.voidtoString()Methods inherited from class Population
addMember, countAlive, countBySex, countByStage, equals, filter, getAgeDistribution, getAverageAge, getAverageFecundity, getFounders, getIndividuals, getLocation, getOldestAge, getPosition, getSexRatio, getSpecies, getTerritory, getYoungestAge, hashCode, setIndividuals, setTerritory, sizeMethods inherited from class SocialCollective
getCohesion, getLeader, getMembers, removeMember, setCohesion, setLeaderMethods inherited from class SocialEntity
getEngine, getId, getInfluence, getPrestige, getSimId, getTraits, interact, setEngine, setInfluence, setPrestigeMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
SociologicalGroup
-
SociologicalGroup
-
-
Method Details
-
getKind
-
setKind
-
assignRole
-
getRole
-
getInternalRoles
-
processEvent
Description copied from interface:SimulationAgentProcess an event delivered to this agent.- Specified by:
processEventin interfaceSimulationAgent- Overrides:
processEventin classPopulation<Person>- Parameters:
event- The event to process
-
toString
- Overrides:
toStringin classPopulation<Person>
-