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, toStringconvert, convert, copy, get, process, processInplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic 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 DoubleTimeSeriesProviderpublic void readASCII(Scanner in) throws IOException
ReadableASCIIreadASCII in interface ReadableASCIIin - source to read from.IOException - an error reading inputpublic String asciiHeader()
ReadableASCIIasciiHeader in interface ReadableASCIIasciiHeader in interface WriteableASCIIpublic void writeASCII(PrintWriter out) throws IOException
WriteableASCIIwriteASCII in interface WriteableASCIIout - sink to write toIOException - an error writing to out