Matching
org.appliedtopology.tda4j.BarcodeDistance.Matching
final case class Matching(pairs: Vector[(Int, Int)], leftToDiagonal: Vector[Int], rightToDiagonal: Vector[Int], cost: Double)
An optimal matching of two diagrams: bar i of the first diagram is matched to bar j of the second for each (i, j) of pairs; the bars in leftToDiagonal and rightToDiagonal (indices into the diagrams as given) are matched to the diagonal, that is, left unmatched; cost is the distance the matching realizes.
Attributes
- Source
- BarcodeDistance.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article