PriorityQueue

final case class PriorityQueue[A, B](keys: GE[A], values: GE[B], size: I)(implicit ord: Ord[A]) extends SingleOut[B] with ProductWithAdjuncts

A sorting UGen that can be thought of as a bounded priority queue. It keeps all data in memory but limits the size to the top size items. By its nature, the UGen only starts outputting values once the input signal (keys) has finished.

Both inputs are "hot" and the queue filling ends when either of keys or values is finished.

Value parameters:
keys

the sorting keys; higher values mean higher priority

size

the maximum size of the priority queue.

values

the values corresponding with the keys and eventually output by the UGen. It is well possible to use the same signal both for keys and values.

Companion:
object
trait Serializable
trait ProductWithAdjuncts
trait SingleOut[B]
trait Lazy[B]
trait GE[B]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def adjuncts: List[Adjunct]
Definition Classes
ProductWithAdjuncts

Inherited methods

final def name: String
Inherited from:
UGenSource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product