public class TreeEditionMatrix
extends java.lang.Object
Constructor and Description |
---|
TreeEditionMatrix(Tree tree,
Tree reference,
int max_cost)
Creates a TreeEditionMatrix where tree should be correct with reference.
|
public TreeEditionMatrix(Tree tree, Tree reference, int max_cost)
tree
- Tree to correctreference
- Tree to use as correctionmax_cost
- Maximal cost of the correctionpublic Result compare() throws headerNodeException, badAddressException, noNodeException, badOperationException
headerNodeException
badAddressException
noNodeException
badOperationException
public Matrix<Cell> getMatrix()
public java.lang.String toString()
toString
in class java.lang.Object