object TimeSeriesMerger
- Alphabetic
 - By Inheritance
 
- TimeSeriesMerger
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##(): Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def finalize(): Unit
- Attributes
 - protected[java.lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable])
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    def mergeEntries[A, B, C](a: Seq[TSEntry[A]], b: Seq[TSEntry[B]], compress: Boolean = true)(op: (Option[A], Option[B]) => Option[C]): Seq[TSEntry[C]]
Merge two time series together, using the provided merge operator.
Merge two time series together, using the provided merge operator.
The passed TSEntry sequences will be merged according to the merge operator, which will always be applied to one of the following:
- two defined TSEntries with exactly the same domain of definition
 - a defined entry from A and None from B
 - a defined entry from B and None from A
 - No defined entry from A nor B.
 
Overlapping TSEntries in the sequences a and b are trimmed to fit one of the aforementioned cases before being passed to the merge function.
For example,
- if 'x' and '-' respectively represent the undefined and defined parts of a TSEntry
 - '|' delimits the moment on the time axis where a change in definition occurs either in the present entry or in the one with which it is currently being merged
 - 'result' is the sequence resulting from the merge
 
We apply the merge function in the following way:
a_i: xxx|---|---|xxx|xxx b_j: xxx|xxx|---|---|xxx
result: (1) (2) (3) (4) (5)
(1),(5) : op(None, None) (2) : op(Some(a_i.value), None) (3) : op(Some(a_i.value), Some(b_j.value)) (4) : op(None, Some(b_j.value))
Assumes a and b to be ORDERED!
- compress
 specifies whether the entries should be validated and compressed by a TSEntryFitter. This should only be omitted if the entries will be passed to a TimeSeriesBuilder subsequently.
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()