Mediator

class Mediator(winSz: Int)

Mediator is an auxiliary class for O(N log k) rolling median. It is inspired by AShelly's C99 implementation, which is (c) 2011 ashelly.myopenid.com and licensed under the MIT license: http://www.opensource.org/licenses/mit-license

Reference: http://stackoverflow.com/questions/5527437/rolling-median-in-c-turlach-implementation

class Object
trait Matchable
class Any

Value members

Concrete methods

def debug(): Unit
def median: Double
def pop(): Unit
def push(v: Double): Unit