FacetCursor

org.appliedtopology.tda4j.streams.SimplexIndexing.FacetCursor
final class FacetCursor(startIndex: Long, size: 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

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def advance(): Unit
def hasNext: Boolean
def index: Long
def vertex: Int