Class SimplicialComplex

java.lang.Object
org.episteme.core.mathematics.topology.SimplicialComplex

public class SimplicialComplex extends Object
Represents a Simplicial Complex.

A simplicial complex is a set of simplices that satisfies the following conditions: 1. Every face of a simplex from the set is also in the set. 2. The non-empty intersection of any two simplices σ1, σ2 is a face of both σ1 and σ2.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • SimplicialComplex

      public SimplicialComplex()
  • Method Details

    • addSimplex

      public void addSimplex(int... vertices)
      Adds a simplex and all its faces to the complex.
      Parameters:
      vertices - the vertices defining the simplex
    • dimension

      public int dimension()
    • size

      public int size()
    • getSimplices

      public Set<Simplex> getSimplices()