SpatialQuery

org.appliedtopology.tda4j.SpatialQuery
trait SpatialQuery[VertexT]

******* Efficient Spatial Queries *******

Attributes

Experimental
true
Source
FiniteMetricSpace.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BruteForce[VertexT]
class VantagePointQuery[VertexT]

Members list

Value members

Abstract methods

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

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

Attributes

Source
FiniteMetricSpace.scala