CategoryNerve

org.appliedtopology.tda4j.sset.CategoryNerve
open class CategoryNerve(val category: FiniteCategory) extends SimplicialSet[CategorySimplex]

The nerve of a finite category: its classifying space, as a (usually infinite) simplicial set produced lazily. n-simplices are chains of n composable morphisms; the non-degenerate ones (CategorySimplex) avoid identities.

Faces: d_0 drops the first morphism, d_n the last, and d_i for 0 < i < n composes morphisms i and i + 1; if that composite is an identity, the face is degenerate -- s_{i-1} of the chain with both removed. A poset's nerve is finite (its order complex); a category with a non-identity endomorphism or a cycle has generators in every dimension, so take skeleton(n) (homology right below degree n) or use persistentHomology.

Attributes

Experimental
true
Source
FiniteCategory.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def dimOf(s: CategorySimplex): Int

Dimension of a generator.

Dimension of a generator.

Attributes

Definition Classes
Source
FiniteCategory.scala
def filtrationBy(chain: Seq[Set[Int]]): CategorySimplex => Double

The filtration by a chain of subcategories, each given by its set of morphisms: a simplex enters at the index of the first subcategory containing all its morphisms (an object: its identity). Each set must be closed under composition and contain the identities of its morphisms' ends, and the last must contain every morphism used; persistentHomology rejects a filtration that is not monotone.

The filtration by a chain of subcategories, each given by its set of morphisms: a simplex enters at the index of the first subcategory containing all its morphisms (an object: its identity). Each set must be closed under composition and contain the identities of its morphisms' ends, and the last must contain every morphism used; persistentHomology rejects a filtration that is not monotone.

Attributes

Source
FiniteCategory.scala
override def generators(n: Int): Iterable[CategorySimplex]

The generators (non-degenerate simplices) of dimension n -- the cells homology sees. Empty for a negative n, or beyond a finite set's top dimension.

The generators (non-degenerate simplices) of dimension n -- the cells homology sees. Empty for a negative n, or beyond a finite set's top dimension.

Attributes

Definition Classes
Source
FiniteCategory.scala
override def ord: Ordering[CategorySimplex]

Ordering used to tie-break generators (same role as in FiniteSimplicialSet).

Ordering used to tie-break generators (same role as in FiniteSimplicialSet).

Attributes

Definition Classes
Source
FiniteCategory.scala

Inherited methods

def persistentHomology(filtrationValue: CategorySimplex => Double, maxDegree: Int, prime: Int): PersistenceDiagram[CategorySimplex]

The persistent homology over F_p of this set filtered by filtrationValue (when each generator enters), in degrees 0..maxDegree, with a representative cycle for every bar. Computed on the (maxDegree + 1)-skeleton, so it is exact in every degree it reports, also for an infinite set (a nerve, a classifying space).

The persistent homology over F_p of this set filtered by filtrationValue (when each generator enters), in degrees 0..maxDegree, with a representative cycle for every bar. Computed on the (maxDegree + 1)-skeleton, so it is exact in every degree it reports, also for an infinite set (a nerve, a classifying space).

filtrationValue must not let a generator enter before one of its non-degenerate faces; a filtration that does is rejected with the offending faces named. The chunks engine does the reduction.

Attributes

Inherited from:
SimplicialSet
Source
SimplicialSet.scala

Dimensions 0..n as a finite simplicial set (see the trait doc for what its homology means).

Dimensions 0..n as a finite simplicial set (see the trait doc for what its homology means).

Attributes

Inherited from:
SimplicialSet
Source
SimplicialSet.scala

Concrete fields

override val faces: CategorySimplex => IndexedSeq[SSetElement[CategorySimplex]]

faces(g) for g of dimension n: exactly n+1 normalized SSetElements of dimension n-1 (none if n = 0).

faces(g) for g of dimension n: exactly n+1 normalized SSetElements of dimension n-1 (none if n = 0).

Attributes

Source
FiniteCategory.scala