org.biojava.bio.dp.twohead
Class DPCompiler
java.lang.Object
org.biojava.bio.dp.twohead.DPCompiler
- All Implemented Interfaces:
- CellCalculatorFactoryMaker
public class DPCompiler
- extends java.lang.Object
- implements CellCalculatorFactoryMaker
This is an implementation of CellCalculatorFactoryMaker that compiles the
HMM object down to Java byte-code that is equivalent in behaviour to the
interpreter.
- Since:
- 1.1
- Author:
- Matthew Pocock, Greg Cox
Constructor Summary |
DPCompiler(boolean dumpToDisk)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DPCompiler
public DPCompiler(boolean dumpToDisk)
make
public CellCalculatorFactory make(DP dp)
- Specified by:
make
in interface CellCalculatorFactoryMaker
makeName
public static java.lang.String makeName(java.lang.String prefix,
MarkovModel model)
generateForardClass
public java.lang.Class generateForardClass(DP dp)
generateBackwardClass
public java.lang.Class generateBackwardClass(DP dp)
generateViterbiClass
public java.lang.Class generateViterbiClass(DP dp)