Interface Features.Groups

All Superinterfaces:
Features, Features.Pairs
All Known Subinterfaces:
IBS.HasIBS.CGroups, IBS.HasIBS.DGroups, IBS.HasIBS.MCGroups
All Known Implementing Classes:
CDL, CDLP, CDLPQ, EcoPGG, simCDL, simCDLP, simCDLPQ
Enclosing interface:
Features

public static interface Features.Groups extends Features.Pairs
All modules that admit interactions in larger groups (as opposed to interactions in pairs) should implement this interface. The voluntary public goods game is an example, see CDL.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface Features

    Features.Groups, Features.Pairs, Features.Static
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the interaction group size.
    default boolean
    Returns whether interactions are restricted to pairs (false by default).

    Methods inherited from interface Features

    isStatic
  • Method Details

    • getNGroup

      int getNGroup()
      Get the interaction group size.
      Returns:
      the interaction group size
    • 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
      Specified by:
      isPairwise in interface Features.Pairs
      Returns:
      true if pairwise interactions
      See Also: