public class RTED_InfoTree_Opt extends Object
| Constructor and Description |
|---|
RTED_InfoTree_Opt(double delCost,
double insCost,
double matchCost)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
computeOptimalStrategy()
A method for computing and storing the optimal strategy
|
void |
init(LblTree t1,
LblTree t2)
Initialization method.
|
double |
nonNormalizedTreeDist() |
double |
nonNormalizedTreeDist(LblTree t1,
LblTree t2)
Computes the tree edit distance between trees t1 and t2.
|
void |
setCustomCosts(double costDel,
double costIns,
double costMatch) |
void |
setCustomStrategy(int[][] strategyArray) |
void |
setCustomStrategy(int strategy,
boolean ifSwitch) |
public RTED_InfoTree_Opt(double delCost,
double insCost,
double matchCost)
delCost - insCost - matchCost - public double nonNormalizedTreeDist(LblTree t1, LblTree t2)
t1 - t2 - public double nonNormalizedTreeDist()
public void computeOptimalStrategy()
public void setCustomCosts(double costDel,
double costIns,
double costMatch)
public void setCustomStrategy(int[][] strategyArray)
public void setCustomStrategy(int strategy,
boolean ifSwitch)
Copyright © 2007–2019. All rights reserved.