public class WordDFIDFTimeSeries extends ConcreteTimeSeries<WordDFIDF,WordDFIDFTimeSeries> implements TimeSeriesArithmaticOperator<WordDFIDF,WordDFIDFTimeSeries>, DoubleTimeSeriesProvider, ReadWriteableASCII
Constructor and Description |
---|
WordDFIDFTimeSeries() |
Modifier and Type | Method and Description |
---|---|
String |
asciiHeader()
Header for ascii input.
|
DoubleTimeSeries |
doubleTimeSeries() |
WordDFIDFTimeSeries |
newInstance() |
void |
readASCII(Scanner in)
Read internal state from in.
|
WordDFIDF |
sum()
An explicit assumption is made that
WordDFIDF instances all come
from the same period of time and therefore have the same total number of
tweets and total number of word instances across time (i.e. |
void |
writeASCII(PrintWriter out)
Write the content of this as ascii to out.
|
WordDFIDF |
zero() |
add, get, get, get, get, getData, getTimes, internalAssign, internalAssign, internalAssign, iterator, newInstance, set, size, toString
convert, convert, copy, get, process, processInplace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public WordDFIDFTimeSeries()
public WordDFIDFTimeSeries newInstance()
newInstance
in class TimeSeries<WordDFIDF[],WordDFIDF,WordDFIDFTimeSeries>
public WordDFIDF zero()
zero
in interface TimeSeriesArithmaticOperator<WordDFIDF,WordDFIDFTimeSeries>
public WordDFIDF sum()
WordDFIDF
instances all come
from the same period of time and therefore have the same total number of
tweets and total number of word instances across time (i.e.
WordDFIDF.Ttf
and WordDFIDF.Twf
remain untouched)sum
in interface TimeSeriesArithmaticOperator<WordDFIDF,WordDFIDFTimeSeries>
public DoubleTimeSeries doubleTimeSeries()
doubleTimeSeries
in interface DoubleTimeSeriesProvider
public void readASCII(Scanner in) throws IOException
ReadableASCII
readASCII
in interface ReadableASCII
in
- source to read from.IOException
- an error reading inputpublic String asciiHeader()
ReadableASCII
asciiHeader
in interface ReadableASCII
asciiHeader
in interface WriteableASCII
public void writeASCII(PrintWriter out) throws IOException
WriteableASCII
writeASCII
in interface WriteableASCII
out
- sink to write toIOException
- an error writing to out