BruteForce

org.appliedtopology.tda4j.BruteForce
open class BruteForce[VertexT](metricSpace: FiniteMetricSpace[VertexT]) extends SpatialQuery[VertexT]

Attributes

Experimental
true
Source
FiniteMetricSpace.scala
Graph
Supertypes
trait SpatialQuery[VertexT]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def nearestNeighbors(v: VertexT, k: Int): IndexedSeq[VertexT]

The k points nearest to v, nearest first, v itself included when it is a point of the space (the convention of the distance to measure, as in GUDHI). Requires 1 <= k <= size.

The k points nearest to v, nearest first, v itself included when it is a point of the space (the convention of the distance to measure, as in GUDHI). Requires 1 <= k <= size.

Attributes

Definition Classes
Source
FiniteMetricSpace.scala
override def neighbors(v: VertexT, epsilon: Double): Set[VertexT]

Attributes

Definition Classes
Source
FiniteMetricSpace.scala