Class Simplex
java.lang.Object
org.episteme.core.mathematics.topology.Simplex
Represents a Simplex (a generalized triangle/tetrahedron).
Defined by a set of vertices. This implementation represents an Abstract Simplex where vertices are identified by natural numbers (non-negative integers).
*
Reference:
Dantzig, G. B. (1947). Minimization of a linear function of variables subject to linear inequalities. Activity Analysis of Production and Allocation, 13, 317-329.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Simplex
public Simplex(int... verts) Creates a simplex from a list of vertex IDs.- Parameters:
verts- vertex IDs (non-negative)
-
Simplex
Creates a simplex from a list of Natural vertex IDs.- Parameters:
verts- vertex IDs as Natural numbers
-
Simplex
-
-
Method Details
-
dimension
public int dimension()Returns the dimension of this simplex. dim = |vertices| - 1- Returns:
- the dimension (0 for point, 1 for line, 2 for triangle, etc.)
-
faces
-
getVertices
-
equals
-
hashCode
-
toString
-