FacetCursor

org.appliedtopology.tda4j.SimplexIndexing.FacetCursor
class FacetCursor(startIndex: Long, vertices: Array[Int])

A hasNext/vertex/index/advance() cursor over tau's facets, mirroring CofacetCursor above -- vertex is the vertex REMOVED to produce the facet at index. _index is iiB + iA (the OLD iA, before this step's own update), not iiB + iiA -- easy to invert by mistake, so kept exactly. Decodes tau via decodeToArray, not apply(...).toSeq.sorted (a Simplex[Int] decode followed by a redundant re-sort of an already-sorted SortedSet).

Attributes

Source
SimplexIndexing.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(startIndex: Long, size: Int)

The cursor over the simplex of size vertices at startIndex, which it decodes.

The cursor over the simplex of size vertices at startIndex, which it decodes.

Attributes

Source
SimplexIndexing.scala

Concrete methods

def advance(): Unit

Attributes

Source
SimplexIndexing.scala
def hasNext: Boolean

Attributes

Source
SimplexIndexing.scala
def index: Long

Attributes

Source
SimplexIndexing.scala
def position: Int

The place of vertex among the simplex's vertices, ascending from 0.

The place of vertex among the simplex's vertices, ascending from 0.

Attributes

Source
SimplexIndexing.scala
def vertex: Int

Attributes

Source
SimplexIndexing.scala