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

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

public class HmmBinaryWriter
extends java.lang.Object

This class can write a Hidden Markov Models to a byte stream.

The HMM objects are simply serialized. HMMs could thus be unreadable using a different release of this library.


Constructor Summary
HmmBinaryWriter()
           
 
Method Summary
static void write(java.io.OutputStream stream, Hmm<?> hmm)
          Writes a HMM to byte stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HmmBinaryWriter

public HmmBinaryWriter()
Method Detail

write

public static void write(java.io.OutputStream stream,
                         Hmm<?> hmm)
                  throws java.io.IOException
Writes a HMM to byte stream.

Parameters:
stream - Holds the byte stream the HMM is written to.
Throws:
java.io.IOException


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