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,Model.HasDE.DGroups,Model.HasDE.DPairs
- 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.Multispecies, Features.Pairs, Features.Payoffs, Features.Static -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturns whether interactions are restricted to pairs (falseby default).Methods inherited from interface Features
getTitle, isMultispecies, isStatic
-
Method Details
-
isPairwise
default boolean isPairwise()Description copied from interface:FeaturesReturns whether interactions are restricted to pairs (falseby default). For modules that allow interactions in larger groups this returnstrueonly if the group size parameter is set to2.- Specified by:
isPairwisein interfaceFeatures- Returns:
trueif pairwise interactions- See Also:
-