Packages

class BoundablePair extends Comparable[BoundablePair]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoundablePair
  2. Comparable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BoundablePair(boundable1: Boundable, boundable2: Boundable, itemDistance: ItemDistance)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. var boundable1: Boundable
  6. var boundable2: Boundable
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def compareTo(nd: BoundablePair): Int

    Compares two pairs based on their minimum distances

    Compares two pairs based on their minimum distances

    Definition Classes
    BoundablePair → Comparable
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def expandToQueue(priQ: PriorityQueue, minDistance: Double): Unit

    For a pair which is not a leaf (i.e.

    For a pair which is not a leaf (i.e. has at least one composite boundable) computes a list of new pairs from the expansion of the larger boundable with distance less than minDistance and adds them to a priority queue.

    Note that expanded pairs may contain the same item/node on both sides. This must be allowed to support distance functions which have non-zero distances between the item and itself (non-zero reflexive distance).

    priQ

    the priority queue to add the new pairs to

    minDistance

    the limit on the distance between added pairs

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def getBoundable(i: Int): Boundable

    Gets one of the member {link Boundable}s in the pair (indexed by [0, 1]).

    Gets one of the member {link Boundable}s in the pair (indexed by [0, 1]).

    i

    the index of the member to return (0 or 1) return the chosen member

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getDistance: Double

    Gets the minimum possible distance between the Boundables in this pair.

    Gets the minimum possible distance between the Boundables in this pair. If the members are both items, this will be the exact distance between them. Otherwise, this distance will be a lower bound on the distances between the items in the members.

    return the exact or lower bound distance for this pair

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isLeaves: Boolean

    Tests if both elements of the pair are leaf nodes

    Tests if both elements of the pair are leaf nodes

    return true if both pair elements are leaf nodes

  19. var itemDistance: ItemDistance
  20. def maximumDistance: Double

    Computes the maximum distance between any two items in the pair of nodes.

    Computes the maximum distance between any two items in the pair of nodes.

    return the maximum distance between items in the pair

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Comparable[BoundablePair]

Inherited from AnyRef

Inherited from Any

Ungrouped