public class MeasureProcessor extends Object
| Constructor and Description |
|---|
MeasureProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getCosts(String measureExpression,
double mappingSize)
Returns the approximation of the runtime for a certain expression.
|
static List<String> |
getMeasures(String expression)
Computes a list that contains all measures used in a given expression.
|
static double |
getSimilarity(Instance sourceInstance,
Instance targetInstance,
String expression,
double threshold,
String sourceVar,
String targetVar)
Returns similarity between two instances given a metric expression.
|
public static List<String> getMeasures(String expression)
expression, - The input metric expressionpublic static double getSimilarity(Instance sourceInstance, Instance targetInstance, String expression, double threshold, String sourceVar, String targetVar)
sourceInstance, - the source instancetargetInstance, - the target instanceexpression, - the metric expressionthreshold, - the thresholdsourceVar, - the source variabletargetVar, - the target variablepublic static double getCosts(String measureExpression, double mappingSize)
measureExpression, - The input metric expressionmappingSize, - The size of the mapping returned by the metric expressionCopyright © 2018. All rights reserved.