OnlineSignal

public class OnlineSignal<D extends Comparable<D>> implements TimeSignal<T, V>

Class to represent 1-dimensional online time signals.

Constructors

Link copied to clipboard
public void OnlineSignal(SignalDomain<D> domain)
public void OnlineSignal(Box<D> defaultValue)

Properties

Link copied to clipboard
public final TimeChain<Double, Box<D>> segments

Functions

Link copied to clipboard
public abstract TimeChain<T, V> getSegments()
Returns the internal chain of segments.
Link copied to clipboard
public double getStart()
Link copied to clipboard
public V getValueAt(T time)
Link copied to clipboard
public boolean refine(TimeChain<Double, Box<D>> updates)
Performs an update of the internal representation of the signal, given the data available in the update.
public boolean refine(Update<Double, Box<D>> u)
Refines the current signal given the argument's update data by setting the signal value in the time interval: [u.getStart(), u.getEnd()).
Link copied to clipboard
public TimeChain<Double, Box<D>> select(Double from, Double to)
Temporal projection operation that selects a sub-part of the signal delimited by the time instants provided by the input parameters.
Link copied to clipboard
public String toString()