Algorithm 1: compute the d-skeleton of Alpha(S, p, a1).
Outer loop over dimension, inner loop over base vertex. B and U are built once per (dimension, vertex) rather than once per simplex, which is the only place ambient dimension enters the cost at all.
Attributes
- Companion
- object
- Experimental
- true
- Source
- AlphaComplexDQP.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Type members
Classlikes
One record produced by a single successful QP solve: the simplex, its vertices in ascending order, its value and its witness.
One record produced by a single successful QP solve: the simplex, its vertices in ascending order, its value and its witness.
Attributes
- Source
- AlphaComplexDQP.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Candidate k-simplices, bucketed by their minimal vertex (index x of the result), as rows of their other vertices.
Candidate k-simplices, bucketed by their minimal vertex (index x of the result), as rows of their other vertices.
k = 1: the edges of G (line 6). k >= 2: the k-simplices of Lazy_{k-1}(X) (line 8), i.e. every (k+1)-set all of whose facets are already known to be in the complex: present(k - 1) holds the (k-1)-simplices found.
Each candidate is stored as its vertices other than the minimal one, because the base vertex is the bucket key. Considering only simplices whose minimum is x is the "x <= x_j1 <= ... <= x_jk" reduction of step 2(b): every simplex is then tested exactly once. The candidates of a bucket are in the order of the (k-1)-simplices they extend, which is the order those were found in, however many threads share the work.
Attributes
- Source
- AlphaComplexDQP.scala
Lines 1-2 of Algorithm 1: the 1-skeleton of the Čech complex of the weighted ball cover, Cech(S, p, a1). Only Čech neighbours can constrain the part of V_x inside U_x, so restricting the QP's inequality constraints to them is exact whenever the simplex is kept. For finite maxPower the neighbours are found with a VP-tree, querying a conservative radius and checking each candidate exactly; with no cutoff every point is a neighbour of every other.
Lines 1-2 of Algorithm 1: the 1-skeleton of the Čech complex of the weighted ball cover, Cech(S, p, a1). Only Čech neighbours can constrain the part of V_x inside U_x, so restricting the QP's inequality constraints to them is exact whenever the simplex is kept. For finite maxPower the neighbours are found with a VP-tree, querying a conservative radius and checking each candidate exactly; with no cutoff every point is a neighbour of every other.
Attributes
- Source
- AlphaComplexDQP.scala
w is monotone along faces by construction -- the QP for a face has strictly fewer equality constraints, hence a larger feasible set and a smaller optimum -- but floating point can violate it by an ulp or two, which some persistence algorithms will not forgive. So each w(sigma) is raised to the largest value of its facets, and set equal to it when the two agree to SnapTolerance (relative): a facet whose optimum is attained on sigma's power face has the same value as sigma, and the two QP solves only agree to solver accuracy. Dimension k of the rows in present, whose facets are in dimension k - 1 (the vertices, for the edges), already clamped.
w is monotone along faces by construction -- the QP for a face has strictly fewer equality constraints, hence a larger feasible set and a smaller optimum -- but floating point can violate it by an ulp or two, which some persistence algorithms will not forgive. So each w(sigma) is raised to the largest value of its facets, and set equal to it when the two agree to SnapTolerance (relative): a facet whose optimum is attained on sigma's power face has the same value as sigma, and the two QP solves only agree to solver accuracy. Dimension k of the rows in present, whose facets are in dimension k - 1 (the vertices, for the edges), already clamped.
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala
Steps 2(a)-(b): assemble the dual data for the cell V_x once, then run one QP per candidate simplex based at x.
Steps 2(a)-(b): assemble the dual data for the cell V_x once, then run one QP per candidate simplex based at x.
Attributes
- Source
- AlphaComplexDQP.scala
KKT conditions (12): Phi(sigma) = y* = x - sum_i lambda_i (x_i - x). None when the input carried no coordinates, matching witness's own contract -- must stay None, not null: storing null under an otherwise-present map key makes .get return Some(null), not None.
KKT conditions (12): Phi(sigma) = y* = x - sum_i lambda_i (x_i - x). None when the input carried no coordinates, matching witness's own contract -- must stay None, not null: storing null under an otherwise-present map key makes .get return Some(null), not None.
Attributes
- Source
- AlphaComplexDQP.scala
Concrete fields
Relative difference below which a simplex's value is taken to equal its largest facet's (see clampMonotone).
Relative difference below which a simplex's value is taken to equal its largest facet's (see clampMonotone).
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala
Attributes
- Source
- AlphaComplexDQP.scala