EdgeTies

org.appliedtopology.tda4j.ParallelPackedCohomology.EdgeTies
See theEdgeTies companion object
enum EdgeTies

How edges of one length are ranked, which decides the edge a simplex is filed under: its block is that of the last, in this order, of its longest edges. Every order gives the same barcode; they differ in which zero-length pairs form and so in how many columns need reducing. An edge is {a, b} with a < b; its combinatorial index is C(b, 2) + a.

  • Lexicographic (default): by a, then by b, ascending. The simplex's block is the lexicographically largest of its longest edges. This is Bauer's --ties lexicographic (ripser-dev, hybrid/pruned.cpp).
  • ReverseLexicographic: by a, then by b, descending.
  • Colexicographic: by b, then by a, ascending: increasing combinatorial index. The block is that of the largest-index longest edge: the order of Bauer's hybrid and ripser-forest (--ties increasing, their default).
  • ReverseColexicographic: decreasing combinatorial index. The block is that of the smallest-index longest edge: Ripser's own order of equal edges, as in ripser.cpp built with EDGE_LEXICOGRAPHIC (--ties decreasing).
  • Shuffled: by a fixed hash of the combinatorial index (Bauer's --ties random): a control that has no structure to exploit.

Attributes

Companion
object
Source
ParallelPackedCohomology.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Lexicographic extends EdgeTies

Attributes

Source
ParallelPackedCohomology.scala
case Shuffled extends EdgeTies

Attributes

Source
ParallelPackedCohomology.scala

Value members

Concrete methods

def name: String
Extension method from EdgeTies

Attributes

Source
ParallelPackedCohomology.scala