be.ac.ulg.montefiore.run.jahmm.io
Class ObservationSequencesWriter
java.lang.Object
be.ac.ulg.montefiore.run.jahmm.io.ObservationSequencesWriter
public class ObservationSequencesWriter
- extends java.lang.Object
This class can write a set of observation sequences to a
Writer
.
The sequences written using this file can be read using the
ObservationSequencesReader
class.
Method Summary |
static
|
write(java.io.Writer writer,
ObservationWriter<? super O> ow,
java.util.List<? extends java.util.List<O>> sequences)
Writes a set of sequences to file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObservationSequencesWriter
public ObservationSequencesWriter()
write
public static <O extends Observation> void write(java.io.Writer writer,
ObservationWriter<? super O> ow,
java.util.List<? extends java.util.List<O>> sequences)
throws java.io.IOException
- Writes a set of sequences to file.
- Parameters:
writer
- The writer to write to. It should use the "US-ASCII"
character set.ow
- The observation writer used to generate the observations.sequences
- The set of observation sequences.
- Throws:
java.io.IOException
Copyright © 2004,2005
Jean-Marc François.