Class SimplicialComplex
java.lang.Object
org.episteme.core.mathematics.topology.SimplicialComplex
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSimplex(int... vertices) Adds a simplex and all its faces to the complex.intintsize()
-
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
-