Class TemporalMeasure
- java.lang.Object
-
- org.aksw.limes.core.measures.measure.AMeasure
-
- org.aksw.limes.core.measures.measure.temporal.TemporalMeasure
-
- All Implemented Interfaces:
IMeasure,ITemporalMeasure
- Direct Known Subclasses:
AfterMeasure,BeforeMeasure,ConcurrentMeasure,DuringMeasure,DuringReverseMeasure,EqualsMeasure,FinishesMeasure,IsFinishedByMeasure,IsMetByMeasure,IsOverlappedByMeasure,IsStartedByMeasure,MeetsMeasure,OverlapsMeasure,PredecessorMeasure,StartsMeasure,SuccessorMeasure
public abstract class TemporalMeasure extends AMeasure implements ITemporalMeasure
Implements the temporal measure abstract class.- Version:
- 1.0
- Author:
- Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description TemporalMeasure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFirstProperty(String expression)Extract first property (beginDate) from metric expression.StringgetSecondProperty(String expression)Extract second property (endDate or machineID) from metric expression.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.limes.core.measures.measure.IMeasure
getName, getRuntimeApproximation, getSimilarity, getSimilarity, getType
-
-
-
-
Method Detail
-
getFirstProperty
public String getFirstProperty(String expression) throws IllegalArgumentException
Extract first property (beginDate) from metric expression.- Parameters:
expression- , metric expression- Returns:
- first property of metric expression as string
- Throws:
IllegalArgumentException
-
getSecondProperty
public String getSecondProperty(String expression) throws IllegalArgumentException
Extract second property (endDate or machineID) from metric expression.- Parameters:
expression- , the metric expression- Returns:
- second property of metric expression as string
- Throws:
IllegalArgumentException
-
-