Package | Description |
---|---|
ch.agent.t2.timeseries |
Defines and implements time series.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TimeIndexable<T>
A TimeIndexable is a
TimeAddressable where the range size can be
stored in a 32 bit integer, and with a value for all time units in the
range. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTimeSeries<T>
AbstractTimeseries is the basis for
RegularTimeSeries and SparseTimeSeries . |
class |
RegularTimeSeries<T>
RegularTimeSeries implements
TimeIndexable . |
class |
SparseTimeSeries<T>
SparseTimeSeries implements
TimeAddressable . |
Modifier and Type | Method and Description |
---|---|
TimeAddressable<T> |
AbstractTimeSeries.copy() |
TimeAddressable<T> |
TimeAddressable.copy()
Return a copy of the time series.
|
abstract TimeAddressable<T> |
AbstractTimeSeries.get(long first,
long last) |
TimeAddressable<T> |
RegularTimeSeries.get(long first,
long last) |
TimeAddressable<T> |
SparseTimeSeries.get(long first,
long last) |
TimeAddressable<T> |
TimeAddressable.get(long first,
long last)
Return a new time series corresponding to the range between two numerical time indexes.
|
TimeAddressable<T> |
RegularTimeSeries.get(Range range) |
TimeAddressable<T> |
SparseTimeSeries.get(Range range) |
TimeAddressable<T> |
TimeAddressable.get(Range range)
Return a time series constructed from the given range of this series.
|
static <X> TimeAddressable<X> |
AbstractTimeSeries.make(Class<X> type,
TimeDomain domain,
boolean forceSparse)
Construct a time series of the type and domain specified.
|
TimeAddressable<T> |
SparseTimeSeries.makeEmptyCopy() |
TimeAddressable<T> |
TimeAddressable.makeEmptyCopy()
Make a copy of the time series but without the values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UpdateReviewer.accept(TimeAddressable<T> series,
long index,
T newValue)
Returns true if the new value is acceptable as a replacement for the old one.
|
protected int |
AbstractTimeSeries.accept(TimeAddressable<T> updates,
UpdateReviewer<T> reviewer)
Return the number of updates rejected by the reviewer.
|
void |
AbstractTimeSeries.put(TimeAddressable<T> values,
UpdateReviewer<T> reviewer) |
void |
RegularTimeSeries.put(TimeAddressable<T> values,
UpdateReviewer<T> reviewer) |
void |
TimeAddressable.put(TimeAddressable<T> values,
UpdateReviewer<T> reviewer)
Conditionally put all values from another time series into this time series.
|
Copyright © 2017. All rights reserved.