public class CostFunctionImpl extends CostStrategyAbstract
csConfig, STRUCTURE_MAX_FLAT
Constructor and Description |
---|
CostFunctionImpl() |
Modifier and Type | Method and Description |
---|---|
int |
getCost(ENode source,
ENode target,
MatchMapping mapping) |
int |
getCostNoMatch(ENode n,
MatchMapping mapping) |
java.lang.String |
toString() |
getCostConfiguration, getTotalCost, getWeightedCostNoMatch, getWeightedCostOfGlobalStructure, getWeightedCostofMatchedPair, setCostConfiguration
public java.lang.String toString()
toString
in class java.lang.Object
public int getCost(ENode source, ENode target, MatchMapping mapping)
getCost
in class CostStrategyAbstract
public int getCostNoMatch(ENode n, MatchMapping mapping)
getCostNoMatch
in class CostStrategyAbstract