be.ac.ulg.montefiore.run.jahmm.io
Class HmmWriter

java.lang.Object
  extended by be.ac.ulg.montefiore.run.jahmm.io.HmmWriter

public class HmmWriter
extends java.lang.Object

Writes a HMM to a text file compatible with HmmReader.


Constructor Summary
HmmWriter()
           
 
Method Summary
static
<O extends Observation>
void
write(java.io.Writer writer, OpdfWriter<? extends Opdf<O>> opdfWriter, Hmm<O> hmm)
          Writes a HMM description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HmmWriter

public HmmWriter()
Method Detail

write

public static <O extends Observation> void write(java.io.Writer writer,
                                                 OpdfWriter<? extends Opdf<O>> opdfWriter,
                                                 Hmm<O> hmm)
                  throws java.io.IOException
Writes a HMM description.

Parameters:
writer - The writer to write the HMM to.
opdfWriter - The writer used to convert the observation's distributions of the HMMs.
hmm - The HMM to write.
Throws:
java.io.IOException


Copyright © 2004,2005 Jean-Marc François.