View Javadoc

1   package net.obsearch.example.ted;
2   
3   
4   
5   
6   public interface TED {
7   	
8   	public int DeleteCost = 1;
9   	
10  	public int RenameCost = 1;
11  	
12  	public  int ted(SliceForest a, SliceForest b) throws Exception;
13  	
14  	/**
15  	 * This ted is used for those implementors who can work directly on the tree
16  	 * (those who don't need the definition of sliceForest
17  	 * @param a
18  	 * @param b
19  	 * @return
20  	 * @throws Exception
21  	 */
22  	public int tedSliceAST(SliceAST a, SliceAST b) throws Exception;
23  
24  }