The distances between landmarks and witnesses that a witness complex is built from (de Silva and Carlsson 2004; JavaPlex's WitnessStream). Every point is a witness, landmarks included. Landmark i (0 until landmarks.size) is point landmarks(i); D(l)(n) is the distance from landmark l to witness n, an L x N matrix built once. Assumes the metric space's elements are 0 until size.
The (k+1)-th nearest landmark's distance to witness n (0-indexed: mDim(0, n) is the nearest-landmark distance). Valid for 0 <= k < L. This is JavaPlex's WitnessStream.m[k][n] -- no sentinel zero prepended, unlike WitnessMetricSpace.mNu below (that sentinel is a LazyWitnessStream-only device).
The (k+1)-th nearest landmark's distance to witness n (0-indexed: mDim(0, n) is the nearest-landmark distance). Valid for 0 <= k < L. This is JavaPlex's WitnessStream.m[k][n] -- no sentinel zero prepended, unlike WitnessMetricSpace.mNu below (that sentinel is a LazyWitnessStream-only device).
The witness value of the landmark set sigma for the per-witness threshold m: the minimum over witnesses n of max(0, max over l in sigma of D(l)(n) - m(n)), as in JavaPlex.
The witness value of the landmark set sigma for the per-witness threshold m: the minimum over witnesses n of max(0, max over l in sigma of D(l)(n) - m(n)), as in JavaPlex.