CofacetCursor

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

A cursor over the cofacets of a simplex that allocates nothing per step: read vertex (the added vertex) and index (the cofacet's index) as often as needed, then advance().

Attributes

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

Members list

Value members

Constructors

def this(startIndex: Long, size: Int, allCofacets: Boolean)

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 vertex: Int

Attributes

Source
SimplexIndexing.scala