SpatialTemporalSignal

public class SpatialTemporalSignal<T> extends MfrSignal<T>

Offline spatio-temporal signal

Author

loreti

Inheritors

Constructors

Link copied to clipboard
public void SpatialTemporalSignal(int size)
Builds an `empty` spatio-temporal signal
public void SpatialTemporalSignal(int size, IntFunction<Signal<T>> f)
Requires f to be defined for all i

Properties

Link copied to clipboard
public final List<Signal<T>> signals

Functions

Link copied to clipboard
public void add(double t, Array<T> values)
public void add(double time, List<T> values)
public void add(double t, IntFunction<T> f)
Link copied to clipboard
public abstract STSignal<R> apply<R>(Function<T, R> f)
Link copied to clipboard
public MfrSignal<T> combine(BinaryOperator<T> f, STSignal<T> s, Array<int> locations)
Link copied to clipboard
public double end()
Link copied to clipboard
public void fill<R>(Array<double> timePoints, Array<Array<R>> data, Function<T, R> f)
Link copied to clipboard
public MfrSignal<T> filter(Predicate<T> p)
Link copied to clipboard
public Array<int> getLocationsSet()
Link copied to clipboard
public int getNumberOfLocations()
Link copied to clipboard
public Signal<T> getSignalAtLocation(int location)
Link copied to clipboard
public ParallelSignalCursor<T> getSignalCursor(boolean forward)
Link copied to clipboard
public List<Signal<T>> getSignals()
Link copied to clipboard
public Array<double> getTimeArray()
Link copied to clipboard
public T getValueAt(int location, double time)
Link copied to clipboard
public MfrSignal<R> selectApply<R>(Function<T, R> f, Array<int> filter)
Link copied to clipboard
public double start()
Link copied to clipboard
public Array<Array<Array<double>>> toArray(ToDoubleFunction<T> f)
Returns a 3d-array from a conversion-to-double function
Link copied to clipboard
public String toString()
Link copied to clipboard
public List<T> valuesAtT(double t)