Class CobaltDiagonalEqualsMapper
- java.lang.Object
-
- org.aksw.limes.core.measures.mapper.AMapper
-
- org.aksw.limes.core.measures.mapper.topology.cobalt.diagonal.CobaltDiagonalEqualsMapper
-
- All Implemented Interfaces:
IMapper,ITopologicRelationMapper
public class CobaltDiagonalEqualsMapper extends AMapper implements ITopologicRelationMapper
Mapper that checks for the topological relation equals using cobalts diagonal function.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aksw.limes.core.measures.mapper.IMapper
IMapper.Language
-
-
Constructor Summary
Constructors Constructor Description CobaltDiagonalEqualsMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AMappinggetMapping(Set<Polygon> sourceData, Set<Polygon> targetData)AMappinggetMapping(ACache source, ACache target, String sourceVar, String targetVar, String expression, double threshold)Returns a mapping given a source, a target knowledge base and a link specification.doublegetMappingSizeApproximation(int sourceSize, int targetSize, double theta, IMapper.Language language)Returns the estimated mapping size of the mapping computed by the mapper.StringgetName()Returns the name of the mapper.doublegetRuntimeApproximation(int sourceSize, int targetSize, double theta, IMapper.Language language)Returns the estimated time needed to obtain the mapping computed by the mapper.-
Methods inherited from class org.aksw.limes.core.measures.mapper.AMapper
getUriToUriMapping, getUriToUriMapping, getValueToUriMap, setNo
-
-
-
-
Method Detail
-
getMapping
public AMapping getMapping(Set<Polygon> sourceData, Set<Polygon> targetData)
- Specified by:
getMappingin interfaceITopologicRelationMapper
-
getMapping
public AMapping getMapping(ACache source, ACache target, String sourceVar, String targetVar, String expression, double threshold)
Description copied from interface:IMapperReturns a mapping given a source, a target knowledge base and a link specification.- Specified by:
getMappingin interfaceIMapper- Parameters:
source- source cachetarget- target cachesourceVar- source property variabletargetVar- size property variableexpression- metric expression of link specificationthreshold- 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:IMapperReturns the estimated time needed to obtain the mapping computed by the mapper.- Specified by:
getRuntimeApproximationin interfaceIMapper- Parameters:
sourceSize- source sizetargetSize- target sizetheta- atomic specification thresholdlanguage- 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:IMapperReturns the estimated mapping size of the mapping computed by the mapper.- Specified by:
getMappingSizeApproximationin interfaceIMapper- Parameters:
sourceSize- source sizetargetSize- target sizetheta- atomic specification thresholdlanguage- language of source and target variables- Returns:
- estimated execution time, as double
-
-