Class DesarguesGeometry

Object
AbstractGeometry
DesarguesGeometry

public class DesarguesGeometry extends AbstractGeometry
Geometry implementation for the Desargues (Truncated Petersen) graph.
See Also:
  • Constructor Details

    • DesarguesGeometry

      public DesarguesGeometry(EvoLudo engine)
      Create a Desargues geometry tied to the given engine.
      Parameters:
      engine - EvoLudo pacemaker
  • Method Details

    • init

      public void init()
      Generates the Desargues graph (also known as the Truncated Petersen graph), a symmetric cubic graph with \(20\) nodes.
      Specified by:
      init in class AbstractGeometry
      See Also:
    • 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