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