/** * Returns a {@code DataStream} of randomly sampled {@link DynamicAssignment}s. * @param nSequences an {@code int} that represents the number of sequences. * @param sequenceLength an {@code int} that represents the length of each sequence. * @return a {@code DataStream} of randomly sampled {@link DynamicAssignment}s. */ public DataStream<DynamicDataInstance> sampleToDataBase(int nSequences, int sequenceLength){ random = new Random(seed); return new TemporalDataStream(this,nSequences,sequenceLength); }