Package org.biojava.bio.dp
Class XmlMarkovModel
- java.lang.Object
-
- org.biojava.bio.dp.XmlMarkovModel
-
public class XmlMarkovModel extends Object
- Author:
- Matthew Pocock, Thomas Down, Samiul Hasan
-
-
Constructor Summary
Constructors Constructor Description XmlMarkovModel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WeightMatrix
readMatrix(Element root)
static MarkovModel
readModel(Element root)
static void
writeMatrix(WeightMatrix matrix, PrintStream out)
static void
writeModel(MarkovModel model, PrintStream out)
-
-
-
Constructor Detail
-
XmlMarkovModel
public XmlMarkovModel()
-
-
Method Detail
-
readMatrix
public static WeightMatrix readMatrix(Element root) throws IllegalSymbolException, IllegalAlphabetException, BioException
-
readModel
public static MarkovModel readModel(Element root) throws BioException, IllegalSymbolException, IllegalAlphabetException
-
writeMatrix
public static void writeMatrix(WeightMatrix matrix, PrintStream out) throws Exception
- Throws:
Exception
-
writeModel
public static void writeModel(MarkovModel model, PrintStream out) throws Exception
- Throws:
Exception
-
-