Class SuccessorMeasure

  • All Implemented Interfaces:
    IMeasure, ITemporalMeasure

    public class SuccessorMeasure
    extends TemporalMeasure
    Implements the temporal successor measure class.
    Version:
    1.0
    Author:
    Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
    • Constructor Detail

      • SuccessorMeasure

        public SuccessorMeasure()
    • Method Detail

      • getSimilarity

        public double getSimilarity​(Object object1,
                                    Object object2)
        Returns the similarity between two objects.
        Parameters:
        object1 - , the source object
        object2 - , the target object
        Returns:
        The similarity of the objects
      • getSimilarity

        public double getSimilarity​(Instance instance1,
                                    Instance instance2,
                                    String property1,
                                    String property2)
        Returns the similarity between two instances given their begin dates. If the first instance has lower begin date than the begin date of the second instance then their similarity is 1 and 0 otherwise.
        Parameters:
        instance1 - , the source instance
        instance2 - , the target instance
        property1 - , the source property
        property2 - , the target property
        Returns:
        The similarity of the instances
      • getRuntimeApproximation

        public double getRuntimeApproximation​(double mappingSize)
        Returns the runtime approximation of a measure.
        Parameters:
        mappingSize - , the mapping size returned by the measure
        Returns:
        The runtime of the measure
      • getName

        public String getName()
        Returns name of a measure.
        Returns:
        Measure name as a string
      • getType

        public String getType()
        Returns type of a measure.
        Returns:
        The runtime of the measure