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

public static interface Features.Pairs extends 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.
  • 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 returns true only if the group size parameter is set to 2.
      Specified by:
      isPairwise in interface Features
      Returns:
      true if pairwise interactions
      See Also: