NeighbourLists

org.appliedtopology.tda4j.NeighbourLists
See theNeighbourLists companion class

Attributes

Companion
class
Experimental
true
Source
SimplexIndexing.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def within(n: Int, threshold: Double, maxEntries: Long)(distance: (Int, Int) => Double): Option[NeighbourLists]

The pairs at distance at most threshold, each distance computed once (as distance(i, j), i < j) and stored for both vertices. None when there are more than maxEntries directed pairs (capped at Int.MaxValue): the lists would not be sparse, or would not fit in arrays.

The pairs at distance at most threshold, each distance computed once (as distance(i, j), i < j) and stored for both vertices. None when there are more than maxEntries directed pairs (capped at Int.MaxValue): the lists would not be sparse, or would not fit in arrays.

Attributes

Source
SimplexIndexing.scala