Interface Features

All Known Subinterfaces:
Features.Groups, Features.Pairs, Features.Static, 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, Continuous, CSD, DemesTBT, Discrete, EcoPGG, Module, Moran, NetGames, RSP, scanCSD, simCDL, simCDLP, simCDLPQ, simMoran, simTBT, simTraits, TBT, Traits

public interface Features
Interface to query features of the Module.
Author:
Christoph Hauert
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    All modules that admit interactions in larger groups (as opposed to interactions in pairs) should implement this interface.
    static interface 
    All modules that admit interactions in pairs (as opposed to larger groups) should implement this interface.
    static interface 
    Interface that all modules with static fitness/payoffs should implement.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns whether interactions are restricted to pairs (false by default).
    default boolean
    Returns whether payoffs/fitness are static (false by default).
  • Method Details

    • isStatic

      default boolean isStatic()
      Returns whether payoffs/fitness are static (false by default).
      Returns:
      true if static
    • isPairwise

      default boolean isPairwise()
      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.
      Returns:
      true if pairwise interactions
      See Also: