scalismo.utils

Members list

Concise view

Type members

Classlikes

object ArrayUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object Benchmark

Utilility class to quickly determine how long certain operations take. Example: val i = calculate(something) becomes val i = benchmark(calculate(something))

Utilility class to quickly determine how long certain operations take. Example: val i = calculate(something) becomes val i = benchmark(calculate(something))

Available to call statically (Benchmark.benchmark) or as a mixin trait, for convenience.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Benchmark

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class Memoize[-T, +R](f: T => R, cacheSizeHint: Int) extends T => R

Attributes

Companion:
object
Graph
Supertypes
trait T => R
class Object
trait Matchable
class Any
object Memoize

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Memoize.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Metric[A]

represents a metric to be used with the Vantage Point tree

represents a metric to be used with the Vantage Point tree

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Metric

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Metric.type
class Random()(implicit val rng: RandomNumberGenerator)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Random

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Random.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed class Tupler[U, T](val tupled: U => T, val untupled: T => U)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Tupler

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tupler.type
sealed trait VantagePointTree[A] extends Iterable[A]

Recursive, immutable Vantage Point tree Partitions metric spaces for efficient neighbour searches Key concept: split a point set at a node into an inner and an outer set which satisfy:

Recursive, immutable Vantage Point tree Partitions metric spaces for efficient neighbour searches Key concept: split a point set at a node into an inner and an outer set which satisfy:

  • inner: all points are closer to the pivot/center than the radius
  • outer: all points are further away from the the pivot than radius

WARNING: the tree only works with a metric (positive, symmetric, triangle inequality)

Attributes

Companion:
object
Graph
Supertypes
trait Iterable[A]
trait IterableFactoryDefaults[A, Iterable]
trait IterableOps[A, Iterable, Iterable[A]]
trait IterableOnceOps[A, Iterable, Iterable[A]]
trait IterableOnce[A]
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object VtkHelpers

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type