Package org.evoludo.simulator.modules
Interface Features.Pairs
- All Superinterfaces:
Features
- All Known Subinterfaces:
Features.Groups
,IBS.HasIBS.CGroups
,IBS.HasIBS.CPairs
,IBS.HasIBS.DGroups
,IBS.HasIBS.DPairs
,IBS.HasIBS.MCGroups
,IBS.HasIBS.MCPairs
- All Known Implementing Classes:
ATBT
,CDL
,CDLP
,CDLPQ
,Centipede
,CLabour
,CSD
,DemesTBT
,EcoPGG
,RSP
,scanCSD
,simCDL
,simCDLP
,simCDLPQ
,simTBT
,simTraits
,TBT
,Traits
- Enclosing interface:
Features
All modules that admit interactions in pairs (as opposed to larger groups)
should implement this interface. The classical
2×2
games are an
example, see TBT
.-
Nested Class Summary
Nested classes/interfaces inherited from interface Features
Features.Groups, Features.Pairs, Features.Static
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Returns whether interactions are restricted to pairs (false
by default).
-
Method Details
-
isPairwise
default boolean isPairwise()Description copied from interface:Features
Returns whether interactions are restricted to pairs (false
by default). For modules that allow interactions in larger groups this returnstrue
only if the group size parameter is set to2
.- Specified by:
isPairwise
in interfaceFeatures
- Returns:
true
if pairwise interactions- See Also:
-