Class CoveredbyMapper

    • Constructor Detail

      • CoveredbyMapper

        public CoveredbyMapper()
    • Method Detail

      • getMapping

        public AMapping getMapping​(ACache source,
                                   ACache target,
                                   String sourceVar,
                                   String targetVar,
                                   String expression,
                                   double threshold)
        Description copied from interface: IMapper
        Returns a mapping given a source, a target knowledge base and a link specification.
        Specified by:
        getMapping in interface IMapper
        Parameters:
        source - source cache
        target - target cache
        sourceVar - source property variable
        targetVar - size property variable
        expression - metric expression of link specification
        threshold - threshold of link specification
        Returns:
        a mapping, the resulting mapping
      • getRuntimeApproximation

        public double getRuntimeApproximation​(int sourceSize,
                                              int targetSize,
                                              double theta,
                                              IMapper.Language language)
        Description copied from interface: IMapper
        Returns the estimated time needed to obtain the mapping computed by the mapper.
        Specified by:
        getRuntimeApproximation in interface IMapper
        Parameters:
        sourceSize - source size
        targetSize - target size
        theta - atomic specification threshold
        language - language of source and target variables
        Returns:
        estimated runtime, as double
      • getMappingSizeApproximation

        public double getMappingSizeApproximation​(int sourceSize,
                                                  int targetSize,
                                                  double theta,
                                                  IMapper.Language language)
        Description copied from interface: IMapper
        Returns the estimated mapping size of the mapping computed by the mapper.
        Specified by:
        getMappingSizeApproximation in interface IMapper
        Parameters:
        sourceSize - source size
        targetSize - target size
        theta - atomic specification threshold
        language - language of source and target variables
        Returns:
        estimated execution time, as double
      • getName

        public String getName()
        Description copied from interface: IMapper
        Returns the name of the mapper.
        Specified by:
        getName in interface IMapper
        Returns:
        Mapper name as a string