|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.result.LatticeOptimizer
public class LatticeOptimizer
Class used to collapse all equivalent paths in a Lattice. Results in a Lattices that is deterministic (no Node has Edges to two or more equivalent Nodes), and minimal (no Node has Edge from two or more equivalent Nodes).
Constructor Summary | |
---|---|
LatticeOptimizer(Lattice lattice)
Create a new Lattice optimizer |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Self test for LatticeOptimizer |
void |
optimize()
Code for optimizing Lattices. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LatticeOptimizer(Lattice lattice)
lattice
- Method Detail |
---|
public void optimize()
public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |