NodeOrder

scalation.database.MinSpanningTree.NodeOrder
object NodeOrder extends Ordering[Elem]

The NodeOrder object defines the order of node indices based on their 'key' value. Using -key to get "smallest first" in priority queue. This is for minimum spanning trees ('min' = true)

Attributes

Graph
Supertypes
trait Ordering[Elem]
trait PartialOrdering[Elem]
trait Equiv[Elem]
trait Serializable
trait Comparator[Elem]
class Object
trait Matchable
class Any
Show all
Self type
NodeOrder.type

Members list

Type members

Inherited classlikes

class OrderingOps(lhs: T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def compare(e1: Elem, e2: Elem): Int

Inherited methods

override def equiv(x: Elem, y: Elem): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from:
Ordering
override def gt(x: Elem, y: Elem): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def gteq(x: Elem, y: Elem): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def isReverseOf(other: Ordering[_]): Boolean

Attributes

Inherited from:
Ordering
override def lt(x: Elem, y: Elem): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def lteq(x: Elem, y: Elem): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def max[U <: Elem](x: U, y: U): U

Attributes

Inherited from:
Ordering
def min[U <: Elem](x: U, y: U): U

Attributes

Inherited from:
Ordering
def on[U](f: U => Elem): Ordering[U]

Attributes

Inherited from:
Ordering
def orElse(other: Ordering[Elem]): Ordering[Elem]

Attributes

Inherited from:
Ordering
def orElseBy[S](f: Elem => S)(implicit ord: Ordering[S]): Ordering[Elem]

Attributes

Inherited from:
Ordering
override def reverse: Ordering[Elem]

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def reversed(): Comparator[Elem]

Attributes

Inherited from:
Comparator
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: Elem <: <FromJavaObject>, _ <: U]): Comparator[Elem]

Attributes

Inherited from:
Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: Elem <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[Elem]

Attributes

Inherited from:
Comparator
def thenComparing(x$0: Comparator[_ >: Elem <: <FromJavaObject>]): Comparator[Elem]

Attributes

Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: Elem <: <FromJavaObject>]): Comparator[Elem]

Attributes

Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: Elem <: <FromJavaObject>]): Comparator[Elem]

Attributes

Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: Elem <: <FromJavaObject>]): Comparator[Elem]

Attributes

Inherited from:
Comparator
def tryCompare(x: Elem, y: Elem): Some[Int]

Attributes

Inherited from:
Ordering

Implicits

Inherited implicits

implicit def mkOrderingOps(lhs: Elem): OrderingOps

Attributes

Inherited from:
Ordering