Class CompleteGeometry

Object
AbstractGeometry
CompleteGeometry

public class CompleteGeometry extends AbstractGeometry
Geometry implementation for complete graphs where every node connects to every other node.
See Also:
  • Constructor Details

    • CompleteGeometry

      public CompleteGeometry(EvoLudo engine)
      Create a complete-graph geometry for the given engine.
      Parameters:
      engine - EvoLudo pacemaker
  • Method Details

    • checkSettings

      protected boolean checkSettings()
      Description copied from class: AbstractGeometry
      Hook for subclasses to implement geometry specific checks.
      Overrides:
      checkSettings in class AbstractGeometry
      Returns:
      true if adjustments require a reset
    • init

      public void init()
      Generates a complete graph where every node is connected to every other node. This mirrors well-mixed (unstructured) populations with the exception that the focal node itself can be excluded from replacement (e.g. Moran birth-death updates) while still retaining explicit neighbourhoods.
      Specified by:
      init in class AbstractGeometry
      See Also: