Package org.aksw.limes.core.io.ls
Class ExtendedLinkSpecification
- java.lang.Object
-
- org.aksw.limes.core.io.ls.LinkSpecification
-
- org.aksw.limes.core.io.ls.ExtendedLinkSpecification
-
- All Implemented Interfaces:
ILinkSpecification,Clonable<ILinkSpecification>
public class ExtendedLinkSpecification extends LinkSpecification
- Version:
- Jul 12, 2016
- Author:
- Mohamed Sherif (sherif@informatik.uni-leipzig.de)
-
-
Field Summary
-
Fields inherited from class org.aksw.limes.core.io.ls.LinkSpecification
ADD, AND, atomicMeasure, children, dependencies, filterExpression, fullExpression, MAX, MIN, MINUS, operator, OR, parent, prop1, prop2, quality, threshold, treePath, XOR
-
-
Constructor Summary
Constructors Constructor Description ExtendedLinkSpecification()ExtendedLinkSpecification(String measure, double threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadSpec(String spec, double theta)Reads a link specification expression into its canonical form Don't forget to optimize the filters by checking (if threshold_left and threshold_right grater than or equals to theta, then theta equals 0)-
Methods inherited from class org.aksw.limes.core.io.ls.LinkSpecification
addChild, addDependency, clone, compareTo, containsRedundantProperties, equals, getAllLeaves, getAtomicMeasure, getChildren, getDependencies, getDepth, getFilterExpression, getFullExpression, getLowThreshold, getMeasure, getOperator, getParent, getProperty1, getProperty2, getQuality, getShortendFilterExpression, getThreshold, getTreePath, hasDependencies, hashCode, isAtomic, isEmpty, isRoot, pathOfAtomic, removeDependency, setAtomicFilterExpression, setAtomicMeasure, setChildren, setDependencies, setFullExpression, setLeaf, setLowThreshold, setOperator, setParent, setQuality, setThreshold, setTreePath, size, toString, toStringOneLine, toStringPretty
-
-
-
-
Constructor Detail
-
ExtendedLinkSpecification
public ExtendedLinkSpecification()
-
ExtendedLinkSpecification
public ExtendedLinkSpecification(String measure, double threshold)
-
-
Method Detail
-
readSpec
public void readSpec(String spec, double theta)
Reads a link specification expression into its canonical form Don't forget to optimize the filters by checking (if threshold_left and threshold_right grater than or equals to theta, then theta equals 0)- Overrides:
readSpecin classLinkSpecification- Parameters:
spec- Spec expression to readtheta- Global threshold
-
-